discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] 'BoxSizer' object has no attribute 'AddStretchSpacer'


From: Jay Kumar
Subject: [Discuss-gnuradio] 'BoxSizer' object has no attribute 'AddStretchSpacer'
Date: Wed, 18 Mar 2009 12:19:31 +0100

Hello Everyone!!

   I have installed Gnuradio-3.1.3 on RedHat Enterprise Linux
4.Everything is working fine ,I have" checked the "Hello World" program
and even the "usrp_oscope.py" p,ogram is working fine,I can the see the
window showing the signals.
    But when i try to run the "usrp_fft.py" program I am getting
Attribute Error as showm below:-

Traceback (most recent call last):
  File "./usrp_fft.py", line 306, in ?
    main ()
  File "./usrp_fft.py", line 302, in main
    app = stdgui2.stdapp(app_top_block, "USRP FFT", nstatus=1)
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui2.py", line
36, in __init__
    wx.App.__init__ (self, redirect=False)
  File
"/usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wx/_core.py", line
5301, in __init__
    self._BootstrapApp()
  File
"/usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wx/_core.py", line
4980, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui2.py", line
39, in OnInit
    frame = stdframe (self.top_block_maker, self.title, self._nstatus)
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui2.py", line
60, in __init__
    self.panel = stdpanel (self, self, top_block_maker)
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui2.py", line
81, in __init__
    self.top_block = top_block_maker (frame, self, vbox, sys.argv)
  File "./usrp_fft.py", line 124, in __init__
    avg_alpha=options.avg_alpha)
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/fftsink2.py",
line 175, in __init__
    self.win = fft_window(self, parent, size=size)
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/fftsink2.py",
line 308, in __init__
    self.control_panel = control_panel(self)
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/fftsink2.py",
line 241, in __init__
    control_box.AddStretchSpacer()
AttributeError: 'BoxSizer' object has no attribute 'AddStretchSpacer'


I am very new to gnuradio.So kindly help me out.
Thanks.
-- 
Posted via http://www.ruby-forum.com/.




reply via email to

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