py2exe and activex controls
Nico Alberti
n8 at toglimi.langhirano.it
Wed Mar 24 09:10:02 EST 2004
First of all sorry should this be a lame question, I tried to look at a
possible solution in google, but I was not successful.
I am trying to create an .exe of the ActiveXWrapper_Acrobat.py from the
wxPython demo programs. While it runs smoothly in Pythonwin or from the
command line, the executable file I obtain from py2exe does not work and
exits with these error messages:
Traceback (most recent call last):
File "acrobat.py", line 123, in ?
File "acrobat.py", line 119, in __init__
File "acrobat.py", line 41, in __init__
AttributeError: 'NoneType' object has no attribute 'Pdf'
14:53:44: Debug: e:\Projects\wx2.4\src\msw\app.cpp(439):
'UnregisterClass(canvas
)' failed with error 0x00000584 (class has still open windows*.).
14:53:44: Debug: e:\Projects\wx2.4\src\msw\app.cpp(446):
'UnregisterClass(no red
raw canvas)' failed with error 0x00000584 (class has still open windows*.)
Does py2exe need some special tweaking for dealing with wxWindows and/or
ActiveX calls? Any help would be greatly appreciated.
Thanks in advance.
--
Ciao
Nico
* roughly translated. In Italian in the original message.
More information about the Python-list
mailing list