On Tue, Jun 10, 2014 at 1:35 AM, Thilina Mallawa Arachchi <
thilina.arach...@gmail.com> wrote:

> 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.
>

With the two versions of wx installed, can you see how to use them
independently yourself from within Python? Right now, we're checking for
the Python module 'wx' only. We'd have to see what we need to check for to
adjust to use the 2.8 version. I'm worried that this would involve a lot of
changes in the gr-wxgui Python files themselves, though, since they are
also using "import wx".

It' might actually be easier if someone could help us update GNU Radio to
work with the newer versions of wx.

Tom


On Jun 6, 2014 7:35 PM, "Thilina Mallawa Arachchi" <
> thilina.arach...@gmail.com> 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 <t...@trondeau.com> wrote:
>>
>>> On Fri, Jun 6, 2014 at 2:27 PM, Thilina Mallawa Arachchi <
>>> thilina.arach...@gmail.com> 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,
>>>>
>>>> Thil
>>>>
>>>
>>> Ah, 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.
>>>
>>> Tom
>>>
>>>
>>>
>>>
>>>> On 6 June 2014 08:48, Tom Rondeau <t...@trondeau.com> wrote:
>>>>
>>>>> On Fri, Jun 6, 2014 at 11:44 AM, Marcus D. Leech <mle...@ripnet.com>
>>>>> wrote:
>>>>>
>>>>>>  On 06/06/2014 11:33 AM, Tom Rondeau wrote:
>>>>>>
>>>>>>  On Fri, Jun 6, 2014 at 4:32 AM, Thilina Mallawa Arachchi <
>>>>>> thilina.arach...@gmail.com> 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 
>>>>>> listDiscuss-gnuradio@gnu.orghttps://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
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Discuss-gnuradio mailing list
>>>>> Discuss-gnuradio@gnu.org
>>>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Discuss-gnuradio mailing list
>>>> Discuss-gnuradio@gnu.org
>>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>>
>>>>
>>>
>>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to