dl1ksv / gr-fcdproplus

gnuradio funcube dongle and funcube dongle pro+ source
GNU General Public License v3.0
18 stars 17 forks source link

FunCubeDongle for v3.8 #26

Closed eswnl closed 2 years ago

eswnl commented 2 years ago

Hello,

I have GNU radio 3.8 and Funcube Dongle.

When I install the plugin, I get the blocks to appear. But when I execute the flowchart I get this message:

Traceback (most recent call last): File "/home/john/Desktop/none1.py", line 33, in import fcdproplus File "/usr/lib/python3/dist-packages/fcdproplus/init.py", line 45, in from .fcdproplus_swig import * File "/usr/lib/python3/dist-packages/fcdproplus/fcdproplus_swig.py", line 17, in _fcdproplus_swig = swig_import_helper() File "/usr/lib/python3/dist-packages/fcdproplus/fcdproplus_swig.py", line 16, in swig_import_helper return importlib.import_module('_fcdproplus_swig') File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ModuleNotFoundError: No module named '_fcdproplus_swig'

dl1ksv commented 2 years ago

That the blocks appear in grc only indicates that the yml files wre installed successfully. Did the module build and install?

What is the result of

import fcdproplus

in a python console?

eswnl commented 2 years ago

I am a bit new to Linux / Python, so I'm not exactly sure what you mean. I followed the instructions and didn't see any problems.

Could I have missed anything out? If the module could not be found, does that mean it wasn't installed? Does the fcdproplus_swig need to be installed as separate process?

Which folder is the module installed in?

dl1ksv commented 2 years ago

@eswnl If you don't answer my questions, I can't help you. So just again: Start python. This is normally done by entering

python

in a terminal window. Then enter

import fcdproplus

What output do you get? Just some other questions:

If you are new, why do you start with an old version of gnuradio? Why don't you use 3.9 ?

Which linux distro are you using ? Some distros, for instance fedora, provide gr-fcdproplus or gr-funcube ( if you use gnuradio 3.9 ) . So why do you try to build gr-fcdproplus yourself ?

You get the answer to your questions, if you have a look at the output of cmake, make, make install.

dl1ksv commented 2 years ago

Closed, due to missing response.

eswnl commented 2 years ago

Sorry for late response. The output I get:

john@john-CF-SX2LETBR:~$ python3 Python 3.6.9 (default, Jan 26 2021, 15:33:00) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import fcdproplus Segmentation fault (core dumped) john@john-CF-SX2LETBR:~$