On 17/06/12 11:09 PM, Vikas N Kumar wrote: > Hi > > I am using the ezcap RTL2838U USB dongle along with gnuradio 3.6.0 and > the svn latest version of Multimode.py on Debian Linux 6.0.2. I have > installed the HEAD git branches of rtl-sdr, gr-osmosdr and libosmocore > successfully. I have taken care of all pre-requisites needed as well > as in the build-gnuradio script. > > However when I try to run multimode.py as root I get the following error: > > root# ./multimode.py > linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.004.000-325-g7e296167 > > Using Volk machine: ssse3_64 > Traceback (most recent call last): > File "./multimode.py", line 1089, in <module> > tb = multimode(ahw=options.ahw, freq=options.freq, > ppm=options.ppm, vol=options.vol, ftune=options.ftune, > xftune=options.xftune, srate=options.srate, upclo=options.upclo, > devinfo=options.devinfo, agc=options.agc, arate=options.arate, > upce=options.upce, mthresh=options.mthresh, dmode=options.dmode, > offs=options.offs, flist=options.flist, dfifo=options.dfifo, > mbw=options.mbw, deemph=options.deemph) > File "./multimode.py", line 340, in __init__ > self.wxgui_waterfallsink2_0.set_callback(wxgui_waterfallsink2_0_callback) > File "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/hier_block2.py", > line 50, in __getattr__ > return getattr(self._hb, name) > AttributeError: 'gr_hier_block2_sptr' object has no attribute 'set_callback' > > This is almost certainly caused by having a version of Gnu Radio that isn't up-to-date. Are you sure you're running the version you think you're running? The GIT master of Gnu Radio has support for the 'set_callback' function used, but older ones don't.
-- Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio