discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] PySwigObject error


From: Clark Pope-TWC
Subject: Re: [Discuss-gnuradio] PySwigObject error
Date: Fri, 8 Jul 2005 20:30:12 -0400

I'm using Swig 1.3.23. I originally had 1.3.25 as per KD7LMO but I
uninstalled and reinstalled 1.3.23.

Recompiling gnuradio_swig_python.o now. I think you're right that the
problem is somewhere around that. On my machine it takes several hours for
this compile to finish? How long should it take? I assumed it was just
taking a long time because I only have 128MB memory on this box.

----- Original Message ----- 
From: "Eric Blossom" <address@hidden>
To: <address@hidden>
Cc: <address@hidden>
Sent: Friday, July 08, 2005 8:32 PM
Subject: Re: [Discuss-gnuradio] PySwigObject error


> On Fri, Jul 08, 2005 at 07:41:27PM -0400, address@hidden wrote:
> > Hi,
> > I've mostly got gnuradio installed, at least the run_tests file works in
> > the gnuradio-core directory. However, when I try to run any of the
> > examples I get:
> >
> > address@hidden usrp]$ ./usrp_oscope.py -n1
> > RX d'board A: Basic Rx
> > RX d'board B: TV Rx
> > Traceback (most recent call last):
> >   File "./usrp_oscope.py", line 80, in ?
> >     main ()
> >   File "./usrp_oscope.py", line 76, in main
> >     app = stdgui.stdapp (app_flow_graph, "USRP O'scope")
> >   File
>
> [snip]
>
> >
"/home/base2it/gr/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.p
y",
> > line 229, in _check_port
> >     if signature.max_streams () == -1: # infinite
> > AttributeError: 'PySwigObject' object has no attribute 'max_streams'
> >
> > Any help is greatly appreciated.
> >
> > Thanks,
> > Clark Pope
> >
> > P.S. - I have an FC3 base install and I've followed the install at the
> > KD7LMO site.
>
> Hmmm, this error is familiar but I don't recall the cause or cure.
>
> What version of swig are you using?
>
>   $ swig -version
>
> Assuming that your swig version is OK (1.3.23 or 1.3.24) then another
> wild stab is:
>
>   $ cd gnuradio-core/src/lib/swig
>   $ make clean
>   $ make install
>
>
> Eric





reply via email to

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