skysafe / gr-sigmf

GNURadio blocks to read, write, and modify SigMF datasets
Other
30 stars 11 forks source link

ImportError: generic_type: type "sink" referenced unknown base type "gr::sync_block" #36

Open abanzer opened 2 years ago

abanzer commented 2 years ago

I am running GRC version 3.9 on Ubuntu 20.04 LTS OS.

After installing gr-sigmf, I receive the following error when trying to run a .grc file to test the SigMF Sink GUI block:

File "/usr/local/lib/python3.8/dist-packages/gr_sigmf/__init__.py", line 15, in <module>
    from .sigmf_python import *
ImportError: generic_type: type "sink" referenced unknown base type "gr::sync_block"

The contents of the directory throwing the error _[/usr/local/lib/python3.8/dist-packages/grsigmf/] are:

__init__.py  
__init__.pyc  
__init__.pyo  
__pycache__  
sigmf_python.cpython-38-x86_64-linux-gnu.so

Additionally, when running the final compile command make install within the gr-sigmf/build directory, I noticed the following message amongst the installing messages:

-- Set runtime path of "/usr/local/lib/python3.8/dist-packages/gr_sigmf/sigmf_python.cpython-38-x86_64-linux-gnu.so" to ""

Therefore, I am certain the file _sigmf_python.cpython-38-x8664-linux-gnu.so is the issue, but I am unsure how to proceed.