Hi!
For some reason that I can not understand, I can not get
usrp_ra_receiver.py running, see attached traceback. As I am new to both
python and Gnuradio, I am not sure exactly where to start diagnosing
this. Any ideas? The other graphical examples seem to work.
I am using the svn-version of gnuradio on a fully updated Fedora7 x86_64
installation.
I tried installing the Fedora compat-wxPythonGTK2 package, but that did
not solve the problem (it even made it worse as I then could not run the
other examples, such as usrp_fft.py). The traceback then was:
[EMAIL PROTECTED] src]$ usrp_ra_receiver.py
Traceback (most recent call last):
File "/usr/local/bin/usrp_ra_receiver.py", line 28, in <module>
from gnuradio.wxgui import stdgui2, ra_fftsink, ra_stripchartsink,
ra_waterfallsink, form, slider, waterfallsink
File
"/usr/local/lib64/python2.5/site-packages/gnuradio/wxgui/ra_fftsink.py",
line 173, in <module>
EVT_DATA_EVENT = wx.PyEventBinder (myDATA_EVENT, 0)
AttributeError: 'module' object has no attribute 'PyEventBinder'
[EMAIL PROTECTED] src]$
The usrp_psr_receiver.py also seem to have issues:
[EMAIL PROTECTED] gnuradio_oso]$
/home/larsp/src/gnuradio/gr-radio-astronomy/src/python/usrp_psr_receiver.py
Traceback (most recent call last):
File
"/home/larsp/src/gnuradio/gr-radio-astronomy/src/python/usrp_psr_receiver.py",
line 49, in <module>
class app_flow_graph(stdgui2.std_top_block):
NameError: name 'stdgui2' is not defined
[EMAIL PROTECTED] gnuradio_oso]$
/Lars
--
Lars E. Pettersson <[EMAIL PROTECTED]>
http://www.sm6rpz.se/
[EMAIL PROTECTED] gnuradio_oso]$ usrp_ra_receiver.py -f 1420e6
Traceback (most recent call last):
File "/usr/local/bin/usrp_ra_receiver.py", line 1089, in <module>
main ()
File "/usr/local/bin/usrp_ra_receiver.py", line 1085, in main
app = stdgui2.stdapp(app_flow_graph, "RADIO ASTRONOMY SPECTRAL/CONTINUUM
RECEIVER: $Revision: 7099 $", nstatus=1)
File "/usr/local/lib64/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
line 36, in __init__
wx.App.__init__ (self, redirect=False)
File "/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7757, in __init__
self._BootstrapApp()
File "/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7354, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/local/lib64/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
line 39, in OnInit
frame = stdframe (self.top_block_maker, self.title, self._nstatus)
File "/usr/local/lib64/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
line 60, in __init__
self.panel = stdpanel (self, self, top_block_maker)
File "/usr/local/lib64/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
line 81, in __init__
self.top_block = top_block_maker (frame, self, vbox, sys.argv)
File "/usr/local/bin/usrp_ra_receiver.py", line 258, in __init__
ofunc=self.fft_outfunc, xydfunc=self.xydfunc)
File "/usr/local/lib64/python2.5/site-packages/gnuradio/wxgui/ra_fftsink.py",
line 166, in __init__
self.win = fft_window(self, parent, size=size)
File "/usr/local/lib64/python2.5/site-packages/gnuradio/wxgui/ra_fftsink.py",
line 220, in __init__
plot.PlotCanvas.__init__ (self, parent, id, pos, size, style, name)
File "/usr/local/lib64/python2.5/site-packages/gnuradio/wxgui/plot.py", line
428, in __init__
wx.Window.__init__(self, parent, id, pos, size, style, name)
File "/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 8157, in __init__
_core_.Window_swiginit(self,_core_.new_Window(*args, **kwargs))
TypeError: in method 'new_Window', expected argument 1 of type 'wxWindow *'
Exception exceptions.ReferenceError: 'weakly-referenced object no longer
exists' in <bound method db_dbs_rx.__del__ of <gnuradio.db_dbs_rx.db_dbs_rx
object at 0x1d3c650>> ignored
[EMAIL PROTECTED] gnuradio_oso]$
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio