Oops, correction below.
Dan Hensley wrote, On 1/18/2011 11:29 AM:
I've been following this thread with interest, since I'm also having
trouble with PyQt. Specifically, I am trying to create an executable
with the --onefile option. When I run it, I get 2 R6034 errors, and
the following output (I added the message to iu.py):
C:/DOCUME~1/dhensley/LOCALS~1/Temp/_MEI88242\PyQt4.QtCore.pyd ('.pyd',
'rb', 3)
C:/DOCUME~1/dhensley/LOCALS~1/Temp/_MEI88242\sip.pyd ('.pyd', 'rb', 3)
Successful
Successful
C:/DOCUME~1/dhensley/LOCALS~1/Temp/_MEI88242\win32api.pyd ('.pyd',
'rb', 3)
Traceback (most recent call last):
File "<string>", line 34, in <module>
File
"U:\dhensley\Projects\SRA\SRA\build_PyQt\pyinstaller-trunk\iu.py",
line 438, in importHook
mod = _self_doimport(nm, ctx, fqname)
File
"U:\dhensley\Projects\SRA\SRA\build_PyQt\pyinstaller-trunk\iu.py",
line 523, in doimport
exec co in mod.__dict__
File "sraApp\build\pyi.win32\sraApp\outPYZ1.pyz/win32com", line 5,
in <module>
File
"U:\dhensley\Projects\SRA\SRA\build_PyQt\pyinstaller-trunk\iu.py",
line 438, in importHook
mod = _self_doimport(nm, ctx, fqname)
File
"U:\dhensley\Projects\SRA\SRA\build_PyQt\pyinstaller-trunk\iu.py",
line 507, in doimport
mod = director.getmod(nm)
File
"U:\dhensley\Projects\SRA\SRA\build_PyQt\pyinstaller-trunk\iu.py",
line 299, in getmod
mod = owner.getmod(nm)
File
"U:\dhensley\Projects\SRA\SRA\build_PyQt\pyinstaller-trunk\iu.py",
line 110, in getmod
mod = imp.load_module(nm, fp, attempt, (ext, mode, typ))
ImportError: DLL load failed: A dynamic link library (DLL)
initialization routine failed.
Compiling without --onefile also causes the same errors. I updated to
the latest trunk to see if the recent manifest file changes made any
difference, and they didn't. Any ideas on what I should try next?
This is actually not true. Compiling without --onefile, and compiling
with --onedir both produce executables that run without errors.
Thanks,
Dan
Thanks,
Dan
--
Dan Hensley, P.E.
Manager, Rocky Mountain Operations - ATA Engineering, Inc.
1687 Cole Blvd, Suite 125
Golden, CO W:303/945-2360
http://www.ata-e.com/
--
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.