Hello, all! I’m running Gnu Radio Companion on both a desktop system and a laptop, both with Linux Mint 19.2. I have several RTL-based SDRs, and after loading the appropriate packages from the repository, I have no problems using them from GRC. HOWEVER, once I load the Limesuite GR-plugin, the RTL-SDRs will no longer work with GRC. I get the following message when I attempt to run a GRC flowgraph (any flow graph) with one of the RTL-SDRs:
Warning: failed to XInitThreads()
Traceback (most recent call last):
File “/home/gary/gnuradio/rtlTest.py”, line 30, in
File “/usr/lib/python2.7/dist-packages/osmosdr/init.py”, line 26, in
from osmosdr_swig import *
File “/usr/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py”, line 17, in
_osmosdr_swig = swig_import_helper()
File “/usr/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py”, line 16, in swig_import_helper
File “/usr/lib/python2.7/importlib/init.py”, line 37, in import_module
ImportError: No module named _osmosdr_swig
Done (return code 1)
Here’s what I’ve tried to fix the problem (all unsuccessful):
- Reloaded the OS, then reloaded only the GRC plug-ins (thought maybe some other program caused the problem)
- Uninstalled and reinstalled the Osmocom plug-ins from the repository.
- Uninstalled and reinstalled the osmocom plug-ins from source.
- Uninstalled both Limesuite and osmocom plug-ins, then reinstalled in different order (osmocom, then Limesuite, Limesuite, then osmocom).
NOTE: Limesuite always works; its just the osmocom that is broken. I’ve left the laptop without Limesuite so that I can still use my RTL-SDRs, but I’d really like to understand and fix this problem.
Any ideas are welcome.