discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Problems building swig 1.3.23


From: Bill Tracey
Subject: Re: [Discuss-gnuradio] Problems building swig 1.3.23
Date: Mon, 13 Dec 2004 15:37:38 -0600

I had no success getting the 2.3 tar balls to run the audio examples (dial_tone.py and friends) using Swig 1.3.23 on a Fedora Core 2. The error I got running dial_tone.py was:

        address@hidden audio]$ ./dial_tone.py
        audio: using audio_oss
        Traceback (most recent call last):
          File "./dial_tone.py", line 40, in ?
            fg = build_graph ()
          File "./dial_tone.py", line 34, in build_graph
            fg.connect (src0, (dst, 0))
File "/usr/local/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.py", line 83, in connect
            self._check_valid_dst_port (dst_endpoint)
File "/usr/local/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.py", line 175, in _check_valid_dst_port self._check_port (dst_endpoint.block.input_signature(), dst_endpoint.port) File "/usr/local/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.py", line 180, in _check_port
            if signature.max_streams () == -1: # infinite
        AttributeError: 'PyCObject' object has no attribute 'max_streams'

I'm a way too much a newbie with all this to try and debug it, so rolled back to Swig 1.3.22, rebuilt, and it now works. Clueless as to what the actual issue is.

I also had an earlier RPM based version of Swig installed -- I removed it before building and installing the newer version.

Regards,

Bill





reply via email to

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