discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] PySwigObject error (Solved)


From: Clark Pope-TWC
Subject: Re: [Discuss-gnuradio] PySwigObject error (Solved)
Date: Sun, 10 Jul 2005 06:11:21 -0400

Still don't know the root cause for this error, but I blew away the gnuradio
code base and re-downloaded from CVS and compiled and it appears to be
working okay.

My guess is that some of the base packages may not have been installed
correctly when the gnuradio code was initially compiled and/or reverting to
swig 23 from swig 25 may require a total clean and rebuild of gnuradio.

----- Original Message ----- 
From: "Clark Pope-TWC" <address@hidden>
To: "Clark Pope-TWC" <address@hidden>; "Eric Blossom" <address@hidden>
Cc: <address@hidden>
Sent: Saturday, July 09, 2005 5:40 AM
Subject: Re: [Discuss-gnuradio] PySwigObject error


> Recompile finally finished(~5 hours). No signs of errors anywhere yet I
> still get the same error message whenever I run any of the Demos?
>
> ----- Original Message ----- 
> From: "Clark Pope-TWC" <address@hidden>
> To: "Eric Blossom" <address@hidden>
> Cc: <address@hidden>
> Sent: Friday, July 08, 2005 8:30 PM
> Subject: Re: [Discuss-gnuradio] PySwigObject error
>
>
> > 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
> >
> >
> >
> > _______________________________________________
> > Discuss-gnuradio mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>





reply via email to

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