I have tried it with repository hamradio and it failed too.
When I place both blocks on a diagram (I can even play the diagram), GRC crash.
When I open it again this is the log:
fernando@andromeda:~> gnuradio-companion
Warning: restarting the docstring loader (crashed while loading 'osmosdr_sink')
Warning: restarting the docstring loader (crashed while loading 'osmosdr_source')
/usr/lib64/python2.7/site-packages/gnuradio/grc/gui/BlockTreeWindow.py:102: GtkWarning: Theme directory base/ of theme oxygen has no size field
self.search_entry.set_icon_from_stock(gtk.ENTRY_ICON_PRIMARY, gtk.STOCK_FIND)
<<< Welcome to GNU Radio Companion 3.7.11 >>>
Block paths:
/home/fernando/.grc_gnuradio
/usr/share/gnuradio/grc/blocks
Warning: restarting the docstring loader (crashed while loading 'uhd_amsg_source')
Warning: restarting the docstring loader (crashed while loading 'uhd_usrp_sink')
Warning: restarting the docstring loader (crashed while loading 'uhd_usrp_source')
Warning: docstring loader crashed too often
It works fine in Opensuse 42.1, but the it is from the Opensuse repository. In 42.2 gnuradio is not anymore in the opensuse repo.
I am not a Ham radio operator at all but I am fascinated by the hobby. I installed the software package on a fresh openSUSE Leap 42.2 install and it seems to start up fine. I played around with it a bit but I don’t know what I’m doing with it. I threw some blocks on and hit a few buttons got some “you don’t know what you are doing” errors but no program crashes.
The best I can say at this point is, try to completely uninstall everything and try to resinstall. There might be a version mismatch between the different ham repositories you used.
I suspect the docstring loader is the source of the issue as I do not get any errors relating to docstring when I start the program.
If you have any input, feel free to contact me directly: futureboy@opensuse.org or thru the “private message” here in the forums. As you can see, it is filled with knowledge gaps and I would like to make this a great landing page for openSUSE Hams to go to get the needed information to get started. After much web browsing, I feel like there is a need for a good on-ramping place.
Truth be told, when I do finally get in the hobby, I want all the resources right there ready to go for me.
This also leads me to believe that there may be issues with the change of media sources.
I have tried it and I got a error with python
fernando@andromeda:~> python -c 'import osmosdr'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/osmosdr/__init__.py", line 26, in <module>
from osmosdr_swig import *
File "/usr/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py", line 21, in <module>
_osmosdr_swig = swig_import_helper()
File "/usr/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py", line 20, in swig_import_helper
return importlib.import_module('_osmosdr_swig')
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named _osmosdr_swig
fernando@andromeda:~> python -c 'import osmosdr'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/osmosdr/__init__.py", line 26, in <module>
from osmosdr_swig import *
File "/usr/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py", line 21, in <module>
_osmosdr_swig = swig_import_helper()
File "/usr/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py", line 20, in swig_import_helper
return importlib.import_module('_osmosdr_swig')
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named _osmosdr_swig
fernando@andromeda:~>
Seems something related to the osmosdr package
I can only make suggestion but try this: remove the repository home:dl8fcl:branches:hamradio
Install this repository:
sudo zypper --gpg-auto-import-keys ar -f http://download.opensuse.org/repositories/hamradio/openSUSE_Leap_42.2/ Hamradio
sudo zypper ref
Then run this to update everything that would be Hamradio related to that repository:
sudo zypper dup --from Hamradio
I hope that helps.
zypper dup makes me shiver, I’ll try it as last option, although maybe is a problem of mixing things, The 42.1 installation that works fine for me is a fresh one, the 42.2 install that does not work is an upgrade from 13.1
On a side note, I am trying to better document all things to do with Ham radio on the openSUSE wiki.
If you have any input, feel free to contact me directly: futureboy@opensuse.org or thru the “private message” here in the forums. As you can see, it is filled with knowledge gaps and I would like to make this a great landing page for openSUSE Hams to go to get the needed information to get started. After much web browsing, I feel like there is a need for a good on-ramping place.
Truth be told, when I do finally get in the hobby, I want all the resources right there ready to go for me.
Thanks,
-Nathan
Of course I will collaborate. I don’t know if I have any input for the time being, but I have been some time working with SDR, GNU Radio, RTL-SDR, bladeRF, HackRF, etc. and I would like to have thing documented for Opensuse and not only for ubuntu.
Is okay. I can do that diagam you have just done. I can place the source or the sink but not both at the same time, the program crash.
So it is not an issue of Opensuse 42.2, is something in my system.
I will make some more research and if I don find the solution I will try the zypper dup