I've had to comment out my wxversion.checkInstalled for my application
to run with Py2EXE. However, I'm building with the correct version
number that I'm checking for, why should this fail?
I found this code here,
http://dialogue-act-editor.googlecode.com/svn/trunk/dae.py - where a
translated comment says how it fails when built with py2exe, but I can't
find any other people with the issue.
It's only a minor issue, but I'm using checkInstalled in two locations
and having to comment them out each time is a nuisance.
I'm also having a lot of trouble getting my MediaCtrl to run. I can
compile my application, but get the following error:
Traceback (most recent call last):
File "gui.py", line 62, in <module>
from whyteboard import Whyteboard
File "zipextimporter.pyo", line 82, in load_module
File "whyteboard.pyo", line 54, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "tools.pyo", line 33, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "panels.pyo", line 28, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\media.pyo", line 8, in <module>
File "zipextimporter.pyo", line 98, in load_module
ImportError: MemoryLoadLibrary failed loading wx\_media.pyd
Googling has revealed that placing the MSVCP71.DLL and msvcr71.dll's
into my applications directory should help, but the same error comes up.
I am using bundle_files=1, however I saw some suggestion online to use
#3. I changed to that, and the application seems to load but a different
traceback comes up.
Traceback (most recent call last):
File "gui.py", line 62, in <module>
from whyteboard import Whyteboard
File "whyteboard.pyo", line 54, in <module>
File "tools.pyo", line 33, in <module>
File "panels.pyo", line 28, in <module>
File "wx\media.pyo", line 8, in <module>
File "wx\_media.pyo", line 12, in <module>
File "wx\_media.pyo", line 10, in __load
ImportError: DLL load failed: The specified module could not be found.
With bundle=1 the error comes up much quicker than #3. I've ensured both
msvcp/r are included; tried with both capital letters/lowercase. I don't
really know where to go from here, does anyone have any suggestions?
--
Steven Sproat, BSc
http://www.basicrpg.com/