Hi,
interesting error. At first glance it looks like the cached copy of a
dll that pyinstaller normally creates doesn't exist, but that doesn't
explain the strange 'Invalid argument' IOError (missing file should
normally result in 'No such file or directory'). Have you tried deleting
the pyinstaller 'bincache*' folder(s) (and 'build' folder)?
I wasn't able to reproduce your error, but it seems there are issues
with PyQt 4.7.3 where certain modules cannot be imported, see
<http://old.nabble.com/DLL-Problem-with-PyQt-Py3.1-gpl-4.7.3-1.exe-td28291670.html>
which I could reproduce (Win7 64-bit, Python 2.6.5 32-bit, PyQt
4.7.3-2). It's not a pyinstaller issue though.
Am 21.05.2010 00:51, schrieb [email protected]:
Hi,
I'm trying package my PyQt app to one file, but I'm getting the
following error:
----
Z:\tmp\pyinstaller-py26win>python Build.py webkit_example
\webkit_example.spec
I: Dependent assemblies of C:\Python26\python.exe:
I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww
checking Analysis
checking PYZ
checking PKG
building because outPKG3.toc missing or bad
building PKG outPKG3.pkg
Cannot find ('QtWebKit4.dll', 'bincache01\qtwebkit4.dll', 1, 'b')
Traceback (most recent call last):
File "Build.py", line 1368, in<module>
main(args[0], configfilename=opts.configfile)
File "Build.py", line 1346, in main
build(specfile)
File "Build.py", line 1306, in build
execfile(spec)
File "webkit_example\webkit_example.spec", line 14, in<module>
console=True )
File "Build.py", line 796, in __init__
strip_binaries=self.strip, upx_binaries=self.upx, crypt=self.crypt)
File "Build.py", line 688, in __init__
self.__postinit__()
File "Build.py", line 258, in __postinit__
self.assemble()
File "Build.py", line 749, in assemble
archive.build(self.name, mytoc)
File "Z:\tmp\pyinstaller-py26win\archive.py", line 229, in build
self.add(tocentry) # the guts of the archive
File "Z:\tmp\pyinstaller-py26win\carchive.py", line 235, in add
s = open(pathnm, 'rb').read()
IOError: [Errno 22] Invalid argument
Z:\tmp\pyinstaller-py26win>
----
Some time ago I was able to build my app with webkit in onefile mode.
PyQt 4.7.3
Python 2.6.5
Attached is a small example using webkit and also failing with the same
error.
--
Florian Höch
--
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.