Hi Mike,
Recently I began my journey into creating executables. I am using Andrea
Gavana's cool GUI2EXE program which works very well (thanks Andrea!).
I am glad you like it
also using Inno Setup to create an install script/executable. Anyway,
today I am putting the program to the test with some volunteer testers and
I've hit a wall. The first tester's PC the program installed on
beautifully and runs great. The next tester's PC, the program failed to
run complaining that MSVCR71.dll didn't exist. I copied that folder on
there and now I get the following traceback written to my exe's log file:Traceback (most recent call last):
File "reminder.py", line 23, in ?
File "zipextimporter.pyo", line 78, in load_module
File "wx\__init__.pyo", line 45, in ?
File "zipextimporter.pyo", line 78, in load_module
File "wx\_core.pyo", line 4, in ?
File "zipextimporter.pyo", line 91, in load_module
ImportError: MemoryLoadLibrary failed loading wx\_core_.pydI see other user's have this issue too sometimes and they talk a lot about
a "gdiplus.dll" file. My user's PC has that file in 4 places on her
computer and my development PC has it in 6 places. Does either DLL have to
be in a specific location for the executable to find it? Is this something
else entirely?
The first thing I would try is to explicitely add "gdiplus.dll" as
Dll_Include inside GUI2Exe (or to include it in your distribution
folder). I am not sure this will fix the problem.
Anyway, which version of py2exe are you using? Someone posted a patch
to correct this problem in the py2exe Wiki but it is not that obvious
(to me) how to apply that patch, as it involves C/C++ code and thus a
re-compilation of py2exe...
However, it looks like this problem appears in a random way, sometimes
on very similar machines
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
···
On 7/5/07, Mike Driscoll wrote: