discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Help with wx-gui, window size error


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Help with wx-gui, window size error
Date: Fri, 6 Jun 2014 11:48:18 -0400

On Fri, Jun 6, 2014 at 11:44 AM, Marcus D. Leech <address@hidden> wrote:
On 06/06/2014 11:33 AM, Tom Rondeau wrote:
On Fri, Jun 6, 2014 at 4:32 AM, Thilina Mallawa Arachchi <address@hidden> wrote:
Hi,

I am having problems running a WX GUI FFT Sink, I am getting the following runtime error:

Traceback (most recent call last):
  File "/home/thilina/noctar/fm_rx/top_block.py", line 109, in <module>
    tb = top_block()
  File "/home/thilina/noctar/fm_rx/top_block.py", line 50, in __init__
    size=(720, 480),
  File "/usr/lib/python2.7/site-packages/gnuradio/wxgui/fftsink_nongl.py", line 198, in __init__
    self.win = fft_window(self, parent, size=size)
  File "/usr/lib/python2.7/site-packages/gnuradio/wxgui/fftsink_nongl.py", line 331, in __init__
    self.control_panel = control_panel(self)
  File "/usr/lib/python2.7/site-packages/gnuradio/wxgui/fftsink_nongl.py", line 256, in __init__
    wx.Panel.__init__(self, parent, -1, style=wx.SIMPLE_BORDER)
  File "/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_windows.py", line 68, in __init__
    _windows_.Panel_swiginit(self,_windows_.new_Panel(*args, **kwargs))
wx._core.PyAssertionError: C++ assertion "m_window" failed at ./src/gtk/dcclient.cpp(2041) in DoGetSize(): GetSize() doesn't work without window

Is this a know bug? whats the best way to fix it? I am new to gnuradio.

I'm running gnuradio 3.7.3-4

Kind Regards,

Thil

It's telling you that you haven't defined a window for the FFT. You can specify no window (iirc) by passing it '[]' or you can look at the fft.window module, which provides a set of windows you can define.

Tom
 
_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Tom, you should look again.

This is a "guts of wxPython" thing.

Either there's no Xwindow server running, or they forgot to specify "WX GUI" in the generate options.

Dah! Wrong concept of a window! Sorry.

But I just got done giving the talk you were supposed to give, so, cut me some slack :) 

Tom


reply via email to

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