Hi,
I've searched the archives, and it appears that several others have run into this error, but so far I haven't found any solutions. I'm using ActiveState Python 2.6.6 and PyQt 4, and have a rather large application built. The application uses win32com to do COM to some other executables. I'm using the trunk version of pyinstaller (revision 1294). When I build my application use --onefile, I get 2 R6034 errors and my application quits. I modified iu.py to display messages when it tries to load a DLL, and here's the output:


C:/DOCUME~1/dhensley/LOCALS~1/Temp/_MEI38202\PyQt4.QtCore.pyd ('.pyd', 'rb', 3)
C:/DOCUME~1/dhensley/LOCALS~1/Temp/_MEI38202\sip.pyd ('.pyd', 'rb', 3)
Successful
Successful
C:/DOCUME~1/dhensley/LOCALS~1/Temp/_MEI38202\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\nefile\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.


When I compile without the --onefile option, I don't get the R6034 errors, but I do get the same output as above.

Any ideas as to what is going on? I'm afraid I can't build a simpler application to test the problem.

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.

Reply via email to