This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Problem packaging wx application with py2exe.
Type: Stage:
Components: None Versions: Python 2.5
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: brett.cannon, indy90, josiahcarlson
Priority: normal Keywords:

Created on 2007-01-17 18:10 by indy90, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg31062 - (view) Author: Indy (indy90) Date: 2007-01-17 18:10
I have created a minimal wx application, which runs fine. However, when I package it with py2exe and I try to run the .exe file, an error occurs, the program crashes (before even starting) and a pop-up box says to look at the log file for the error trace. It says that wx/_core_.pyd failed to be loaded (this file exists in my filesystem - I have checked). When I skip "zipfile = None" in the setup() function, another pop-up box also appears, and says that a DLL failed to be loaded.

Python 2.5
wxPython 2.8.0.1
py2exe 0.6.6
msg31063 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2007-01-17 18:40
This is the bug tracker for the Python programming language.  Please report this issue to the py2exe development team.
msg31064 - (view) Author: Josiah Carlson (josiahcarlson) * (Python triager) Date: 2007-01-20 18:27
For reference, this may or may not be related to having gdiplus.dll and/or the msvcrt71.dll (or something like that) in the same path as the executable that runs your program.  Try to move those into the same path as the executable you are trying to run and see if that helps.  If it doesn't, feel free to post on the wxPython-users@lists.wxwidgets.org mailing list.
History
Date User Action Args
2022-04-11 14:56:22adminsetgithub: 44483
2007-01-17 18:10:58indy90create