Skip to content
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

Ettus E313 SDR module' object has no attribute ‘demod' #38

Open
themightykay opened this issue Feb 25, 2019 · 1 comment
Open

Ettus E313 SDR module' object has no attribute ‘demod' #38

themightykay opened this issue Feb 25, 2019 · 1 comment

Comments

@themightykay
Copy link

Hello!

I am trying to install the module on my Ettus E313 - embedded SDR with AMR Cortex A9. The OS seems to be a custom flavour of Debian. I follow the instructions given here and I set my system paths as

export LD_LIBRARY_PATH=/gr-lora/lib:$LD_LIBRARY_PATH
export CPATH=/gr-lora/include:$CPATH
export PYTHONPATH=/usr/local/lib/python2.7/site-packages:/gr-lora/lib/python2.7/site-packages:$PYTHONPATH
export GRC_BLOCKS_PATH=/gr-lora/share/gnuradio/grc/blocks:$GRC_BLOCKS_PATH

The error I get in grc is
File "/home/root/grc_programs/Kyp/433_LoRa/I433_LoRa_scan.py", line 86, in init
self.lora_demod_0_0 = lora.demod(spreading_factor, ldr, 25.0, 2)
AttributeError: 'module' object has no attribute ‘demod'

Any help is appreciated. I have tried all the suggestions in #12 and #11 . Another thing to note is that when I run the ldconfig command at the end of the process I get /usr/lib/libstdc++.so.6.0.20-gdb.py is not an ELF file - it has the wrong magic bytes at the start.

Any help is appreciated. Please let me know if you require more information.

@phildubach
Copy link

Regarding the missing attribute 'demod': I had the same problem, which was easily fixed by installing swig before building gr-lora (sudo apt install swig). Unfortunately, the build appears to work without swig, but the result is not functional. See also: #20, which has a one word fix that's not yet merged due to contributor license issues, :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants