Forum: GNU Radio 'BoxSizer' object has no attribute 'AddStretchSpacer'

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jay K. (Guest)
on 2009-03-18 13:19
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 "" p,ogram is working fine,I can the see the
window showing the signals.
    But when i try to run the "" program I am getting
Attribute Error as showm below:-

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

I am very new to gnuradio.So kindly help me out.
Johnathan C. (Guest)
on 2009-03-18 16:19
(Received via mailing list)
On Wed, Mar 18, 2009 at 4:19 AM, Jay K. <removed_email_address@domain.invalid> 

> "/usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wx/", line

As has already been mentioned, you system is still trying to use
wxPython 2.5.3.  You can see this is so by looking at the path
referenced in the error, quoted above.  You need to have properly
installed wxPython >= 2.6, and verified the system finds that instead.

Jay K. (Guest)
on 2009-03-20 08:44
Hello Sir,
   Actually i was trying to install
python-wxPython- but somehow it could not be
build.So i had to go with the wx-2.5.3-gtk2-ansi.Even i had tried with
the wx-2.8.3-gtk2-ansi but python 2.4 (abi) is required.Can u just tell
me what should i do??In which directory does the rpm
"python-wxPython-" gets installed.I m having
problem with the program only.

 I am really very new to the Gnuradio installation.So kindly help me
This topic is locked and can not be replied to.