[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] WX Gui Scope Sink, odd appearance in Windows vs.
From: |
Seth Hollar |
Subject: |
Re: [Discuss-gnuradio] WX Gui Scope Sink, odd appearance in Windows vs. Ubuntu |
Date: |
Tue, 27 Nov 2012 10:35:52 -0500 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Hi Arturo,
I did two things:
1) I changed the config file located in c:\users\USERNAME\config.conf
per your suggestion
2) I installed PyOpenGL
When I ran BER Simulation, I got a couple of errors dealing with the GUI:
Traceback (most recent call last):
File
"C:\gnuradio\install\lib\site-packages\gnuradio\wxgui\forms\forms.py",
line 100, in <lambda>
widget.Bind(EVT_DATA, lambda x: self._update(x.data))
File
"C:\gnuradio\install\lib\site-packages\gnuradio\wxgui\forms\forms.py",
line 503, in _update
def _update(self, i): self._notebook.SetSelection(i, 0)
File
"C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_controls.py", line
3021, in SetSelection
return _controls_.BookCtrlBase_SetSelection(*args, **kwargs)
TypeError: BookCtrlBase_SetSelection() takes at most 2 arguments (3 given)
As best as I can tell, the function for the widget, SetSelection, cannot
handle receiving a -1. I'm guessing that what works under some OS's
doesn't necessarily work under others with native controls.
In the end, I reverted back to not using OpenGL. I, too, would be
curious if anyone got the OpenGl version of the Scope working.
Thanks for your help.
-Seth
On 11/26/2012 5:37 PM, Arturo Rinaldi wrote:
Nella citazione in data Mon Nov 26 19:02:33 2012, Seth Hollar ha scritto:
In looking at the GRC example, BER Simulation, I noticed that the WX
Gui Scope Sink window looks very different depending on whether it is
Windows or Ubuntu. The Windows version looks a bit odd. I was
wondering if anyone else is seeing the same thing, or if it is
something that I'm doing wrong.
A screen shot of the two side by side can be see here:
http://www.sethhollar.com/BERSimulationWindowsVsUbuntu.png
Thanks,
Seth
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
the windows version is the non-GL version of the Scope Sink. I'm
experiencing this issue also on MacOs X....you can try editing your
"config.conf" file (i don't know where it is on windows based systems.
In unix like systems is in the hidden folder gnuradio placed in your
HOME : ".gnuradio/config.conf" - if it doesn't exist you can create it
and so override the default settings) and then add the following lines
[wxgui]
style=gl
Please let me know if it works because I'm really interested too.
Regards, Arturo