Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > wxPython and Py2exe crashes in "window" mode but not in "console" mode

Reply
Thread Tools

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

 
 
Jerry
Guest
Posts: n/a
 
      08-25-2006
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.

--
Jerry

 
Reply With Quote
 
 
 
 
jean-michel bain-cornu
Guest
Posts: n/a
 
      08-25-2006
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 ?
 
Reply With Quote
 
 
 
 
Jerry
Guest
Posts: n/a
 
      08-28-2006
jean-michel, I'm at work at the moment and can't post with attachments.
I will do so once I get home.

jean-michel bain-cornu wrote:
> I'd like to reproduce your crash, could you post a sample ?


 
Reply With Quote
 
Jerry
Guest
Posts: n/a
 
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
James Gosling the Creator of EMACS and JAVA - leaves ORACLE - Butthen reports started coming in of odd failures. Systems would crashstrangely. We'd get crashes in applications. All applications. Crashes in thekernel. small Pox C Programming 2 07-22-2010 10:07 PM
Re: [Py2exe-users] py2exe 0.6.9 released Chris Spencer Python 3 12-08-2008 05:17 PM
RE: [Py2exe-users] py2exe 0.6.9 released Mark Hammond Python 0 11-17-2008 05:27 AM
about py2exe, I installed it, but can't find py2exe.exe in my computer. python Python 3 05-22-2006 02:08 PM
[py2exe] py2exe and datetime -> No module named datetime F. GEIGER Python 0 08-16-2004 01:13 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57