opensubscriber
   Find in this group all groups
 
Unknown more information…

p : pythonmac-sig@python.org 17 September 2011 • 10:52PM -0400

Re: [Pythonmac-SIG] py2app zlib error
by Aahz

REPLY TO AUTHOR
 
REPLY TO GROUP




On Thu, Sep 15, 2011, Neacsa Bogdan Valentin wrote:
>
> So I've created an app using py2app. It has a rather large number
> of dependencies but I've managed to make it work on my PC (Mac OS X
> 10.5.8). However now I'm testing it on a different machine (still a
> Mac OS 10.5.8) and it won't work.
>
> It crashes right from the start with a :?
>
> zipimport.ZipImportError: can't decompress data; zlib not available
>
> I've checked and zlib.so is in lib-dynload. What could cause this?

The exact cause varies, but the immediate problem is that py2app can't
correctly set the Python path.  You'll need to do some digging in the
bootstrap loader.
--
Aahz (aahz@pyth...)           <*>         http://www.pythoncraft.com/

"If you don't know what your program is supposed to do, you'd better not
start writing it."  --Dijkstra
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@pyth...
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.