py2exe 0.6.2 released

Bugs dont at spam.me
Wed Sep 7 13:36:49 EDT 2005


As a big test of Thomas's excellent work with py2exe, I tried to create 
a single-file executable of the wxPython demo (demo.py).
The executable was built (5.3MB) but gets a C++ runtime error when I try 
to execute?

Here's the log:
Traceback (most recent call last):
   File "demo.py", line 4, in ?
   File "Main.pyo", line 1738, in main
   File "wx\_core.pyo", line 7473, in __init__
   File "wx\_core.pyo", line 7125, in _BootstrapApp
   File "Main.pyo", line 1723, in OnInit
   File "Main.pyo", line 1677, in __init__
   File "wx\_core.pyo", line 2889, in ConvertToBitmap
wx._core.PyAssertionError: C++ assertion "wxAssertFailure" failed in 
..\..\src\msw\bitmap.cpp(822): invalid image

I'm brand new to py2exe so I'm not sure if I'm using it properly.  I 
created the executable by using the samples\singlefile\gui\setup.py and 
just updated script = "demo.py".  Then I ran the script as follows:
 > python setup.py py2exe --bundle 1

Correct?



More information about the Python-list mailing list