[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems while writing Python test for X++ block
From: |
Jeff Long |
Subject: |
Re: Problems while writing Python test for X++ block |
Date: |
Mon, 6 Dec 2021 18:19:50 -0500 |
There is old code in your module, either left over from previous work, or generated by an older version of GNU Radio that is still on your system. If this is just tutorial code, delete the whole gr-tutorial directory, make sure there is no second (v3.8) installation on your machine, and give it another try. Be sure that there is only one version of GNU Radio on your system. It takes days to figure out some of these problems if there are multiple versions.
Hello everybody!
I'm writing this message once again, probably previous one never reached
the mailserver.
I'm entercounting problems when trying to make tests of my C++ block -
this one from tutorial
https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_C%2B%2B .
How can i import my block to python test code(in tutorial there is
"import tutorial_swig" as tutorial, but in gnuradio 3.9 there is no
longer swig)?
Traceback (most recent call last):
File
"/niko1/Szkicowniki/gnuradio-bloczki/gr-tutorial/python/qa_my_qpsk_demod_cb.py",
line 3, in <module>
import tutorial_swig as tutorial
ModuleNotFoundError: No module named 'tutorial_swig'
<end of output>
Test time = 0.23 sec
Thanks in advance!
Niko