discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] import error after re-swig-ing


From: Alex Young
Subject: [Discuss-gnuradio] import error after re-swig-ing
Date: Thu, 02 Aug 2007 07:34:46 -0400
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

I know Tom is really busy these days, so I decided to give him a break from all my questions and see if anyone on the list can provide some insight.
background:
I have been using gnuradio 3.0 rc1 for at least one month, with no obvious issues. running on ubuntu 7.04, x86

I wrote a little 1/2-rate convolutional encoder using the IT++ libraries, and put in gnuradio-core/general for the moment. After creating and/or editing the requisite .cc, .h, .i, and Makefile.am files, I was able to 'make' my way all the way down the build tree to gnuradio/trunk with no (as far as I can tell) errors. my code, gr_half_conv_enc_bb, now shows up in gnuradio/gr/gnuradio_swig_py_general.py at the end of all the other classes in the file. I can't seem to access or use it though. From the python command line, this is the process I follow.
>>>from gnuradio import gr
>>>conv = gr.half_conv_enc_bb()

and I receive the following error:

Traceback (most recent call last):
 File "<stdin>", line 1, in <module>

For the purpose of reference, I ran a line of code from the heir blocks example gmsk2.py at the same python prompt:

>>>self.nrz = gr.bytes_to_syms()

and I received no error message. (bytes_to_syms is in the same gnuradio_swig_py_general.py file as my class.)

I don't necessarily fully understand the gnuradio make/swig process, so I'm not really sure where I've gone wrong. Any thoughts or suggestions?

Thanks,
Alex Young




reply via email to

[Prev in Thread] Current Thread [Next in Thread]