I have a PyQt app which I've been compiling successfully for over a year on
OS X 10.5.  I've recently upgraded to a new system running 10.6, and my
py2app builds are failing to boot after compilation.  After some poking
around, it looks like there are many other folks with the same issues, but I
haven't found a solution yet.

The error is:

'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/Applications/RoastLogger.app/Contents/Resources/__boot__.py", line
4, in <module>
    _chdir_resource()
  File "/Applications/RoastLogger.app/Contents/Resources/__boot__.py", line
2, in _chdir_resource
    import os
zipimport.ZipImportError: can't decompress data; zlib not available

...which is identical to the first issue in this thread:

http://mail.python.org/pipermail/pythonmac-sig/2010-September/022629.html

zlib is present also:

find . -name 'zlib*'
./Resources/lib/python2.6/lib-dynload/zlib.so

I'm using 2.6.6 MacPython, Py2app 0.6.4, altgraph/modulegraph 0.9 and
macholib==1.4.1.

Are issues being accepted on the bitbucket page?  I'd be happy to contribute
in any way.

BZ
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to