[Tutor] wxPython window flashes open and closed

Daniel Ehrenberg littledanehren at yahoo.com
Tue Dec 2 18:23:28 EST 2003


>> I'm trying to learn wxPython. I made a simple hello
>world app but it
>> just flashes open and closed. Here's the code:
>
>I had the same problem. You need to redirect
>stdout/stderr to a file.
>By default it goes to a console window, but this
>disappears
>immediately after the program exits. So if you've got
a >fatal error
>that causes your program to die before it gets
>started, well, you'll
>never see it.
>
>This message describes the problem and the solution.
>Worked for me.
>
>http://lists.wxwindows.org/archive/wxPython-users/msg07054.html

I tried that, and it said "Gdk-WARNING **: locale not
supported by C library" (without the quotes). I'm
using Gnome 2.2 in US English and Debian and I got the
package off of apt-get, if any of that makes a
difference.

Daniel Ehrenberg

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/



More information about the Tutor mailing list