I just went through this myself with a user of my OOT's. It's due to a
pybind11 version mismatch. The PPA is built with pybind11 v2.5.0 and if
your system (such as Ubuntu 20.04) has a different version, you get that
import error.
You have to build/install pybind11 v2.5.0 on your system to resolve the
issue.
Here's the issue on my Github for reference.
https://github.com/drmpeg/gr-dvbgse/issues/3
Ron
On 10/15/21 12:30 PM, Daniel Estévez wrote:
Hi,
I've encountered a problem in the gr-satellites continuous integration
that I've traced to the change from GNU Radio 3.9.2.0 to 3.9.3.0 in
the Ubuntu 20.04 PPA package (which is what I'm using in my CI Docker
container).
The problem is that after building gr-satellites from source using GNU
Radio 3.9.3.0 from the PPA package I get this error when importing the
Python module:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3/dist-packages/satellites/__init__.py",
line 44, in <module>
from .satellites_python import *
ImportError: generic_type: type "ax100_decode" referenced unknown base
type "gr::block"
The are no unusual messages during the compilation of gr-satellites.
If instead of using the PPA package I build GNU Radio 3.9.3.0 from
source, then everything works.
I haven't tried to do this with other OOT modules. Has anyone
encountered this problem?
I have some Dockerfiles that can be used to replicate this problem.
See here:
https://github.com/daniestevez/gr-satellites/issues/303#issuecomment-944604966
Best,
Dani.