Running built executable flashes window then exits

19 views
Skip to first unread message

Jason

unread,
Jul 16, 2011, 11:27:21 AM7/16/11
to pyins...@googlegroups.com
Hi,

I am trying to get a finished program out the door, but the built executable doesn't run properly.

The program uses wx and win32com.client.  On execution, a window flashes on screen for a split second and that's all.

It looks like a text output window.  Is it possible to see the text somehow to know what is going wrong?

If the error is likely caused by use of win32com.client, there is a MakeCOMServer.py module, but this might only be used if one is creating a COM server.  If not, and it should be used with any use of win32com, does it replace Makespec.py (and all its options)?

Any comments are greatly appreciated.

Thanks

Jason

Hedley Roos

unread,
Jul 17, 2011, 5:29:28 AM7/17/11
to pyins...@googlegroups.com
Launch your program from a command prompt (ie. do not double-click the
program icon). You should see a traceback.

Hedley

Jason

unread,
Jul 17, 2011, 7:43:41 PM7/17/11
to pyins...@googlegroups.com, hedle...@gmail.com
Thanks, that's very handy to know.  Although as it turned out in this instance, the problem was easy enough to find without having to check the traceback.  A data file was missing from the distribution.

Jason
Reply all
Reply to author
Forward
0 new messages