Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not build / compile exe #1

Open
Kasara opened this issue May 2, 2014 · 0 comments
Open

Could not build / compile exe #1

Kasara opened this issue May 2, 2014 · 0 comments

Comments

@Kasara
Copy link

Kasara commented May 2, 2014

Hello Lynx3d,

I've tried everything, but the exe-files I could create are not functional and the "warnpylotro.txt" is big (see below)

C:\pyinstaller> python pyinstaller.py C:\pyinstaller\PyLotRO\pylotro.spec

After installing the Qt library () the output changed to one below.

I hope, you could help me.

Output:
++++++++++++++++++

C:\pyinstaller>python pyinstaller.py C:\pyinstaller\PyLotRO\pylotro.spec
123 INFO: Testing for ability to set icons, version resources...
180 INFO: ... resource update available
189 INFO: UPX is not available.
223 INFO: Processing hook hook-os
434 INFO: Processing hook hook-time
440 INFO: Processing hook hook-cPickle
539 INFO: Processing hook hook-_sre
746 INFO: Processing hook hook-cStringIO
886 INFO: Processing hook hook-encodings
906 INFO: Processing hook hook-codecs
1630 WARNING: Ignoring obsolete auto-added script C:\pyinstaller\support_mountz
lib.py
1630 WARNING: Ignoring obsolete auto-added script C:\pyinstaller\support\useUnic
ode.py
1630 INFO: Extending PYTHONPATH with C:\pyinstaller\support
1631 INFO: Extending PYTHONPATH with C:\pyinstaller\support
1631 INFO: Extending PYTHONPATH with C:\pyinstaller\PyLotRO
1631 INFO: checking Analysis
1631 INFO: building Analysis because out00-Analysis.toc non existent
1631 INFO: running Analysis out00-Analysis.toc
1631 INFO: Adding Microsoft.VC90.CRT to dependent assemblies of final executable

