discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] OSX gnuradio/uhd issue


From: Josh Blum
Subject: Re: [Discuss-gnuradio] OSX gnuradio/uhd issue
Date: Wed, 26 Jan 2011 17:07:32 -0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7

> Traceback (most recent call last):
>   File "rx_fft.py", line 145, in <module>
>     tb = rx_fft()
>   File "rx_fft.py", line 117, in __init__
>     self.connect((self.uhd_single_usrp_source, 0), (self.fftsink, 0))
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/gnuradio/gr/top_block.py",
> line 124, in connect
>     self._connect(points[i-1], points[i])
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/gnuradio/gr/top_block.py",
> line 129, in _connect
>     self._tb.connect(src_block.basic_block(), src_port,
> AttributeError: 'uhd_single_usrp_source_sptr' object has no attribute
> 'basic_block'

You have a partially out of date or multiple installs of gnuradio:

This is the master branch:
http://gnuradio.org/cgit/gnuradio.git/tree/gnuradio-core/src/python/gnuradio/gr/top_block.py#n129

This is the next branch:
http://gnuradio.org/cgit/gnuradio.git/tree/gnuradio-core/src/python/gnuradio/gr/top_block.py?h=next#n129

-josh



reply via email to

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