wxPython and Py2exe crashes in "window" mode but not in "console" mode

J

Jerry

I have created an application using wxPython and compiled it using
py2exe. When I put

setup(console=['myscript.py'])

in my setup.py file, the resulting application runs just fine. But
when I change it to

setup(windows=['myscript.py'])

The application crashes without any indication of what happened.
During this particular point in the application it calls a
gethostbyaddr and gethostbyname and does a spawnl to another
application. When I use Tkinter, this does not happen. I've searched
around Google and the py2exe and wxPython sites and haven't found
anything that seems to relate to this.

Details:
All are binary distributions for Windows running on Windows XP SP2
ActivePython 2.4.3 Build 12
wxPython 2.6.3.3 (ansi) for Python 2.4
py2exe 0.6.5

Any ideas?

Thanks in advance.
 
J

jean-michel bain-cornu

Hi Jerry,
I have created an application using wxPython and compiled it using
py2exe. When I put

setup(console=['myscript.py'])

in my setup.py file, the resulting application runs just fine. But
when I change it to

setup(windows=['myscript.py'])

The application crashes without any indication of what happened.
During this particular point in the application it calls a
gethostbyaddr and gethostbyname and does a spawnl to another
application. When I use Tkinter, this does not happen. I've searched
around Google and the py2exe and wxPython sites and haven't found
anything that seems to relate to this.

Details:
All are binary distributions for Windows running on Windows XP SP2
ActivePython 2.4.3 Build 12
wxPython 2.6.3.3 (ansi) for Python 2.4
py2exe 0.6.5

I'd like to reproduce your crash, could you post a sample ?
 
J

Jerry

jean-michel, I'm at work at the moment and can't post with attachments.
I will do so once I get home.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top