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:

  [EMAIL PROTECTED] mail]$ echo $PYTHONPATH
  /usr/local/lib/python2.4/site-packages


Eric


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to