wxpython python 2.6.2 and py2exe sometimes nogo

on some XP systems where I am trying to deploy my app it will not run. I
ran filemon on the system and compared it with a trace from a system
where it does work.

The difference is apparently in some context because the system where it
works after _core_.pyd is loaded a bunch of wx dlls are loaded. The
other system apparently does not know where to start looking and bombs out.

does anyone have experience in solving this?

Paul

···

--
Paul Sijben tel: +31334566488
Eemvalley Technology BV fax: +31334557523
the Netherlands http://eemvalley.com
-----------------------------------------------------
EemValley Technology werft python & wxpython
programmeurs: http://www.eemvalley.nl/jobs

Hi

I’m not sure if it’s the same thing but I’m had a similar issue with py2exe and dll’s and came across the following bug:

http://bugs.python.org/issue4566

There’s a patch at the top but I wasn’t sure how to implement it.

Hope it’s helps

Wayne

···

On Fri, Apr 17, 2009 at 9:37 AM, Paul Sijben sijben@eemvalley.com wrote:

on some XP systems where I am trying to deploy my app it will not run. I

ran filemon on the system and compared it with a trace from a system

where it does work.

The difference is apparently in some context because the system where it

works after core.pyd is loaded a bunch of wx dlls are loaded. The

other system apparently does not know where to start looking and bombs out.

does anyone have experience in solving this?

Paul

Paul Sijben tel: +31334566488

Eemvalley Technology BV fax: +31334557523

the Netherlands http://eemvalley.com


EemValley Technology werft python & wxpython

programmeurs: http://www.eemvalley.nl/jobs


wxpython-users mailing list

wxpython-users@lists.wxwidgets.org

http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

Hi Paul,

on some XP systems where I am trying to deploy my app it will not run. I
ran filemon on the system and compared it with a trace from a system
where it does work.

The difference is apparently in some context because the system where it
works after _core_.pyd is loaded a bunch of wx dlls are loaded. The
other system apparently does not know where to start looking and bombs out.

does anyone have experience in solving this?

Paul

I had this issue too. I discovered that as long as I included the following dlls in the same folder as my executable, it worked:

gdiplus.dll
msvcp71.dll
MSVCR71.dll

Well, it worked most of the time. I think when I upgraded py2exe, this didn't always work. I found that some PCs don't like it when I bundled everything into one exe (bundle option = 1), so I changed the bundle option to 3 and it worked. Of course, that means there's a bunch more files, but since I create an installer with Inno Setup, it doesn't really matter to me.

···

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org