discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] NTSC Receiver


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] NTSC Receiver
Date: Sat, 24 Feb 2007 19:31:45 -0800
User-agent: Mutt/1.5.9i

On Sat, Feb 24, 2007 at 11:21:08AM -0800, DJCarlson wrote:
> 
> Hi - 
> Tried to run with following error output ... thoughts?
> thanks, Doug
> ./usrp_tv_rcv_testingNTSC.py -R A -d 8 -f 76
> Using RX d'board A: TV Rx Rev 3
> width:508
> height:262
> d_output_buffer_size:133096
> LEADING_EDGE_DETECTION_THRESHOLD: 0.9
> TRAILING_EDGE_DETECTION_THRESHOLD: 0.3
> SDL screen_mode 32 bits-per-pixel
> SDL overlay_mode 842094169
> Traceback (most recent call last):
>   File "./usrp_tv_rcv_testingNTSC.py", line 400, in ?
>     app = stdgui.stdapp (tv_rx_graph, "USRP TV RX black-and-white")
>   File "/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py",
> "/usr/local/lib/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py",
> line 230, in _check_port
>     if signature.max_streams () == -1: # infinite
> AttributeError: 'PySwigObject' object has no attribute 'max_streams'
> swig/python detected a memory leak of type 'gr_io_signature_sptr *', no
> destructor found.


As far as I know, every occurence of this has been a result of partial
stale installations of GNU Radio, or multiple overlapping
installations.

My suggestions:

  $ rm -fr /usr/local/lib/python2.4/site-packages/gnuradio
  $ rm -fr /usr/local/lib/python2.4/site-packages/usrp*
  $ rm /usr/local/lib/libgnuradio*
  $ rm /usr/local/lib/libusrp*

Then start with a fresh check out from svn into AN EMPTY DIRECTORY, or
unpack the latest tarball into AN EMPTY DIRECTORY.

See http://gnuradio.org/trac/wiki for directions on getting the code.

Also, check your PYTHONPATH and make sure that it's reasonable.
Most folks have something like:

  address@hidden mail]$ echo $PYTHONPATH
  /usr/local/lib/python2.4/site-packages


Eric




reply via email to

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