"Bad file descriptor" after py2exe or Installer
Luc Saffre
luc.saffre at gmx.net
Fri Dec 12 03:38:27 EST 2003
More information about the Python-list mailing list
Fri Dec 12 03:38:27 EST 2003
- Previous message (by thread): Make $$ now quick. THIS WORKS I SWEAR TO IT!! paid my tuition
- Next message (by thread): "Bad file descriptor" after py2exe or Installer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 11/12/2003 23:11, Thomas Heller wrote: > It seems I cannot reproduce this with py2exe 0.5. > Can you? Yes: I use py2exe 0.5.0a5. Here is in more detailed, how I reproduce the problem: I used the following installers: Python-2.3.3c1.exe PIL-1.1.4.win32-py2.3.exe py2exe-0.5.0a5.win32-py2.3.exe I installed these three to a clean installation (except for my windows registry where I don't know how to verify cleaness) I place the test.py as described into a separate directory, together with a file setup.py: from distutils.core import setup import py2exe setup( console=["test.py"] ) and then I type "setup py2exe" at the command line. Here is the output of that command: running py2exe *** searching for required modules *** *** parsing results *** creating python loader for extension '_sre' creating python loader for extension 'PIL._imaging' creating python loader for extension '_tkinter' creating python loader for extension 'PIL._imagingtk' *** finding dlls needed *** *** create binaries *** *** byte compile python files *** skipping byte-compilation of C:\PYTHON23\lib\site-packages\PIL\PaletteFile.py to PIL\PaletteFile.pyc skipping byte-compilation of C:\PYTHON23\lib\lib-tk\FixTk.py to FixTk.pyc skipping byte-compilation of C:\PYTHON23\lib\copy_reg.py to copy_reg.pyc skipping byte-compilation of C:\PYTHON23\lib\sre_compile.py to sre_compile.pyc skipping byte-compilation of C:\PYTHON23\lib\site-packages\PIL\ImageChops.py to PIL\ImageChops.pyc skipping byte-compilation of C:\PYTHON23\lib\StringIO.py to StringIO.pyc byte-compiling T:\data\luc\release\lino\tests\py2exe\build\bdist.win32\winexe\temp\_sre.py to _sre.pyc skipping byte-compilation of C:\PYTHON23\lib\macpath.py to macpath.pyc skipping byte-compilation of C:\PYTHON23\lib\popen2.py to popen2.pyc skipping byte-compilation of C:\PYTHON23\lib\atexit.py to atexit.pyc skipping byte-compilation of C:\PYTHON23\lib\dummy_thread.py to dummy_thread.pyc byte-compiling T:\data\luc\release\lino\tests\py2exe\build\bdist.win32\winexe\temp\PIL._imaging.py to PIL\_imaging.pyc skipping byte-compilation of C:\PYTHON23\lib\site-packages\PIL\ImageFilter.py to PIL\ImageFilter.pyc skipping byte-compilation of C:\PYTHON23\lib\site-packages\PIL\GimpGradientFile.py to PIL\GimpGradientFile.pyc skipping byte-compilation of C:\PYTHON23\lib\site-packages\PIL\__init__.py to PIL\__init__.pyc skipping byte-compilation of C:\PYTHON23\lib\posixpath.py to posixpath.pyc byte-compiling T:\data\luc\release\lino\tests\py2exe\build\bdist.win32\winexe\temp\_tkinter.py to _tkinter.pyc skipping byte-compilation of C:\PYTHON23\lib\linecache.py to linecache.pyc skipping byte-compilation of C:\PYTHON23\lib\tempfile.py to tempfile.pyc skipping byte-compilation of C:\PYTHON23\lib\site-packages\PIL\GimpPaletteFile.py to PIL\GimpPaletteFile.pyc skipping byte-compilation of C:\PYTHON23\lib\sre_constants.py to sre_constants.pyc skipping byte-compilation of C:\PYTHON23\lib\re.py to re.pyc skipping byte-compilation of C:\PYTHON23\lib\ntpath.py to ntpath.pyc skipping byte-compilation of C:\PYTHON23\lib\stat.py to stat.pyc skipping byte-compilation of C:\PYTHON23\lib\site-packages\PIL\ImagePalette.py to PIL\ImagePalette.pyc skipping byte-compilation of C:\PYTHON23\lib\lib-tk\Tkinter.py to Tkinter.pyc skipping byte-compilation of C:\PYTHON23\lib\string.py to string.pyc skipping byte-compilation of C:\PYTHON23\lib\warnings.py to warnings.pyc skipping byte-compilation of C:\PYTHON23\lib\UserDict.py to UserDict.pyc skipping byte-compilation of C:\PYTHON23\lib\site-packages\PIL\Image.py to PIL\Image.pyc skipping byte-compilation of C:\PYTHON23\lib\repr.py to repr.pyc byte-compiling T:\data\luc\release\lino\tests\py2exe\build\bdist.win32\winexe\temp\PIL._imagingtk.py to PIL\_imagingtk.pyc skipping byte-compilation of C:\PYTHON23\lib\site-packages\PIL\ImageTk.py to PIL\ImageTk.pyc skipping byte-compilation of C:\PYTHON23\lib\site-packages\PIL\ImageTransform.py to PIL\ImageTransform.pyc skipping byte-compilation of C:\PYTHON23\lib\copy.py to copy.pyc skipping byte-compilation of C:\PYTHON23\lib\site-packages\PIL\ImageColor.py to PIL\ImageColor.pyc skipping byte-compilation of C:\PYTHON23\lib\types.py to types.pyc skipping byte-compilation of C:\PYTHON23\lib\sre.py to sre.pyc skipping byte-compilation of C:\PYTHON23\lib\traceback.py to traceback.pyc skipping byte-compilation of C:\PYTHON23\lib\lib-tk\Tkconstants.py to Tkconstants.pyc skipping byte-compilation of C:\PYTHON23\lib\random.py to random.pyc skipping byte-compilation of C:\PYTHON23\lib\os2emxpath.py to os2emxpath.pyc skipping byte-compilation of C:\PYTHON23\lib\colorsys.py to colorsys.pyc skipping byte-compilation of C:\PYTHON23\lib\sre_parse.py to sre_parse.pyc skipping byte-compilation of C:\PYTHON23\lib\os.py to os.pyc *** copy extensions *** copying C:\PYTHON23\DLLs\_sre.pyd -> T:\data\luc\release\lino\tests\py2exe\dist copying C:\PYTHON23\lib\site-packages\PIL\_imaging.pyd -> T:\data\luc\release\lino\tests\py2exe\dist copying C:\PYTHON23\DLLs\_tkinter.pyd -> T:\data\luc\release\lino\tests\py2exe\dist copying C:\PYTHON23\lib\site-packages\PIL\_imagingtk.pyd -> T:\data\luc\release\lino\tests\py2exe\dist *** copy dlls *** copying u:\CYGWIN\BIN\cygwin1.dll -> T:\data\luc\release\lino\tests\py2exe\dist copying u:\CYGWIN\BIN\tk84.dll -> T:\data\luc\release\lino\tests\py2exe\dist copying C:\WINNT\System32\python23.dll -> T:\data\luc\release\lino\tests\py2exe\dist copying C:\PYTHON23\DLLs\tcl84.dll -> T:\data\luc\release\lino\tests\py2exe\dist copying u:\CYGWIN\BIN\tcl84.dll -> T:\data\luc\release\lino\tests\py2exe\dist copying C:\PYTHON23\lib\site-packages\py2exe\run.exe -> T:\data\luc\release\lino\tests\py2exe\dist\test.exe copying C:\PYTHON23\lib\site-packages\py2exe\run_w.exe -> T:\data\luc\release\lino\tests\py2exe\dist\tkhello.exe Afterwards the dist\test.exe shows the described behavious. I hope that you (or somebody else) can now reproduce the problem. TIA, Luc
- Previous message (by thread): Make $$ now quick. THIS WORKS I SWEAR TO IT!! paid my tuition
- Next message (by thread): "Bad file descriptor" after py2exe or Installer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list