Re: OSX gnuradio/uhd issue

new error now

macbook-chris:gnuradio updatelee$ python rx_fft.py
Mac OS; GNU C++ version 4.2.1 (Apple Inc. build 5664); Boost_104500;
UHD_002.20110126204618.b83454d

mboard0 MIMO master

Warning:
The hardware does not support the requested RX sample rate:
Target sample rate: 0.240000 MSps
Actual sample rate: 0.240385 MSps
Traceback (most recent call last):
File “rx_fft.py”, line 145, in
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’
^C
macbook-chris:gnuradio updatelee$

I havent tried it in linux yet as my old distro (as of friday) is
working fine and dont want to wreck it lol.

Ive recompiled UHD as well as Gnuradio both after doing a make
distclean/clean just to be sure all the old stuff was out. Gnuradio I
even deleted the entire foder and used git to recreate it.

Chris Lee
VE6UDL

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