Howto Problems

Trying to get howto-write-a-block to work. ‘ctest -V’ gives errors like:
“…/gr-howto-write-a-block-3.6.0/lib/qa_howto_square_ff_test.sh: 8:
qa_howto_square_ff: not found” and the same for square2_ff.

File “/home/tim/SDR/gr-howto-write-a-block-3.6.0/python/qa_howto.py”,
line
24, in
3: import howto_swig
3: ImportError: No module named howto_swig

I’ve checked the directory and the qa files do exist. Do they need
extensions added to them? howto_swig.i also includes the correct files,
but
can’t be imported?

Hi Brooke,

are you mixing hand-edited code and files generated by gr_modtool?
Also, can you manually import howto_swig from the build/swig dir?

Besides, if you’re getting started, 3.6.0 is not the newest version of
GNU Radio.

MB

On Mon, Nov 19, 2012 at 03:08:50PM -0500, Brooke H. wrote:

3: ImportError: No module named howto_swig

I’ve checked the directory and the qa files do exist. Do they need extensions
added to them? howto_swig.i also includes the correct files, but can’t be
imported?


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page


Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

Hi
I have the same problem
I can manually import howto_swig from the build/swig dir.
but with build/python dir, it always show
hi@OptiPlex-360:/home/sdr-optiplex/dev/gnuradio/gnuradio/gr-howto-write-a-block/build/python$
python qa_square_ff.py
Traceback (most recent call last):
File “qa_square_ff.py”, line 4, in
import howto_swig as howto
ImportError: No module named howto_swig