[pygtk] Silent failure when running PyGTK app with pythonw.exe

John Pye john at curioussymbols.com
Wed Feb 6 14:15:36 WST 2008


Hi all

I'm running my Python/PyGTK application on Windows. It all runs fine if
I run it through c:\Python25\python.exe. There's some output on the
console, and windows pop up and it all works fine.

However when I run the same program with pythonw.exe
(c:\Python25\pythonw.exe) I get my initial splash-screen popping up, but
then nothing, and the program exits. I don't get any error messages on
the console though.

Probably this is a programming error on my part. But it's rather hard to
find: what is the best way to debug this particular problem? Are there
any tricks I can use? Any things that I should particularly look out
for? Are there any particular log files that pythonw keeps when it
exits, perhaps?

Cheers
JP



More information about the pygtk mailing list