Hi, On 08.12.2010 13:52, Wolfgang Langner wrote: > Hi, > > further test showed that every module imported by cx_Freeze in the finder and > freezer is not handled correctly if it is a normal "*.py" module. > > This is because the already imported modules have no code object > and no path attached. > > Some examples are: > traceback.py > struct.py > ... > > If one of these modules is used by the frozen executable an ImportError > happens and the application fails to start. > > I don't know why this happened. > > Testenvironment: Linux 64bit custom build Python 2.7.1 cx_Freeze svn trunk as > of today. > To be save frozen apps are generated with python -S (no site.py import, so no > side effect can happen ;-) )
Thanks Anthony I found my problem. I use a local Python interpreter (no system wide installation). For testing I changed the base to "ConsoleKeepPath" and forgot to change it back to base="Console" in the config. The result was an executable with not all packages included. Regards, Wolfgang ------------------------------------------------------------------------------ This SF Dev2Dev email is sponsored by: WikiLeaks The End of the Free Internet http://p.sf.net/sfu/therealnews-com _______________________________________________ cx-freeze-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
