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

Cannot execute the flow graph in gnuradio-companion #166

Open
gerd0355 opened this issue Dec 17, 2023 · 3 comments
Open

Cannot execute the flow graph in gnuradio-companion #166

gerd0355 opened this issue Dec 17, 2023 · 3 comments

Comments

@gerd0355
Copy link

I have tried to install the software for cariboulite as described in "installation.md". It works very well. The tests like cariboulite_test_app and SoapySDRUtils were also successful.

Next I have modified the the file 'fm_radio_receiver_soapy.grc' as shown in 'foto1.png'. After generating the flow graph and executing it, I got the following error message.

Generating: '/home/pi/cariboulite/software/gr-cariboulite/examples/grc/fm_radio_receiver_soapy.py'

Executing: /usr/bin/python3 -u /home/pi/cariboulite/software/gr-cariboulite/examples/grc/fm_radio_receiver_soapy.py

Warning: failed to XInitThreads()
Traceback (most recent call last):
File "/home/pi/cariboulite/software/gr-cariboulite/examples/grc/fm_radio_receiver_soapy.py", line 37, in
from gnuradio import soapy
ImportError: cannot import name 'soapy' from 'gnuradio' (/usr/lib/python3/dist-packages/gnuradio/init.py)

Done (return code 1)

What can I do?
foto1

@righthalfplane
Copy link

That error means that the python soapy routines have not been installed correctly. Make sure gnuradio and the soapy routines are using the same version of python. You can try removing and reinstalling the SoapSDR routines or perhaps installing gr-soapy will work. Where is the "installation.md" file ?

@righthalfplane
Copy link

righthalfplane commented Jan 7, 2024

installing gr-soapy got rid of that problem for me.

sudo apt-get update
sudo ap-get upgrade
sudo apt-get install gr-soapy

@gerd0355
Copy link
Author

gerd0355 commented Jan 7, 2024

Thank you for this info. I will tried it.
You will find the "installations.md" at the menupoint "Code" in the second to last line.

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