|
From: | Tom Rondeau |
Subject: | Re: [Discuss-gnuradio] CentOS 7 GR 3.7.5.1 wxPython 3.0 Ettus B210 and R820T |
Date: | Mon, 10 Nov 2014 11:05:30 -0500 |
Just got this limping around.* need CentOS/RHEL baseline for a variety of reasons* really rather have WX as other code uses it* pybombs did not seem to do the job* built from gnuradio git sources* UHD 3.7.1* osmocore and rtl-sdr gr-osmosdr form osmocom.org* needs qwt from EPEL repository* needs PyQwt from sourceforge* There is a bug in GR with regard to wxPython 3.0 - it will winge about "m_window" and fail in any wxgui.wx._core.PyAssertionError: C++ assertion "m_window" failed at./src/gtk/dcclient.cpp(2041) in DoGetSize(): GetSize() doesn't workwithout window
It seems that this can be made more general by putting it the wxgui top_block::__init__ itself:$ diff -btwc ../gr-wxgui/grc/top_block_gui.py.orig ../gr-wxgui/grc/top_block_gui.py
*** ../gr-wxgui/grc/top_block_gui.py.orig Mon Jul 7 17:28:59 2014
--- ../gr-wxgui/grc/top_block_gui.py Sat Nov 8 13:02:32 2014
***************
*** 47,52 ****
--- 47,53 ----
self.Add = self._panel.Add
self.GridAdd = self._panel.GridAdd
self.GetWin = self._panel.GetWin
+ self.Start(False)
def SetIcon(self, *args, **kwargs): self._frame.SetIcon(*args, **kwargs)
[Prev in Thread] | Current Thread | [Next in Thread] |