the program i was turning into exe is tyng2.py
"c:\python23\python C:\Python23\tyng2_setup.py py2exe
creating C:\Documents and Settings\uq\build
creating C:\Documents and Settings\uq\build\bdist.win32
creating C:\Documents and Settings\uq\build\bdist.win32\winexe
creating C:\Documents and Settings\uq\build\bdist.win32\winexe\collect
creating C:\Documents and Settings\uq\build\bdist.win32\winexe\temp
*** searching for required modules ***
*** parsing results ***
creating python loader for extension '_sre'
*** finding dlls needed ***
*** create binaries ***
*** byte compile python files ***
byte-compiling C:\Documents and Settings\uq\build\bdist.win32\winexe\temp\_sre.
py to _sre.pyc
byte-compiling c:\python23\lib\UserDict.py to UserDict.pyc
byte-compiling c:\python23\lib\atexit.py to atexit.pyc
byte-compiling c:\python23\lib\copy.py to copy.pyc
byte-compiling c:\python23\lib\copy_reg.py to copy_reg.pyc
byte-compiling c:\python23\lib\linecache.py to linecache.pyc
byte-compiling c:\python23\lib\macpath.py to macpath.pyc
byte-compiling c:\python23\lib\ntpath.py to ntpath.pyc
byte-compiling c:\python23\lib\os.py to os.pyc
byte-compiling c:\python23\lib\os2emxpath.py to os2emxpath.pyc
byte-compiling c:\python23\lib\popen2.py to popen2.pyc
byte-compiling c:\python23\lib\posixpath.py to posixpath.pyc
byte-compiling c:\python23\lib\re.py to re.pyc
byte-compiling c:\python23\lib\repr.py to repr.pyc
byte-compiling c:\python23\lib\sre.py to sre.pyc
byte-compiling c:\python23\lib\sre_compile.py to sre_compile.pyc
byte-compiling c:\python23\lib\sre_constants.py to sre_constants.pyc
byte-compiling c:\python23\lib\sre_parse.py to sre_parse.pyc
byte-compiling c:\python23\lib\stat.py to stat.pyc
byte-compiling c:\python23\lib\string.py to string.pyc
byte-compiling c:\python23\lib\types.py to types.pyc
byte-compiling c:\python23\lib\warnings.py to warnings.pyc
*** copy extensions ***
copying c:\python23\DLLs\_sre.pyd -> C:\Documents and Settings\uq\dist
*** copy dlls ***
copying c:\python23\w9xpopen.exe -> C:\Documents and Settings\uq\dist
copying C:\WINDOWS\System32\python23.dll -> C:\Documents and Settings\uq\dist
setting sys.winver for 'C:\Documents and Settings\uq\dist\python23.dll' to 'tyn
copying c:\python23\lib\site-packages\py2exe\run_w.exe -> C:\Documents and
seems ok so far?
but when i try to open the file (documents&settings\uq\dist\tyng2.exe
error message (title: errors occurred) "see the logfile 'c:\documents and
settings\uq\dist\tyng2.exe.log' for details" is displayed.
the logfile says:
"Traceback (most recent call last):
File "tyng2.py", line 2, in ?
EOFError: EOF when reading a line"
the other files created were _sre.pyd, library.zip, python23.dll, w9xpopen.exe
the last one says, when launched, "this program is used by Python's os.popen
function to work around a limitation in windows 95/98. It is not designed to
be used as a stand-alone program." so it's not supposed to work
why doesn't tyng2.exe?
From: Chris Liechti <cliechti@gm...> - 2004-08-15 11:55:45
uq civediv wrote:
> the program i was turning into exe is tyng2.py
> but when i try to open the file (documents&settings\uq\dist\tyng2.exe
> error message (title: errors occurred) "see the logfile 'c:\documents and
> settings\uq\dist\tyng2.exe.log' for details" is displayed.
messages to sys.stderr get redirected to that file, including tracebacks
of exceptions that your program produces.
> the logfile says:
> "Traceback (most recent call last):
> File "tyng2.py", line 2, in ?
> EOFError: EOF when reading a line"
and whats on line 2 of your script?
you seem to work wil files in your script. are these files found, the