1730 INFO: Searching for assembly x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21
022.8_none ...
1730 INFO: Found manifest C:\Windows\WinSxS\Manifests\x86_microsoft.vc90.crt_1fc
8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91.manifest
1733 INFO: Searching for file msvcr90.dll
1733 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_
9.0.21022.8_none_bcb86ed6ac711f91\msvcr90.dll
1733 INFO: Searching for file msvcp90.dll
1733 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_
9.0.21022.8_none_bcb86ed6ac711f91\msvcp90.dll
1733 INFO: Searching for file msvcm90.dll
1735 INFO: Found file C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_
9.0.21022.8_none_bcb86ed6ac711f91\msvcm90.dll
1825 INFO: Analyzing C:\pyinstaller\PyInstaller\loader_pyi_bootstrap.py
1845 INFO: Processing hook hook-os
1868 INFO: Processing hook hook-site
1896 INFO: Processing hook hook-encodings
2107 INFO: Processing hook hook-time
2115 INFO: Processing hook hook-cPickle
2219 INFO: Processing hook hook-_sre
2437 INFO: Processing hook hook-cStringIO
2594 INFO: Processing hook hook-codecs
3368 INFO: Processing hook hook-pydoc
3618 INFO: Processing hook hook-email
3730 INFO: Processing hook hook-httplib
3792 INFO: Processing hook hook-email.message
3940 INFO: Analyzing C:\pyinstaller\PyInstaller\loader\pyi_importers.py
4091 INFO: Analyzing C:\pyinstaller\PyInstaller\loader\pyi_archive.py
4219 INFO: Analyzing C:\pyinstaller\PyInstaller\loader\pyi_carchive.py
4347 INFO: Analyzing C:\pyinstaller\PyInstaller\loader\pyi_os_path.py
4371 INFO: Analyzing PyLotRO/pylotro
4437 INFO: Processing hook hook-PyQt4
4439 INFO: Processing hook hook-PyQt4.QtCore
4567 INFO: Processing hook hook-PyQt4.QtWebKit
4633 INFO: Processing hook hook-PyQt4.uic
4641 INFO: Processing hook hook-PyQt4.QtGui
5286 INFO: Processing hook hook-PyQt4.QtNetwork
5417 INFO: Processing hook hook-xml
5529 INFO: Processing hook hook-xml.dom
5689 INFO: Processing hook hook-xml.sax
5878 INFO: Processing hook hook-pyexpat
5897 INFO: Processing hook hook-xml.dom.domreg
6111 INFO: Processing hook hook-PyQt4.uic.port_v3
6118 INFO: Processing hook hook-PyQt4.uic.port_v2
6398 INFO: Hidden import 'codecs' has been found otherwise
6399 INFO: Hidden import 'encodings' has been found otherwise
6399 INFO: Looking for run-time hooks
6400 INFO: Analyzing rthook C:\pyinstaller\PyInstaller\loader\rthooks\pyi_rth_qt
4plugins.py
6907 WARNING: lib not found: QtNetwork4.dll dependency of C:/Python27/Lib/site-p
ackages/PyQt4/plugins\bearer\qgenericbearer4.dll
7016 WARNING: lib not found: QtCore4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\bearer\qgenericbearer4.dll
7161 WARNING: lib not found: QtNetwork4.dll dependency of C:/Python27/Lib/site-p
ackages/PyQt4/plugins\bearer\qnativewifibearer4.dll
7271 WARNING: lib not found: QtCore4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\bearer\qnativewifibearer4.dll
7962 WARNING: lib not found: QtCore4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\codecs\qcncodecs4.dll
8093 WARNING: lib not found: QtCore4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\codecs\qjpcodecs4.dll
8223 WARNING: lib not found: QtCore4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\codecs\qkrcodecs4.dll
8350 WARNING: lib not found: QtCore4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\codecs\qtwcodecs4.dll
10282 WARNING: lib not found: QtGui4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\accessible\qtaccessiblewidgets4.dll
10393 WARNING: lib not found: QtCore4.dll dependency of C:/Python27/Lib/site-pac
kages/PyQt4/plugins\accessible\qtaccessiblewidgets4.dll
10529 WARNING: lib not found: QtGui4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\iconengines\qsvgicon4.dll
10641 WARNING: lib not found: QtSvg4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\iconengines\qsvgicon4.dll
10750 WARNING: lib not found: QtCore4.dll dependency of C:/Python27/Lib/site-pac
kages/PyQt4/plugins\iconengines\qsvgicon4.dll
10914 WARNING: lib not found: QtGui4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\imageformats\qgif4.dll
11026 WARNING: lib not found: QtCore4.dll dependency of C:/Python27/Lib/site-pac
kages/PyQt4/plugins\imageformats\qgif4.dll
11157 WARNING: lib not found: QtGui4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\imageformats\qico4.dll
11269 WARNING: lib not found: QtCore4.dll dependency of C:/Python27/Lib/site-pac
kages/PyQt4/plugins\imageformats\qico4.dll
11404 WARNING: lib not found: QtGui4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\imageformats\qjpeg4.dll
11513 WARNING: lib not found: QtCore4.dll dependency of C:/Python27/Lib/site-pac
kages/PyQt4/plugins\imageformats\qjpeg4.dll
11644 WARNING: lib not found: QtGui4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\imageformats\qmng4.dll
11755 WARNING: lib not found: QtCore4.dll dependency of C:/Python27/Lib/site-pac
kages/PyQt4/plugins\imageformats\qmng4.dll
11888 WARNING: lib not found: QtCore4.dll dependency of C:/Python27/Lib/site-pac
kages/PyQt4/plugins\imageformats\qsvg4.dll
11998 WARNING: lib not found: QtGui4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\imageformats\qsvg4.dll
12105 WARNING: lib not found: QtXml4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\imageformats\qsvg4.dll
12218 WARNING: lib not found: QtSvg4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\imageformats\qsvg4.dll
12345 WARNING: lib not found: QtGui4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\imageformats\qtga4.dll
12457 WARNING: lib not found: QtCore4.dll dependency of C:/Python27/Lib/site-pac
kages/PyQt4/plugins\imageformats\qtga4.dll
12593 WARNING: lib not found: QtGui4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\imageformats\qtiff4.dll
12705 WARNING: lib not found: QtCore4.dll dependency of C:/Python27/Lib/site-pac
kages/PyQt4/plugins\imageformats\qtiff4.dll
12827 WARNING: lib not found: QtGui4.dll dependency of C:/Python27/Lib/site-pack
ages/PyQt4/plugins\graphicssystems\qglgraphicssystem4.dll
12939 WARNING: lib not found: QtOpenGL4.dll dependency of C:/Python27/Lib/site-p
ackages/PyQt4/plugins\graphicssystems\qglgraphicssystem4.dll
13049 WARNING: lib not found: QtCore4.dll dependency of C:/Python27/Lib/site-pac
kages/PyQt4/plugins\graphicssystems\qglgraphicssystem4.dll
14574 INFO: Using Python library C:\Windows\system32\python27.dll
14820 INFO: Warnings written to C:\pyinstaller\pylotro\build\pylotro\warnpylotro
.txt
14828 INFO: checking PYZ
14828 INFO: rebuilding out00-PYZ.toc because out00-PYZ.pyz is missing
14828 INFO: building PYZ (ZlibArchive) out00-PYZ.toc
15672 INFO: checking PKG
15673 INFO: rebuilding out00-PKG.toc because out00-PKG.pkg is missing
15674 INFO: building PKG (CArchive) out00-PKG.pkg
15697 INFO: checking EXE
15699 INFO: rebuilding out00-EXE.toc because pylotro.exe missing
15700 INFO: building EXE from out00-EXE.toc
15743 INFO: SRCPATH [('PyLotRO\PyLotRO.ico', None)]
15746 INFO: Updating icons from ['PyLotRO\PyLotRO.ico'] to c:\users\heinzm~1\ap
pdata\local\temp\tmpt4uobe
15776 INFO: Writing RT_GROUP_ICON 0 resource with 202 bytes
15776 INFO: Writing RT_ICON 1 resource with 1640 bytes
15778 INFO: Writing RT_ICON 2 resource with 744 bytes
15779 INFO: Writing RT_ICON 3 resource with 296 bytes
15779 INFO: Writing RT_ICON 4 resource with 3752 bytes
15779 INFO: Writing RT_ICON 5 resource with 2216 bytes
15779 INFO: Writing RT_ICON 6 resource with 1384 bytes
15781 INFO: Writing RT_ICON 7 resource with 103503 bytes
15781 INFO: Writing RT_ICON 8 resource with 67624 bytes
15782 INFO: Writing RT_ICON 9 resource with 38056 bytes
15782 INFO: Writing RT_ICON 10 resource with 21640 bytes
15782 INFO: Writing RT_ICON 11 resource with 16936 bytes
15782 INFO: Writing RT_ICON 12 resource with 9640 bytes
15784 INFO: Writing RT_ICON 13 resource with 4264 bytes
15785 INFO: Writing RT_ICON 14 resource with 1128 bytes
15858 INFO: Appending archive to EXE C:\pyinstaller\pylotro\build\pylotro\pylotr
o.exe
15910 INFO: checking COLLECT
15911 INFO: building COLLECT out00-COLLECT.toc

