Hi,
I'm trying PyInstaller 2.0 and the latest git versions on Fedora 17 64-bit
and one of my Python 2.7 applications won't load. After ~20 sec delay it
fails with this traceback:
Traceback (most recent call last):
File "<string>", line 49, in <module>
File "/opt/pyinstaller/PyInstaller/loader/pyi_iu.py", line 386, in
importHook
mod = _self_doimport(nm, ctx, fqname)
File "/opt/pyinstaller/PyInstaller/loader/pyi_iu.py", line 459, in
doimport
mod = director.getmod(nm)
File "/opt/pyinstaller/PyInstaller/loader/pyi_iu.py", line 246, in getmod
owner = self.shadowpath[thing] = self.__makeOwner(thing)
File "/opt/pyinstaller/PyInstaller/loader/pyi_iu.py", line 264, in
__makeOwner
owner = klass(path)
File "/opt/pyinstaller/PyInstaller/loader/pyi_archive.py", line 435, in
__init__
self.pyz = ZlibArchive(path)
File "/opt/pyinstaller/PyInstaller/loader/pyi_archive.py", line 329, in
__init__
raise RuntimeError('zlib required but cannot be imported')
RuntimeError: zlib required but cannot be imported
Instrumenting pyi_archive.py I find that the exception error message looks
like:
/path/to/MyApp/bin/zlib.so: cannot open shared object file: Too many open
files
My other applications don't do this. The applications use packages including
PySide, matplotlib, and psutil. The problematic application is different in
that
it loads an F2PY-generated shared lib but not until needed, so I don't
think that
could be the problem. It also doesn't load a large number of files.
They work with PyInstaller 1.5.1 so I can use that for now but I'm hoping to
find an answer so that I can use 2.x in the future. I'm happy to try out
ideas
and patches.
TIA for any help,
Stuart
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pyinstaller/-/zRr2mCfcG7QJ.
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.