Closed willcummings466 closed 3 years ago
I figured it out! Thanks to this post: https://lists.gnu.org/archive/html/discuss-gnuradio/2017-01/msg00329.html
I apparently had multiple installations of gnuradio. I'm not sure how that happened. I think (but I'm not sure) that there is a problem with using "sudo apt install gqrx-sdr", so instead I removed gnuradio and reinstalled with pybombs.
As per the post mentioned above, I used the following commands to find all the gnuradio components I'd installed:
apt list --installed | grep gnuradio apt list --installed | grep sdr apt list --installed | grep osmo apt list --installed | grep soapy
and then uninstalled the components I found using commands like this:
sudo apt-get remove --purge libgnuradio sudo apt-get remove --purge soapyosmo sudo apt-get remove --purge libsoapy sudo apt-get remove --purge libosmosdr sudo apt-get remove --purge libmirisdr0 sudo apt-get remove --purge libmirisdr0 sudo apt-get remove --purge librtlsdr sudo apt-get remove --purge libsoapysdr0
Then I installed pybombs (see https://github.com/gnuradio/pybombs) and reinstalled installed gnuradio
sudo apt-get install python3-pip sudo pip3 install pybombs pybombs auto-config pybombs recipes add-defaults pybombs prefix init ~/prefix-3.8 -R gnuradio-default source ~/prefix-3.8/setup_env.sh
Finally I installed gr-osmosdr:
pybombs install gr-osmosdr
Then I invoked GRC:
gnuradio-companion
And by gosh I could pick up my favorite local FM radio station!
Steps to reproduce
Expected behaviour
This works when running gnuradio 3.8 in Pentoo from USB dongle. The FFT plot comes up and shows the local radio stations. I expected it to work the same way when running gnuradio 3.8 in Ubuntu 20.04.1
Actual behaviour
When running gnuradio 3.8 in Ubuntu 20.04.1, I get the following error:
RuntimeError: list contains invalid format!
Note: The command "hackrf_transfer -r /dev/null" works as expected.
Version information
Operating system: Ubuntu 20.04.1
hackrf_info output: hackrf_info version: unknown libhackrf version: unknown (0.5) Found HackRF Index: 0 Serial number: 0000000000000000088869dc35a1531b Board ID Number: 2 (HackRF One) Firmware Version: 2018.01.1 (API:1.02) Part ID Number: 0xa000cb3c 0x00584358
If you are reporting a problem that involves third party software (GNU Radio, Gqrx, etc), please report the version here. gnu radio 3.8
Output