gr-limesdr module referenced unknown base type "gr::block"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gr-limesdr (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
There is an incompatability between GnuRadio 3.10 and the gr-limesdr package: when using the package, the following error is generated:
in <module>
import limesdr
File "/usr/lib/
from .limesdr_python import *
ImportError: generic_type: type "sink" referenced unknown base type "gr::block"
Some research suggests this may be caused by a different version of pybind being used to build the plug-in vs. the main GnuRadio package.
ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: gr-limesdr 3.0.1-4build1
ProcVersionSign
Uname: Linux 5.19.0-
NonfreeKernelMo
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: XFCE
Date: Sun Feb 26 09:14:14 2023
SourcePackage: gr-limesdr
UpgradeStatus: Upgraded to kinetic on 2022-11-28 (90 days ago)
More information: python3/ dist-packages/ limesdr/ __init_ _.py and adding the following line
Editing /usr/lib/
try:
# this might fail if the module is python-only
+++ from gnuradio_base import *
from .limesdr_python import *
Allows the code to get a bit further along - instead of the error above it gets this error:
File "~/.grc_ gnuradio/ Receiver. py", line 241, in __init__ limesdr_ source_ 1 = limesdr.source('', 0, '')
self.
AttributeError: module 'limesdr' has no attribute 'source'
This is in the code generated by Gnu Radio Companion for a flow diagram with the LimeSDR source in it.