Results 1 to 8 of 8

Thread: anyone using gnuradio companion?

  1. #1

    Default anyone using gnuradio companion?

    Using Opensuse 42.2

    Gnuradio from repository home:dl8fcl:branches:hamradio

    i | gnuradio | package | 3.7.11-10.2 | x86_64 | home:dl8fcl:branches:hamradio

    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:

    Code:
    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.

    Any help?

    regards

  2. #2
    Join Date
    Jun 2010
    Location
    Michigan, USA
    Posts
    267

    Default Re: anyone using gnuradio companion?

    Greetings,

    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.

    I read some interesting things here that may be of assistance too:
    http://stackoverflow.com/questions/3...-rtlsdr-source

    This also leads me to believe that there may be issues with the change of media sources.

    I can only make suggestion but try this: remove the repository home:dl8fcl:branches:hamradio

    Install this repository:
    Code:
    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:
    Code:
    sudo zypper dup --from Hamradio
    I hope that helps.


    On a side note, I am trying to better document all things to do with Ham radio on the openSUSE wiki.

    https://en.opensuse.org/Portal:HAM_Radio

    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
    Last edited by futureboy; 07-May-2017 at 12:36. Reason: copy paste of repository had ... in the middle of it
    If I am going to be spontaneous, I have to plan for it.

    www.CubicleNate.com

  3. #3

    Default Re: anyone using gnuradio companion?

    Quote Originally Posted by futureboy View Post
    Greetings,

    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 have deleted all the packages and reinstalled them again. Tried both repos, hamradio and dl8fcl



    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.

    I read some interesting things here that may be of assistance too:
    http://stackoverflow.com/questions/3...-rtlsdr-source

    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

    Code:
    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:
    Code:
    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:
    Code:
    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.

    https://en.opensuse.org/Portal:HAM_Radio

    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.



    Please, could you try doing this:

    Create a osmocom source block, like this
    http://susepaste.org/1071225

    Then create a osmocom sink, like this
    http://susepaste.org/33294640

    Join them with a wire.

    It crashes?
    Thank you

  4. #4
    Join Date
    Jun 2010
    Location
    Michigan, USA
    Posts
    267

    Default Re: anyone using gnuradio companion?

    Okay, you are going to have to help me out now. I don't seem to have the "Sources" menu item in the Right pane. How do I acquire those?

    Thanks,
    -Nathan
    If I am going to be spontaneous, I have to plan for it.

    www.CubicleNate.com

  5. #5

    Default Re: anyone using gnuradio companion?

    Quote Originally Posted by futureboy View Post
    Okay, you are going to have to help me out now. I don't seem to have the "Sources" menu item in the Right pane. How do I acquire those?

    Thanks,
    -Nathan
    it is in the package gr-osmosdr

    regards

  6. #6
    Join Date
    Jun 2010
    Location
    Michigan, USA
    Posts
    267

    Default Re: anyone using gnuradio companion?

    Okay, I think I got it. I wasn't 100% sure on the wire part but I think it's "connected".

    http://susepaste.org/39230526

    If I didn't do this correctly, let me know. It seems to work fine in 42.2 I haven't tested it in Tumbleweed.

    Hope this helps,
    -Nathan
    If I am going to be spontaneous, I have to plan for it.

    www.CubicleNate.com

  7. #7

    Default Re: anyone using gnuradio companion?

    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

    thanks

  8. #8
    Join Date
    Jun 2010
    Location
    Michigan, USA
    Posts
    267

    Default Re: anyone using gnuradio companion?

    Let me know if there is anything else I can do to help out.

    Cheers!
    If I am going to be spontaneous, I have to plan for it.

    www.CubicleNate.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •