Forum: GNU Radio import error after re-swig-ing

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E1536592f3adb1090066fde8b7a7169d?d=identicon&s=25 Alex Young (Guest)
on 2007-08-02 13:35
(Received via mailing list)
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
This topic is locked and can not be replied to.