Differences between revisions 1 and 2
Revision 1 as of 2007-02-02 21:50:50
Size: 776
Editor: THeller
Comment:
Revision 2 as of 2007-02-02 21:54:34
Size: 1412
Editor: THeller
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 - When a single file executable is renamed, it does not work any longer. This is because the filename is hardcoded into the exe (to determine sys.path from it). You will get a traceback like this, because even the imports in the boot_script fail:  - '''When a single file executable is renamed, it does not work any longer.''' This is because the filename is hardcoded into the exe (to determine sys.path from it). You will get a traceback like this, because even the imports in the boot_script fail:
Line 5: Line 5:
   {{{  {{{
Line 19: Line 19:
   }}}  }}}


 - '''Error reporting in MemoryLoadLibrary must be improved.''' When MemoryLoadLibrary fails because it cannot find a required DLL (for example), it is impossible to diagnose the problem. This is from a post to the py2exe-users mailing list:

 {{{
Traceback (most recent call last):
  File "Wk2000.py", line 3, in ?
  File "zipextimporter.pyo", line 82, in load_module
  File "wx\__init__.pyo", line 45, in ?
  File "zipextimporter.pyo", line 82, in load_module
  File "wx\_core.pyo", line 4, in ?
  File "zipextimporter.pyo", line 98, in load_module
ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd
 }}}

Problems in py2exe 0.6.6 that should be fixed:

  • - When a single file executable is renamed, it does not work any longer. This is because the filename is hardcoded into the exe (to determine sys.path from it). You will get a traceback like this, because even the imports in the boot_script fail:

    C:\sample\dist>sample
    Traceback (most recent call last):
      File "c:\python23\lib\site-packages\py2exe\boot_common.py", line 69, in ?
        import linecache
    ImportError: No module named linecache
    Traceback (most recent call last):
      File "<install zipextimporter>", line 1, in ?
    ImportError: No module named zipextimporter
    Traceback (most recent call last):
      File "console.py", line 1, in ?
    ImportError: No module named os
    
    C:\sample\dist>

    - Error reporting in MemoryLoadLibrary must be improved. When MemoryLoadLibrary fails because it cannot find a required DLL (for example), it is impossible to diagnose the problem. This is from a post to the py2exe-users mailing list:

    Traceback (most recent call last):
      File "Wk2000.py", line 3, in ?
      File "zipextimporter.pyo", line 82, in load_module
      File "wx\__init__.pyo", line 45, in ?
      File "zipextimporter.pyo", line 82, in load_module
      File "wx\_core.pyo", line 4, in ?
      File "zipextimporter.pyo", line 98, in load_module
    ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd

ProblemsToBeFixed (last edited 2013-08-27 16:54:42 by JimmyRetzlaff)