Hi,
I'm trying to get pyInstaller working for my little application. After
troubles with 1.5rc1 I switched to the SVN trunk version, but that
just gave me different troubles.
It's a PyQt4 application using various parts of Qt including a
WebView. When I launch the application I get this:
D:\code\pyInstaller\svn-trunk\main\dist\main>main.exe > error-log.txt
Traceback (most recent call last):
File "<string>", line 6, in <module>
File "D:\code\pyInstaller\svn-trunk\iu.py", line 436, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "D:\code\pyInstaller\svn-trunk\iu.py", line 521, in doimport
exec co in mod.__dict__
File "main\build\pyi.win32\main\outPYZ1.pyz/misc_gui", line 3, in <module>
File "D:\code\pyInstaller\svn-trunk\iu.py", line 436, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "D:\code\pyInstaller\svn-trunk\iu.py", line 521, in doimport
exec co in mod.__dict__
File "main\build\pyi.win32\main\outPYZ1.pyz/configDialog", line 10,
in <module>
File "D:\code\pyInstaller\svn-trunk\iu.py", line 436, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "D:\code\pyInstaller\svn-trunk\iu.py", line 521, in doimport
exec co in mod.__dict__
File "main\build\pyi.win32\main\outPYZ1.pyz/windows", line 2, in <module>
File "D:\code\pyInstaller\svn-trunk\iu.py", line 436, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "D:\code\pyInstaller\svn-trunk\iu.py", line 505, in doimport
mod = director.getmod(nm)
File "D:\code\pyInstaller\svn-trunk\iu.py", line 297, in getmod
mod = owner.getmod(nm)
File "D:\code\pyInstaller\svn-trunk\iu.py", line 109, in getmod
mod = imp.load_module(nm, fp, attempt, (ext, mode, typ))
ImportError: DLL load failed: A dynamic link library (DLL)
initialization routine failed.
I can't see which DLL it failed to load.
Attaching the logs from Makespec.py and Build.py too.
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.
I: Dependent assemblies of c:\Program Files (x86)\Python\python.exe:
I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
checking Analysis
building Analysis because outAnalysis0.toc non existent
running Analysis outAnalysis0.toc
Analyzing: support\_mountzlib.py
Analyzing: support\useUnicode.py
Analyzing: ..\..\projekt\Time-Tracker\timeTracker\src\main.py
I: Analyzing c:\Program Files (x86)\Python\python.exe
I: Dependent assemblies of c:\Program Files (x86)\Python\python.exe:
I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
Adding Microsoft.VC90.CRT to dependent assemblies of final executable
I: Searching for assembly
x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none...
I: Found manifest
C:\Windows\WinSxS\Manifests\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91.manifest
I: Searching for file msvcr90.dll
I: Found file
C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\msvcr90.dll
I: Searching for file msvcp90.dll
I: Found file
C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\msvcp90.dll
I: Searching for file msvcm90.dll
I: Found file
C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\msvcm90.dll
I: Adding Microsoft.VC90.CRT.manifest
I: Adding msvcr90.dll
I: Adding msvcp90.dll
I: Adding msvcm90.dll
I: Adding python27.dll dependency of python.exe
I: Skipping KERNEL32.dll dependency of python.exe
I: Analyzing C:\Windows\system32\python27.dll
I: Dependent assemblies of C:\Windows\system32\python27.dll:
I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
I: Skipping KERNEL32.dll dependency of python27.dll
I: Skipping USER32.dll dependency of python27.dll
I: Skipping ADVAPI32.dll dependency of python27.dll
I: Skipping SHELL32.dll dependency of python27.dll
I: Analyzing c:\Program Files
(x86)\Python\lib\site-packages\Crypto\Cipher\AES.pyd
I: Skipping KERNEL32.dll dependency of AES.pyd
I: Analyzing c:\Program Files (x86)\Python\lib\site-packages\win32\win32pipe.pyd
I: Adding pywintypes27.dll dependency of win32pipe.pyd
I: Skipping KERNEL32.dll dependency of win32pipe.pyd
I: Analyzing c:\Program Files (x86)\Python\DLLs\select.pyd
I: Skipping WSOCK32.dll dependency of select.pyd
I: Skipping KERNEL32.dll dependency of select.pyd
I: Analyzing c:\Program Files (x86)\Python\DLLs\unicodedata.pyd
I: Skipping KERNEL32.dll dependency of unicodedata.pyd
I: Analyzing c:\Program Files (x86)\Python\lib\site-packages\win32\win32gui.pyd
I: Skipping GDI32.dll dependency of win32gui.pyd
I: Skipping USER32.dll dependency of win32gui.pyd
I: Skipping COMDLG32.dll dependency of win32gui.pyd
I: Skipping COMCTL32.dll dependency of win32gui.pyd
I: Skipping SHELL32.dll dependency of win32gui.pyd
I: Skipping KERNEL32.dll dependency of win32gui.pyd
I: Analyzing c:\Program Files (x86)\Python\lib\site-packages\sip.pyd
I: Dependent assemblies of c:\Program Files
(x86)\Python\lib\site-packages\sip.pyd:
I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
I: Skipping KERNEL32.dll dependency of sip.pyd
I: Analyzing c:\Program Files (x86)\Python\lib\site-packages\PyQt4\QtNetwork.pyd
I: Dependent assemblies of c:\Program Files
(x86)\Python\lib\site-packages\PyQt4\QtNetwork.pyd:
I: *_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.0.0_none,
x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
Adding Microsoft.Windows.Common-Controls to dependent assemblies of final
executable
I: Skipping assembly
*_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.0.0_none
I: Adding QtNetwork4.dll dependency of QtNetwork.pyd
I: Adding QtCore4.dll dependency of QtNetwork.pyd
I: Skipping KERNEL32.dll dependency of QtNetwork.pyd
I: Analyzing c:\Program Files (x86)\Python\DLLs\_hashlib.pyd
I: Skipping KERNEL32.dll dependency of _hashlib.pyd
I: Skipping USER32.dll dependency of _hashlib.pyd
I: Skipping ADVAPI32.dll dependency of _hashlib.pyd
I: Analyzing c:\Program Files (x86)\Python\DLLs\bz2.pyd
I: Skipping KERNEL32.dll dependency of bz2.pyd
I: Analyzing c:\Program Files (x86)\Python\DLLs\_ssl.pyd
I: Skipping WS2_32.dll dependency of _ssl.pyd
I: Skipping KERNEL32.dll dependency of _ssl.pyd
I: Skipping USER32.dll dependency of _ssl.pyd
I: Skipping ADVAPI32.dll dependency of _ssl.pyd
I: Analyzing c:\Program Files (x86)\Python\lib\site-packages\PyQt4\QtCore.pyd
I: Dependent assemblies of c:\Program Files
(x86)\Python\lib\site-packages\PyQt4\QtCore.pyd:
I: *_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.0.0_none,
x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
I: Skipping assembly
*_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.0.0_none
I: Skipping KERNEL32.dll dependency of QtCore.pyd
I: Analyzing c:\Program Files (x86)\Python\DLLs\_ctypes.pyd
I: Skipping KERNEL32.dll dependency of _ctypes.pyd
I: Skipping ole32.dll dependency of _ctypes.pyd
I: Skipping OLEAUT32.dll dependency of _ctypes.pyd
I: Analyzing c:\Program Files (x86)\Python\lib\site-packages\PyQt4\QtWebKit.pyd
I: Dependent assemblies of c:\Program Files
(x86)\Python\lib\site-packages\PyQt4\QtWebKit.pyd:
I: *_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.0.0_none,
x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
I: Skipping assembly
*_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.0.0_none
I: Adding QtWebKit4.dll dependency of QtWebKit.pyd
I: Adding QtGui4.dll dependency of QtWebKit.pyd
I: Skipping KERNEL32.dll dependency of QtWebKit.pyd
I: Analyzing c:\Program Files (x86)\Python\DLLs\pyexpat.pyd
I: Skipping KERNEL32.dll dependency of pyexpat.pyd
I: Analyzing c:\Program Files (x86)\Python\lib\site-packages\pyHook\_cpyHook.pyd
I: Skipping KERNEL32.dll dependency of _cpyHook.pyd
I: Skipping msvcrt.dll dependency of _cpyHook.pyd
I: Skipping USER32.dll dependency of _cpyHook.pyd
I: Analyzing c:\Program Files (x86)\Python\lib\site-packages\PyQt4\QtGui.pyd
I: Dependent assemblies of c:\Program Files
(x86)\Python\lib\site-packages\PyQt4\QtGui.pyd:
I: *_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.0.0_none,
x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
I: Skipping assembly
*_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.0.0_none
I: Skipping KERNEL32.dll dependency of QtGui.pyd
I: Analyzing c:\Program Files (x86)\Python\lib\site-packages\win32\win32api.pyd
I: Skipping USER32.dll dependency of win32api.pyd
I: Skipping ADVAPI32.dll dependency of win32api.pyd
I: Skipping SHELL32.dll dependency of win32api.pyd
I: Skipping VERSION.dll dependency of win32api.pyd
I: Skipping POWRPROF.dll dependency of win32api.pyd
I: Skipping KERNEL32.dll dependency of win32api.pyd
I: Analyzing c:\Program Files (x86)\Python\DLLs\_socket.pyd
I: Skipping WS2_32.dll dependency of _socket.pyd
I: Skipping KERNEL32.dll dependency of _socket.pyd
I: Analyzing c:\Program Files (x86)\Python\pywintypes27.dll
I: Skipping ADVAPI32.dll dependency of pywintypes27.dll
I: Skipping USER32.dll dependency of pywintypes27.dll
I: Skipping ole32.dll dependency of pywintypes27.dll
I: Skipping OLEAUT32.dll dependency of pywintypes27.dll
I: Skipping KERNEL32.dll dependency of pywintypes27.dll
I: Analyzing C:\Program Files
(x86)\Python\Lib\site-packages\PyQt4\bin\qtnetwork4.dll
I: Dependent assemblies of C:\Program Files
(x86)\Python\Lib\site-packages\PyQt4\bin\qtnetwork4.dll:
I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
I: Skipping WS2_32.dll dependency of qtnetwork4.dll
I: Adding SSLEAY32.dll dependency of qtnetwork4.dll
I: Adding LIBEAY32.dll dependency of qtnetwork4.dll
I: Skipping KERNEL32.dll dependency of qtnetwork4.dll
I: Analyzing C:\Program Files
(x86)\Python\Lib\site-packages\PyQt4\bin\qtcore4.dll
I: Dependent assemblies of C:\Program Files
(x86)\Python\Lib\site-packages\PyQt4\bin\qtcore4.dll:
I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
I: Skipping KERNEL32.dll dependency of qtcore4.dll
I: Skipping USER32.dll dependency of qtcore4.dll
I: Skipping ole32.dll dependency of qtcore4.dll
I: Skipping ADVAPI32.dll dependency of qtcore4.dll
I: Skipping WS2_32.dll dependency of qtcore4.dll
I: Analyzing C:\Program Files
(x86)\Python\Lib\site-packages\PyQt4\bin\qtwebkit4.dll
I: Dependent assemblies of C:\Program Files
(x86)\Python\Lib\site-packages\PyQt4\bin\qtwebkit4.dll:
I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
I: Skipping WINMM.dll dependency of qtwebkit4.dll
I: Skipping GDI32.dll dependency of qtwebkit4.dll
I: Skipping USER32.dll dependency of qtwebkit4.dll
I: Skipping ADVAPI32.dll dependency of qtwebkit4.dll
I: Skipping SHLWAPI.dll dependency of qtwebkit4.dll
I: Skipping VERSION.dll dependency of qtwebkit4.dll
I: Adding phonon4.dll dependency of qtwebkit4.dll
I: Skipping KERNEL32.dll dependency of qtwebkit4.dll
I: Analyzing C:\Program Files
(x86)\Python\Lib\site-packages\PyQt4\bin\qtgui4.dll
I: Dependent assemblies of C:\Program Files
(x86)\Python\Lib\site-packages\PyQt4\bin\qtgui4.dll:
I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
I: Skipping GDI32.dll dependency of qtgui4.dll
I: Skipping COMDLG32.dll dependency of qtgui4.dll
I: Skipping IMM32.dll dependency of qtgui4.dll
I: Skipping WINMM.dll dependency of qtgui4.dll
I: Skipping WINSPOOL.DRV dependency of qtgui4.dll
I: Skipping ole32.dll dependency of qtgui4.dll
I: Skipping USER32.dll dependency of qtgui4.dll
I: Skipping ADVAPI32.dll dependency of qtgui4.dll
I: Skipping SHELL32.dll dependency of qtgui4.dll
I: Skipping KERNEL32.dll dependency of qtgui4.dll
I: Analyzing C:\Program Files
(x86)\Python\Lib\site-packages\PyQt4\bin\SSLEAY32.dll
I: Dependent assemblies of C:\Program Files
(x86)\Python\Lib\site-packages\PyQt4\bin\SSLEAY32.dll:
I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
I: Skipping KERNEL32.dll dependency of SSLEAY32.dll
I: Analyzing C:\Program Files
(x86)\Python\Lib\site-packages\PyQt4\bin\LIBEAY32.dll
I: Dependent assemblies of C:\Program Files
(x86)\Python\Lib\site-packages\PyQt4\bin\LIBEAY32.dll:
I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
I: Skipping WSOCK32.dll dependency of LIBEAY32.dll
I: Skipping GDI32.dll dependency of LIBEAY32.dll
I: Skipping ADVAPI32.dll dependency of LIBEAY32.dll
I: Skipping USER32.dll dependency of LIBEAY32.dll
I: Skipping KERNEL32.dll dependency of LIBEAY32.dll
I: Analyzing C:\Program Files
(x86)\Python\Lib\site-packages\PyQt4\bin\phonon4.dll
I: Dependent assemblies of C:\Program Files
(x86)\Python\Lib\site-packages\PyQt4\bin\phonon4.dll:
I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
I: Skipping KERNEL32.dll dependency of phonon4.dll
Warnings written to main\build\pyi.win32\main\warnmain.txt
checking PYZ
rebuilding outPYZ1.toc because outPYZ1.pyz is missing
building PYZ outPYZ1.toc
checking PKG
rebuilding outPKG3.toc because outPKG3.pkg is missing
building PKG outPKG3.pkg
checking EXE
rebuilding outEXE2.toc because main.exe missing
building EXE from outEXE2.toc
Appending archive to EXE main\build\pyi.win32\main\main.exe
checking COLLECT
building because outCOLLECT4.toc missing or bad
building COLLECT outCOLLECT4.toc
wrote D:\code\pyInstaller\svn-trunk\main\main.spec
now run Build.py to build the executable