C:\pyinstaller>
++++++++++++++++++

warnpylotro.txt

W: no module named org (delayed import by xml.sax)
W: no module named termios (top-level import by tty)
W: no module named dummy_threading (top-level import by dummy_threading)
W: no module named cl (delayed, conditional import by aifc)
W: no module named pkg_resources (delayed, conditional import by PyLotROLauncher.SettingsWizard)
W: no module named xml.dom.XMLNS_NAMESPACE (top-level import by xml.dom.expatbuilder)
W: no module named pkg_resources (delayed import by PyLotROLauncher.PatchWindow)
W: no module named posix (conditional import by main)
W: no module named pwd (delayed, conditional import by posixpath)
W: no module named ElementTree (conditional import by PyQt4.uic.uiparser)
W: no module named org (top-level import by pickle)
W: no module named xml.dom.EMPTY_NAMESPACE (top-level import by xml.dom.minidom)
W: no module named pkg_resources (delayed, conditional import by PyLotROLauncher.MainWindow)
W: no module named xml.dom.XMLNS_NAMESPACE (top-level import by xml.dom.minidom)
W: no module named fcntl (conditional import by subprocess)
W: no module named java (conditional import by xml.sax.exceptions)
W: no module named PyQt4.uic.port_v3.load_plugin (conditional import by PyQt4.uic.objcreator)
W: no module named PyQt4.uic.port_v3.ascii_upper (conditional import by PyQt4.uic.properties)
W: no module named readline (delayed import by pdb)
W: no module named elementtree (conditional import by PyQt4.uic.uiparser)
W: no module named scproxy (conditional import by urllib)
W: no module named PyQt4.uic.port_v3.string_io (delayed, conditional import by PyQt4.uic)
W: no module named pwd (delayed import by getpass)
W: no module named EasyDialogs (conditional import by getpass)
W: no module named PyQt4.qt (top-level import by PyQt4.QtCore)
W: no module named termios (top-level import by getpass)
W: no module named PyQt4.qt (top-level import by PyQt4)
W: no module named xml.dom.XML_NAMESPACE (delayed import by xml.dom.pulldom)
W: no module named org (top-level import by copy)
W: no module named PyQt4.uic.port_v3.as_string (conditional import by PyQt4.uic.icon_cache)
W: no module named fcntl (top-level import by tempfile)
W: no module named http (conditional import by PyLotROLauncher.PyLotROUtils)
W: no module named xml.dom.EMPTY_PREFIX (top-level import by xml.dom.minidom)
W: no module named readline (delayed, conditional import by cmd)
W: no module named pkg_resources (top-level import by PyLotROLauncher.PyLotROUtils)
W: no module named PyQt4.elementtree (conditional import by PyQt4.uic.uiparser)
W: no module named pkg_resources (delayed import by PyLotROLauncher.MainWindow)
W: no module named cl (delayed import by aifc)
W: no module named xmlparse (top-level import by pyexpat)
W: no module named posix (conditional import by pyi_os_path)
W: no module named pkg_resources (delayed import by PyLotROLauncher.CheckConfig)
W: no module named PyQt4.qt (top-level import by PyQt4.QtGui)
W: no module named ElementC14N (top-level import by xml.etree.ElementTree)
W: no module named PyQt4.qt (top-level import by PyQt4.QtNetwork)
W: no module named emx_link (conditional import by os)
W: no module named pkg_resources (delayed, conditional import by PyLotROLauncher.SettingsWindow)
W: no module named posix (conditional import by os)
W: no module named xml.dom.DOMImplementation (top-level import by xml.dom.domreg)
W: no module named xmltok (top-level import by pyexpat)
W: no module named rourl2path (conditional import by urllib)
W: no module named PyQt4.uic.port_v3.proxy_base (conditional import by PyQt4.uic.Compiler.qtproxies)
W: no module named PyQt4.uic.port_v3.as_string (conditional import by PyQt4.uic.Compiler.qtproxies)
W: no module named xml.dom.EMPTY_NAMESPACE (top-level import by PyLotROLauncher.Settings)
W: no module named pwd (delayed import by webbrowser)
W: no module named xml.dom.EMPTY_NAMESPACE (top-level import by xml.dom.expatbuilder)
W: no module named xml.dom.EMPTY_PREFIX (top-level import by xml.dom.expatbuilder)
W: no module named PyQt4.qt (top-level import by PyQt4.QtWebKit)
W: no module named http (conditional import by PyLotROLauncher.MainWindow)
W: no module named SOCKS (top-level import by ftplib)
W: no module named xmlplus (top-level import by xml)
W: no module named pkg_resources (delayed import by PyLotROLauncher.StartGame)
W: all is built strangely at line 0 - dummy_threading (C:\Python27\lib\dummy_threading.pyc)
W: delayed exec statement detected at line 0 - bdb (C:\Python27\lib\bdb.pyc)
W: delayed eval hack detected at line 0 - bdb (C:\Python27\lib\bdb.pyc)
W: delayed eval hack detected at line 0 - bdb (C:\Python27\lib\bdb.pyc)
W: delayed import hack detected at line 0 - optparse (C:\Python27\lib\optparse.pyc)
W: delayed conditional import hack detected at line 0 - doctest (C:\Python27\lib\doctest.pyc)
W: delayed exec statement detected at line 0 - doctest (C:\Python27\lib\doctest.pyc)
W: delayed conditional import hack detected at line 0 - doctest (C:\Python27\lib\doctest.pyc)
W: all is built strangely at line 0 - tokenize (C:\Python27\lib\tokenize.pyc)
W: all is built strangely at line 0 - tokenize (C:\Python27\lib\tokenize.pyc)
W: delayed conditional import hack detected at line 0 - pyi_archive (C:\pyinstaller\PyInstaller\loader\pyi_archive.pyc)
W: delayed import hack detected at line 0 - pickle (C:\Python27\lib\pickle.pyc)
W: delayed import hack detected at line 0 - pickle (C:\Python27\lib\pickle.pyc)
W: all is built strangely at line 0 - PyQt4.uic (C:\Python27\lib\site-packages\PyQt4\uic__init
.pyc)
W: delayed exec statement detected at line 0 - PyQt4.uic (C:\Python27\lib\site-packages\PyQt4\uic__init
.pyc)
W: delayed import hack detected at line 0 - encodings (C:\Python27\lib\encodings__init
.pyc)
W: delayed import hack detected at line 0 - pydoc (C:\Python27\lib\pydoc.pyc)
W: delayed import hack detected at line 0 - pydoc (C:\Python27\lib\pydoc.pyc)
W: all is built strangely at line 0 - dis (C:\Python27\lib\dis.pyc)
W: all is built strangely at line 0 - hashlib (C:\Python27\lib\hashlib.pyc)
W: delayed conditional eval hack detected at line 0 - warnings (C:\Python27\lib\warnings.pyc)
W: delayed conditional import hack detected at line 0 - warnings (C:\Python27\lib\warnings.pyc)
W: delayed conditional exec statement detected at line 0 - pyi_importers (C:\pyinstaller\PyInstaller\loader\pyi_importers.pyc)
W: delayed import hack detected at line 0 - email (C:\Python27\lib\email__init
.pyc)
W: delayed conditional import hack detected at line 0 - xml.dom.domreg (C:\Python27\lib\xml\dom\domreg.pyc)
W: delayed exec statement detected at line 0 - pdb (C:\Python27\lib\pdb.pyc)
W: delayed conditional eval hack detected at line 0 - pdb (C:\Python27\lib\pdb.pyc)
W: delayed eval hack detected at line 0 - pdb (C:\Python27\lib\pdb.pyc)
W: delayed conditional eval hack detected at line 0 - pdb (C:\Python27\lib\pdb.pyc)
W: delayed eval hack detected at line 0 - pdb (C:\Python27\lib\pdb.pyc)
W: delayed import hack detected at line 0 - pkgutil (C:\Python27\lib\pkgutil.pyc)
W: delayed conditional import hack detected at line 0 - pkgutil (C:\Python27\lib\pkgutil.pyc)
W: delayed conditional import hack detected at line 0 - PyQt4.uic.Loader.qobjectcreator (C:\Python27\lib\site-packages\PyQt4\uic\Loader\qobjectcreator.pyc)
W: delayed conditional import hack detected at line 0 - PyQt4.uic.Loader.qobjectcreator (C:\Python27\lib\site-packages\PyQt4\uic\Loader\qobjectcreator.pyc)
W: all is built strangely at line 0 - collections (C:\Python27\lib\collections.pyc)
W: delayed exec statement detected at line 0 - collections (C:\Python27\lib\collections.pyc)
W: delayed conditional import hack detected at line 0 - unittest.main (C:\Python27\lib\unittest\main.pyc)
W: delayed conditional import hack detected at line 0 - unittest.loader (C:\Python27\lib\unittest\loader.pyc)
W: delayed conditional import hack detected at line 0 - unittest.loader (C:\Python27\lib\unittest\loader.pyc)
W: delayed import hack detected at line 0 - unittest.loader (C:\Python27\lib\unittest\loader.pyc)
W: all is built strangely at line 0 - future (C:\Python27\lib__future
.pyc)
W: delayed import hack detected at line 0 - xml.sax (C:\Python27\lib\xml\sax__init__.pyc)
W: delayed exec statement detected at line 0 - PyQt4.uic.port_v2.load_plugin (C:\Python27\lib\site-packages\PyQt4\uic\port_v2\load_plugin.pyc)
W: delayed eval hack detected at line 0 - gettext (C:\Python27\lib\gettext.pyc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant