Hi Andrea,
Andrea Gavana wrote:
...
Uhm, by looking at the code logic in GUI2Exe this seems quite
impossible (it's not that I don't believe you
No problems, it happens to me that I don't believe myself
, I just can't see how
this happens). What I do is:
- Read the input stream from the py2exe process => show an informative
message in the log;
- Read the error stream from the py2exe process => show an error
message in the log if the error stream is not empty;
- When the process is finished, show an informative message if the
compilation was succesful, or an error message if the error stream is
not empty.
As this is not happening, I am a bit confused now... what ca you see
if you choose "Builds" => "Show full build output"? Is there any error
message from py2exe?
I'll attach the full output, it looks like it does not get to the end.
Have you tried exporting the setup.py file from
GUI2Exe and running it from the command line?
When I export it and run it from the command line then I have this (only partial, i.e. I won't include the beginning):
**** skipped some of the output ****
skipping byte-compilation of c:\python26\lib\types.py to types.pyc
skipping byte-compilation of c:\python26\lib\unittest.py to unittest.pyc
skipping byte-compilation of c:\python26\lib\urllib.py to urllib.pyc
skipping byte-compilation of c:\python26\lib\urllib2.py to urllib2.pyc
skipping byte-compilation of c:\python26\lib\urlparse.py to urlparse.pyc
skipping byte-compilation of c:\python26\lib\uu.py to uu.pyc
skipping byte-compilation of c:\python26\lib\warnings.py to warnings.pyc
skipping byte-compilation of c:\python26\lib\weakref.py to weakref.pyc
skipping byte-compilation of c:\python26\lib\webbrowser.py to webbrowser.pyc
skipping byte-compilation of c:\python26\lib\xml\__init__.py to xml\__init__.pyc
skipping byte-compilation of c:\python26\lib\xml\parsers\__init__.py to xml\parsers\__init__.py
skipping byte-compilation of c:\python26\lib\xml\parsers\expat.py to xml\parsers\expat.pyc
skipping byte-compilation of c:\python26\lib\xmllib.py to xmllib.pyc
skipping byte-compilation of c:\python26\lib\xmlrpclib.py to xmlrpclib.pyc
*** copy extensions ***
*** copy dlls ***
*** copy data files ***
copying c:\python26\lib\site-packages\py2exe\run.exe -> W:\devTest\gui2exe\dist\GUI2Exe.exe
The following modules appear to be missing
['Carbon', 'Carbon.Files', '_pybsddb', 'bsddb3.dbutils', 'dummy.Process', 'email.utils', 'py2ap
*** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.
Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating system.
OLEAUT32.dll - C:\Windows\system32\OLEAUT32.dll
USER32.dll - C:\Windows\system32\USER32.dll
COMCTL32.dll - C:\Windows\system32\COMCTL32.dll
SHELL32.dll - C:\Windows\system32\SHELL32.dll
KERNEL32.dll - C:\Windows\system32\KERNEL32.dll
WINMM.dll - C:\Windows\system32\WINMM.dll
WSOCK32.dll - C:\Windows\system32\WSOCK32.dll
MSVCP90.dll - c:\python26\MSVCP90.dll
COMDLG32.dll - C:\Windows\system32\COMDLG32.dll
ADVAPI32.dll - C:\Windows\system32\ADVAPI32.dll
WS2_32.dll - C:\Windows\system32\WS2_32.dll
GDI32.dll - C:\Windows\system32\GDI32.dll
ole32.dll - C:\Windows\system32\ole32.dll
gdiplus.dll - c:\python26\lib\site-packages\wx-2.8-msw-unicode\wx\gdiplus.dll
RPCRT4.dll - C:\Windows\system32\RPCRT4.dll
running py2exe
*** searching for required modules ***
*** parsing results ***
creating python loader for extension 'select' (c:\python26\DLLs\select.pyd -> select.pyd)
creating python loader for extension 'unicodedata' (c:\python26\DLLs\unicodedata.pyd -> unicode
creating python loader for extension 'bz2' (c:\python26\DLLs\bz2.pyd -> bz2.pyd)
*** finding dlls needed ***
*** create binaries ***
*** byte compile python files ***
byte-compiling W:\devTest\gui2exe\build\bdist.win32\winexe\temp\bz2.py to bz2.pyc
byte-compiling W:\devTest\gui2exe\build\bdist.win32\winexe\temp\select.py to select.pyc
byte-compiling W:\devTest\gui2exe\build\bdist.win32\winexe\temp\unicodedata.py to unicodedata.p
skipping byte-compilation of c:\python26\lib\StringIO.py to StringIO.pyc
skipping byte-compilation of c:\python26\lib\UserDict.py to UserDict.pyc
skipping byte-compilation of c:\python26\lib\__future__.py to __future__.pyc
skipping byte-compilation of c:\python26\lib\_abcoll.py to _abcoll.pyc
skipping byte-compilation of c:\python26\lib\_strptime.py to _strptime.pyc
skipping byte-compilation of c:\python26\lib\_threading_local.py to _threading_local.pyc
skipping byte-compilation of c:\python26\lib\abc.py to abc.pyc
skipping byte-compilation of c:\python26\lib\atexit.py to atexit.pyc
skipping byte-compilation of c:\python26\lib\base64.py to base64.pyc
skipping byte-compilation of c:\python26\lib\bdb.py to bdb.pyc
skipping byte-compilation of c:\python26\lib\bisect.py to bisect.pyc
skipping byte-compilation of c:\python26\lib\calendar.py to calendar.pyc
skipping byte-compilation of c:\python26\lib\cmd.py to cmd.pyc
skipping byte-compilation of c:\python26\lib\codecs.py to codecs.pyc
skipping byte-compilation of c:\python26\lib\collections.py to collections.pyc
skipping byte-compilation of c:\python26\lib\copy.py to copy.pyc
skipping byte-compilation of c:\python26\lib\copy_reg.py to copy_reg.pyc
skipping byte-compilation of c:\python26\lib\difflib.py to difflib.pyc
skipping byte-compilation of c:\python26\lib\dis.py to dis.pyc
skipping byte-compilation of c:\python26\lib\doctest.py to doctest.pyc
skipping byte-compilation of c:\python26\lib\dummy_thread.py to dummy_thread.pyc
skipping byte-compilation of c:\python26\lib\encodings\__init__.py to encodings\__init__.pyc
skipping byte-compilation of c:\python26\lib\encodings\aliases.py to encodings\aliases.pyc
skipping byte-compilation of c:\python26\lib\encodings\ascii.py to encodings\ascii.pyc
skipping byte-compilation of c:\python26\lib\encodings\base64_codec.py to encodings\base64_code
skipping byte-compilation of c:\python26\lib\encodings\big5.py to encodings\big5.pyc
skipping byte-compilation of c:\python26\lib\encodings\big5hkscs.py to encodings\big5hkscs.pyc
skipping byte-compilation of c:\python26\lib\encodings\bz2_codec.py to encodings\bz2_codec.pyc
skipping byte-compilation of c:\python26\lib\encodings\charmap.py to encodings\charmap.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp037.py to encodings\cp037.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp1006.py to encodings\cp1006.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp1026.py to encodings\cp1026.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp1140.py to encodings\cp1140.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp1250.py to encodings\cp1250.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp1251.py to encodings\cp1251.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp1252.py to encodings\cp1252.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp1253.py to encodings\cp1253.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp1254.py to encodings\cp1254.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp1255.py to encodings\cp1255.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp1256.py to encodings\cp1256.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp1257.py to encodings\cp1257.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp1258.py to encodings\cp1258.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp424.py to encodings\cp424.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp437.py to encodings\cp437.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp500.py to encodings\cp500.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp737.py to encodings\cp737.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp775.py to encodings\cp775.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp850.py to encodings\cp850.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp852.py to encodings\cp852.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp855.py to encodings\cp855.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp856.py to encodings\cp856.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp857.py to encodings\cp857.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp860.py to encodings\cp860.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp861.py to encodings\cp861.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp862.py to encodings\cp862.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp863.py to encodings\cp863.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp864.py to encodings\cp864.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp865.py to encodings\cp865.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp866.py to encodings\cp866.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp869.py to encodings\cp869.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp874.py to encodings\cp874.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp875.py to encodings\cp875.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp932.py to encodings\cp932.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp949.py to encodings\cp949.pyc
skipping byte-compilation of c:\python26\lib\encodings\cp950.py to encodings\cp950.pyc
skipping byte-compilation of c:\python26\lib\encodings\euc_jis_2004.py to encodings\euc_jis_200
skipping byte-compilation of c:\python26\lib\encodings\euc_jisx0213.py to encodings\euc_jisx021
skipping byte-compilation of c:\python26\lib\encodings\euc_jp.py to encodings\euc_jp.pyc
skipping byte-compilation of c:\python26\lib\encodings\euc_kr.py to encodings\euc_kr.pyc
skipping byte-compilation of c:\python26\lib\encodings\gb18030.py to encodings\gb18030.pyc
skipping byte-compilation of c:\python26\lib\encodings\gb2312.py to encodings\gb2312.pyc
skipping byte-compilation of c:\python26\lib\encodings\gbk.py to encodings\gbk.pyc
skipping byte-compilation of c:\python26\lib\encodings\hex_codec.py to encodings\hex_codec.pyc
skipping byte-compilation of c:\python26\lib\encodings\hp_roman8.py to encodings\hp_roman8.pyc
skipping byte-compilation of c:\python26\lib\encodings\hz.py to encodings\hz.pyc
skipping byte-compilation of c:\python26\lib\encodings\idna.py to encodings\idna.pyc
skipping byte-compilation of c:\python26\lib\encodings\iso2022_jp.py to encodings\iso2022_jp.py
skipping byte-compilation of c:\python26\lib\encodings\iso2022_jp_1.py to encodings\iso2022_jp_
skipping byte-compilation of c:\python26\lib\encodings\iso2022_jp_2.py to encodings\iso2022_jp_
skipping byte-compilation of c:\python26\lib\encodings\iso2022_jp_2004.py to encodings\iso2022_
skipping byte-compilation of c:\python26\lib\encodings\iso2022_jp_3.py to encodings\iso2022_jp_
skipping byte-compilation of c:\python26\lib\encodings\iso2022_jp_ext.py to encodings\iso2022_j
skipping byte-compilation of c:\python26\lib\encodings\iso2022_kr.py to encodings\iso2022_kr.py
skipping byte-compilation of c:\python26\lib\encodings\iso8859_1.py to encodings\iso8859_1.pyc
skipping byte-compilation of c:\python26\lib\encodings\iso8859_10.py to encodings\iso8859_10.py
skipping byte-compilation of c:\python26\lib\encodings\iso8859_11.py to encodings\iso8859_11.py
skipping byte-compilation of c:\python26\lib\encodings\iso8859_13.py to encodings\iso8859_13.py
skipping byte-compilation of c:\python26\lib\encodings\iso8859_14.py to encodings\iso8859_14.py
skipping byte-compilation of c:\python26\lib\encodings\iso8859_15.py to encodings\iso8859_15.py
skipping byte-compilation of c:\python26\lib\encodings\iso8859_16.py to encodings\iso8859_16.py
skipping byte-compilation of c:\python26\lib\encodings\iso8859_2.py to encodings\iso8859_2.pyc
skipping byte-compilation of c:\python26\lib\encodings\iso8859_3.py to encodings\iso8859_3.pyc
skipping byte-compilation of c:\python26\lib\encodings\iso8859_4.py to encodings\iso8859_4.pyc
skipping byte-compilation of c:\python26\lib\encodings\iso8859_5.py to encodings\iso8859_5.pyc
skipping byte-compilation of c:\python26\lib\encodings\iso8859_6.py to encodings\iso8859_6.pyc
skipping byte-compilation of c:\python26\lib\encodings\iso8859_7.py to encodings\iso8859_7.pyc
skipping byte-compilation of c:\python26\lib\encodings\iso8859_8.py to encodings\iso8859_8.pyc
skipping byte-compilation of c:\python26\lib\encodings\iso8859_9.py to encodings\iso8859_9.pyc
skipping byte-compilation of c:\python26\lib\encodings\johab.py to encodings\johab.pyc
skipping byte-compilation of c:\python26\lib\encodings\koi8_r.py to encodings\koi8_r.pyc
skipping byte-compilation of c:\python26\lib\encodings\koi8_u.py to encodings\koi8_u.pyc
skipping byte-compilation of c:\python26\lib\encodings\latin_1.py to encodings\latin_1.pyc
skipping byte-compilation of c:\python26\lib\encodings\mac_arabic.py to encodings\mac_arabic.py
skipping byte-compilation of c:\python26\lib\encodings\mac_centeuro.py to encodings\mac_centeur
skipping byte-compilation of c:\python26\lib\encodings\mac_croatian.py to encodings\mac_croatia
skipping byte-compilation of c:\python26\lib\encodings\mac_cyrillic.py to encodings\mac_cyrilli
skipping byte-compilation of c:\python26\lib\encodings\mac_farsi.py to encodings\mac_farsi.pyc
skipping byte-compilation of c:\python26\lib\encodings\mac_greek.py to encodings\mac_greek.pyc
skipping byte-compilation of c:\python26\lib\encodings\mac_iceland.py to encodings\mac_iceland.
skipping byte-compilation of c:\python26\lib\encodings\mac_latin2.py to encodings\mac_latin2.py
skipping byte-compilation of c:\python26\lib\encodings\mac_roman.py to encodings\mac_roman.pyc
skipping byte-compilation of c:\python26\lib\encodings\mac_romanian.py to encodings\mac_romania
skipping byte-compilation of c:\python26\lib\encodings\mac_turkish.py to encodings\mac_turkish.
skipping byte-compilation of c:\python26\lib\encodings\mbcs.py to encodings\mbcs.pyc
skipping byte-compilation of c:\python26\lib\encodings\palmos.py to encodings\palmos.pyc
skipping byte-compilation of c:\python26\lib\encodings\ptcp154.py to encodings\ptcp154.pyc
skipping byte-compilation of c:\python26\lib\encodings\punycode.py to encodings\punycode.pyc
skipping byte-compilation of c:\python26\lib\encodings\quopri_codec.py to encodings\quopri_code
skipping byte-compilation of c:\python26\lib\encodings\raw_unicode_escape.py to encodings\raw_u
skipping byte-compilation of c:\python26\lib\encodings\rot_13.py to encodings\rot_13.pyc
skipping byte-compilation of c:\python26\lib\encodings\shift_jis.py to encodings\shift_jis.pyc
skipping byte-compilation of c:\python26\lib\encodings\shift_jis_2004.py to encodings\shift_jis
skipping byte-compilation of c:\python26\lib\encodings\shift_jisx0213.py to encodings\shift_jis
skipping byte-compilation of c:\python26\lib\encodings\string_escape.py to encodings\string_esc
skipping byte-compilation of c:\python26\lib\encodings\tis_620.py to encodings\tis_620.pyc
skipping byte-compilation of c:\python26\lib\encodings\undefined.py to encodings\undefined.pyc
skipping byte-compilation of c:\python26\lib\encodings\unicode_escape.py to encodings\unicode_e
skipping byte-compilation of c:\python26\lib\encodings\unicode_internal.py to encodings\unicode
skipping byte-compilation of c:\python26\lib\encodings\utf_16.py to encodings\utf_16.pyc
skipping byte-compilation of c:\python26\lib\encodings\utf_16_be.py to encodings\utf_16_be.pyc
skipping byte-compilation of c:\python26\lib\encodings\utf_16_le.py to encodings\utf_16_le.pyc
skipping byte-compilation of c:\python26\lib\encodings\utf_32.py to encodings\utf_32.pyc
skipping byte-compilation of c:\python26\lib\encodings\utf_32_be.py to encodings\utf_32_be.pyc
skipping byte-compilation of c:\python26\lib\encodings\utf_32_le.py to encodings\utf_32_le.pyc
skipping byte-compilation of c:\python26\lib\encodings\utf_7.py to encodings\utf_7.pyc
skipping byte-compilation of c:\python26\lib\encodings\utf_8.py to encodings\utf_8.pyc
skipping byte-compilation of c:\python26\lib\encodings\utf_8_sig.py to encodings\utf_8_sig.pyc
skipping byte-compilation of c:\python26\lib\encodings\uu_codec.py to encodings\uu_codec.pyc
skipping byte-compilation of c:\python26\lib\encodings\zlib_codec.py to encodings\zlib_codec.py
skipping byte-compilation of c:\python26\lib\functools.py to functools.pyc
skipping byte-compilation of c:\python26\lib\genericpath.py to genericpath.pyc
skipping byte-compilation of c:\python26\lib\getopt.py to getopt.pyc
skipping byte-compilation of c:\python26\lib\gettext.py to gettext.pyc
skipping byte-compilation of c:\python26\lib\heapq.py to heapq.pyc
skipping byte-compilation of c:\python26\lib\inspect.py to inspect.pyc
skipping byte-compilation of c:\python26\lib\keyword.py to keyword.pyc
skipping byte-compilation of c:\python26\lib\linecache.py to linecache.pyc
skipping byte-compilation of c:\python26\lib\locale.py to locale.pyc
skipping byte-compilation of c:\python26\lib\ntpath.py to ntpath.pyc
skipping byte-compilation of c:\python26\lib\opcode.py to opcode.pyc
skipping byte-compilation of c:\python26\lib\optparse.py to optparse.pyc
skipping byte-compilation of c:\python26\lib\os.py to os.pyc
skipping byte-compilation of c:\python26\lib\os2emxpath.py to os2emxpath.pyc
skipping byte-compilation of c:\python26\lib\pdb.py to pdb.pyc
skipping byte-compilation of c:\python26\lib\pickle.py to pickle.pyc
skipping byte-compilation of c:\python26\lib\posixpath.py to posixpath.pyc
skipping byte-compilation of c:\python26\lib\pprint.py to pprint.pyc
skipping byte-compilation of c:\python26\lib\quopri.py to quopri.pyc
skipping byte-compilation of c:\python26\lib\random.py to random.pyc
skipping byte-compilation of c:\python26\lib\re.py to re.pyc
skipping byte-compilation of c:\python26\lib\repr.py to repr.pyc
skipping byte-compilation of c:\python26\lib\shlex.py to shlex.pyc
skipping byte-compilation of c:\python26\lib\sre.py to sre.pyc
skipping byte-compilation of c:\python26\lib\sre_compile.py to sre_compile.pyc
skipping byte-compilation of c:\python26\lib\sre_constants.py to sre_constants.pyc
skipping byte-compilation of c:\python26\lib\sre_parse.py to sre_parse.pyc
skipping byte-compilation of c:\python26\lib\stat.py to stat.pyc
skipping byte-compilation of c:\python26\lib\string.py to string.pyc
skipping byte-compilation of c:\python26\lib\stringprep.py to stringprep.pyc
skipping byte-compilation of c:\python26\lib\struct.py to struct.pyc
skipping byte-compilation of c:\python26\lib\subprocess.py to subprocess.pyc
skipping byte-compilation of c:\python26\lib\tempfile.py to tempfile.pyc
skipping byte-compilation of c:\python26\lib\textwrap.py to textwrap.pyc
skipping byte-compilation of c:\python26\lib\threading.py to threading.pyc
skipping byte-compilation of c:\python26\lib\token.py to token.pyc
skipping byte-compilation of c:\python26\lib\tokenize.py to tokenize.pyc
skipping byte-compilation of c:\python26\lib\traceback.py to traceback.pyc
skipping byte-compilation of c:\python26\lib\types.py to types.pyc
skipping byte-compilation of c:\python26\lib\unittest.py to unittest.pyc
skipping byte-compilation of c:\python26\lib\warnings.py to warnings.pyc
*** copy extensions ***
*** copy dlls ***
*** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.
Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating system.
WSOCK32.dll - C:\Windows\system32\WSOCK32.dll
USER32.dll - C:\Windows\system32\USER32.dll
ADVAPI32.dll - C:\Windows\system32\ADVAPI32.dll
SHELL32.dll - C:\Windows\system32\SHELL32.dll
KERNEL32.dll - C:\Windows\system32\KERNEL32.dll
Hope this is helpful
Werner
BuildOutput.txt (31.3 KB)