You are not logged in.

#1 2022-06-09 15:49:49

otpisani
Member
Registered: 2022-06-09
Posts: 1

gnuradio-osmosdr not working

Please can someone help me to solve following issue, gnuradio-osmosdr install some kiddy script which uses couple of blocks from gnuradio-companion, osmocom_siggen_nogui, which is installed in /usr/bin but when I start to open script I got

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/osmosdr/__init__.py", line 17, in <module>
    from .osmosdr_python import *
ImportError: generic_type: type "sink" referenced unknown base type "gr::hier_block2"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/osmocom_siggen_nogui", line 24, in <module>
    from osmosdr import osmocom_siggen_base as osmocom_siggen
  File "/usr/lib/python3.10/site-packages/osmosdr/__init__.py", line 21, in <module>
    from .osmosdr_python import *
ImportError: generic_type: type "sink" referenced unknown base type "gr::hier_block2"

uname -a Linux lenovo-lap 5.18.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 06 Jun 2022 19:58:58 +0000 x86_64 GNU/Linux
I have python -V Python 3.10.5
gnuradio 3.10.2.0-5
gnuradio-companion 3.10.2.0-5

I can confirm that error also produce when I try to start some blocks inside gnuradio-companion

on Github gr-osmosdr have also osmocom_siggen which is GUI version of osmocom_siggen_nogui, but gnuradio-osmosdr don't have that script, how can import that script into gnuradio-osmosdr

https://github.com/osmocom/gr-osmosdr/b … com_siggen

Offline

Board footer

Powered by FluxBB