I'm playing with wxpython 2.8.4 on XP. Sometimes, my script is not working and
I see the error message in a white window which appears 10 ms then disappeared.
So I can't read the error.
How can I see this error message in the cmd.exe window ?
I'm playing with wxpython 2.8.4 on XP. Sometimes, my script is not working and
I see the error message in a white window which appears 10 ms then disappeared.
So I can't read the error.
How can I see this error message in the cmd.exe window ?
This looks like the most asked question in the wxPython history
Anyway, have you looked at the Wiki?
Create the wx.App by setting redirect to false wx.App(False)
Regards
···
On May 26, 2007, at 9:46 AM, Didier BRETIN wrote:
Hi,
I'm playing with wxpython 2.8.4 on XP. Sometimes, my script is not working and
I see the error message in a white window which appears 10 ms then disappeared.
So I can't read the error.
How can I see this error message in the cmd.exe window ?
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
Saturday, May 26, 2007, 11:51:51 AM, Andrea Gavana wrote:
Hi Didier,
I'm playing with wxpython 2.8.4 on XP. Sometimes, my script is not
working and I see the error message in a white window which appears
10 ms then disappeared. So I can't read the error.
How can I see this error message in the cmd.exe window ?
This looks like the most asked question in the wxPython history
Yep, wx.App(False). I also took a while to figure it out. OTOH
couldn't we patch that window so that it would display a nice "Ok,
click me to close" button? And would that need C++ intervention or
just some plain wxPython overloading?
-- tacao
No bits were harmed during the making of this e-mail.
And yes, I lokked at the wiki, but I didn't find the answer the first time :).
Wxwidgets is a big framework and sometimes it's not easy to solve our problems
with the amount of documentation :). But you are right, the next time I will
look better at the FAQ first !
Regards.
···
On 26/05/2007 16:51, Andrea Gavana wrote:
> On 5/26/07, Didier BRETIN wrote:
>> I'm playing with wxpython 2.8.4 on XP. Sometimes, my script is not
>> working and
>> I see the error message in a white window which appears 10 ms then
>> disappeared.
>> So I can't read the error.
>>
>> How can I see this error message in the cmd.exe window ?
>
> This looks like the most asked question in the wxPython history
> Anyway, have you looked at the Wiki?
>
>
--
Didier BRETIN http://www.bretin.net/
Saturday, May 26, 2007, 11:51:51 AM, Andrea Gavana wrote:
Hi Didier,
I'm playing with wxpython 2.8.4 on XP. Sometimes, my script is not
working and I see the error message in a white window which appears
10 ms then disappeared. So I can't read the error.
How can I see this error message in the cmd.exe window ?
This looks like the most asked question in the wxPython history
Yep, wx.App(False). I also took a while to figure it out. OTOH
couldn't we patch that window so that it would display a nice "Ok,
click me to close" button? And would that need C++ intervention or
just some plain wxPython overloading?
The problem is that because of the exception the OnInit is going to return False and so the MainLoop will exit as soon as it is entered, taking the output window with it. I suppose that in this case we could make the output window be a dialog instead of a frame, but it would be tricky to know how/when to do this...
···
On 5/26/07, Didier BRETIN wrote:
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!