|
From: | Tom Rondeau |
Subject: | Re: [Discuss-gnuradio] Help with wx-gui, window size error |
Date: | Thu, 12 Jun 2014 11:32:55 +0000 |
Downgraded wxPython to wxpython2.8 however Arch linux uses wxPython as a dependency and GnuRadio continues to use the newer version. Results in some wxgui instruments to fail.
On Jun 6, 2014 7:35 PM, "Thilina Mallawa Arachchi" <address@hidden> wrote:
I've got the latest versions installed wxpython 3.0.0.0-2 and wxgtk 3.0.0-3.Right, thanks for the info, Its best that I downgrade then. Will confirm.On 6 June 2014 13:26, Tom Rondeau <address@hidden> wrote:On Fri, Jun 6, 2014 at 2:27 PM, Thilina Mallawa Arachchi <address@hidden> wrote:
" 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."
This may be the problem, I didnt manually specify WX GUI in the generate options. My install was completed by a scripted install via yaourt package manager on Arch Linux, no errors. I assume WX GUI was generated as I can run the WXGUI Waterfall Plot with no errors.Xwindow server is running.
I did find a forum post with a reported fix to the problem, do you guys think I should try this? refer to last post in http://nuand.com/forums/viewtopic.php?t=3524&p=5164. I generally avoid trying to downgrade and manually install packages, it'd be better if there was a simpler solution.Kind Regards,ThilAh, interesting. I suppose it's possible. What version of wxPython/wxGTK are you using? If it's >= 3.0, I'm not sure that's tested. Might have to put in a protection against using none 2.8 versions.TomOn 6 June 2014 08:48, Tom Rondeau <address@hidden> wrote: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:Tom, you should look again._______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradioOn 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
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
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |