[Pythonmac-SIG] Py2app zlib import error

Ronald Oussoren ronaldoussoren at mac.com
Tue Jun 28 14:10:43 CEST 2011


On 21 Jun, 2011, at 7:47, Brian Zambrano wrote:

> 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.

That's odd, this combination should work.   

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

Yes.  I'm using bitbucket to track bugs and feature request, and patches for bugfixes are always welcome.

Ronald

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20110628/8d8eb3e5/attachment.html>


More information about the Pythonmac-SIG mailing list