-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
outernet_rtlsdr.grc: AttributeError: 'module' object has no attribute 'swap_ff' #1
Comments
Hi Pavel, I think that this is a problem with SWIG in Ubuntu 16.04. I've several people with this problem in many other out-of-tree modules. I don't have a proper solution and I don't have Ubuntu to try to replicate the problem. However, some advice: look very closely to all the output of Closing this, as it is not an specific problem with gr-outernet, but rather a problem with your particular distribution/GNU Radio/SWIG installation. In any case, this thread can still be used for further troubleshooting. |
Yo are absolutely right, my cmake command tell me this: ===== cmake output fragment ========= So I'm looking for the latest swig for independent compilation to see if it works that way, will report results here. Saludos desde Cuba. |
I found a solution to this, please update the README.md about it. For Ubuntu 16.04 LTS user the must install swig 3.0 from the repo, as easy as that. sudo apt install swig swig3.0 Compiling the sources in the github swig repo works also, but the repo solution is easier. 73 CO7WT. |
I have just updated the README to include some information about this problem and its solution. |
Hi Dani, good work on this.
But I have problem here, I'm running over a Ubuntu 16.04 LTS with updated (today) repo and code from you gr-kiss / gr-outernet / free-outernet and dependencies...
When I open the outernet_rtlsdr.grc file all looks good and when I hit run an error came, log of grc is pasted below, I would appreciate any comments/help on this.
73 de CO7WT, Pavel.
===== grc log ==========================================
<<< Welcome to GNU Radio Companion 3.7.9 >>>
Preferences file: /home/pavel/.gnuradio/grc.conf
Block paths:
/usr/local/share/gnuradio/grc/blocks
/usr/share/gnuradio/grc/blocks
/home/pavel/.grc_gnuradio
Loading: "/home/pavel/Documentos/Software/Github/gr-outernet/examples/outernet-rtlsdr.grc"
Showing: "/home/pavel/Documentos/Software/Github/gr-outernet/examples/outernet-rtlsdr.grc"
Generating: '/home/pavel/Documentos/Software/Github/gr-outernet/examples/outernet_rtlsdr.py'
Executing: /usr/bin/python -u /home/pavel/Documentos/Software/Github/gr-outernet/examples/outernet_rtlsdr.py
linux; GNU C++ version 5.3.1 20151219; Boost_105800; UHD_003.009.002-0-unknown
gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.9
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy redpitaya
Using device #0 Realtek RTL2838UHIDIR
Found Elonics E4000 tuner
Using Volk machine: avx2_64_mmx_orc
Traceback (most recent call last):
File "/home/pavel/Documentos/Software/Github/gr-outernet/examples/outernet_rtlsdr.py", line 438, in
main()
File "/home/pavel/Documentos/Software/Github/gr-outernet/examples/outernet_rtlsdr.py", line 426, in main
tb = top_block_cls()
File "/home/pavel/Documentos/Software/Github/gr-outernet/examples/outernet_rtlsdr.py", line 233, in init
self.outernet_swap_ff_1 = outernet.swap_ff()
AttributeError: 'module' object has no attribute 'swap_ff'
The text was updated successfully, but these errors were encountered: