Can you share resources you have used or are aware of for troubleshooting issues with GNURadio software installation on Ubuntu?
I am receiving error messages when I try to use a Audio Source or Audio Sink block? My goal was to test the GNURadio installation using a audio source and audio sink block and/or Signal Source and Audio sink blocks and have it play a tone from the computer speaker. I have followed the suggested fixes in the following link because they make some reference to Audio. It didn't resolve my issue.
https://wiki.gnuradio.org/index.php/ALSAPulseAudio
https://wiki.gnuradio.org/index.php/Audio_Source
https://wiki.gnuradio.org/index.php/Audio_Sink
The environment:
tried
GNURadio version 3.8.1.0 (Python 3.8.5): Ubuntu package install
tried
GNURadio version 3.9 Ubuntu package install
Ubuntu 20.04.2 LTS
uname -r 5.8.0-43-generic
I have been unsuccessful in getting a response from the mailing GNURadio list https://lists.gnu.org/mailman/listinfo/discuss-gnuradio so I can post a question. IT appears to be active but I get no response from my subscription attempts. I had hoped someone has experienced a similar problem and can offer advice.
I'm looking for your go-to resource for troubleshooting GNURadio issues. Can you help?
Error Messages:
Audio Source error
Generating: '/home/user/Documents/GNURadio/audio.py'
Executing: /usr/bin/python3 -u /home/user/Documents/GNURadio/audio.py
Warning: failed to XInitThreads()
Traceback (most recent call last):
File "/home/user/Documents/GNURadio/audio.py", line 128, in <module>
main()
File "/home/user/Documents/GNURadio/audio.py", line 106, in main
tb = top_block_cls()
File "/home/user/Documents/GNURadio/audio.py", line 76, in __init__
self.audio_source_0 = audio.source(samp_rate, 'pulse_monitor', True)
AttributeError: type object 'audio' has no attribute 'source'
>>> Done (return code 1)
Audio Sink error
Generating: '/home/user/Documents/GNURadio/audio.py'
Executing: /usr/bin/python3 -u /home/user/Documents/GNURadio/audio.py
Warning: failed to XInitThreads()
Traceback (most recent call last):
File "/home/user/Documents/GNURadio/audio.py", line 130, in <module>
main()
File "/home/user/Documents/GNURadio/audio.py", line 108, in main
tb = top_block_cls()
File "/home/user/Documents/GNURadio/audio.py", line 77, in __init__
self.audio_sink_0 = audio.sink(samp_rate, 'hw:0,0', True)
AttributeError: type object 'audio' has no attribute 'sink'
>>> Done (return code 1)