Re: [Pythonmac-SIG] Py2app zlib import error

2011-06-28 Thread Ronald Oussoren
On 23 Jun, 2011, at 18:18, Brian Zambrano wrote: > It smells of a py2app issue to me as well...something with the path settings. Something else to try: there is an __boot__.py inside the generated application bundle. Add the following line to the top of that file: import sys; print (sys.path)

Re: [Pythonmac-SIG] Py2app zlib import error

2011-06-28 Thread Ronald Oussoren
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 l

Re: [Pythonmac-SIG] Py2app zlib import error

2011-06-23 Thread Ned Deily
In article , Brian Zambrano wrote: > > ls -l ./Resources/lib/python2.6/lib-dynload/zlib.so [...] Sorry, nothing obviously wrong there. So presumably it is some sort of path issue in the py2app bootstrap. Hope you track it down. -- Ned Deily, n...@acm.org

Re: [Pythonmac-SIG] Py2app zlib import error

2011-06-23 Thread Chris Barker
On 6/22/11 7:30 PM, Brian Zambrano wrote: Just bumping this. Does anyone have solution or some advice on how to proceed? The error is: 'import site' failed; use -v for traceback ... zipimport.ZipImportError: can't decompress data; zlib not available This looks like it has not

Re: [Pythonmac-SIG] Py2app zlib import error

2011-06-23 Thread Brian Zambrano
It smells of a py2app issue to me as well...something with the path settings. I don't have macports installed on this machine, so that's definitely not it. The exact same error happens when doing a hello world program with py2app. The setup file, unaltered: """ This is a setup.py script generat

Re: [Pythonmac-SIG] Py2app zlib import error

2011-06-23 Thread Brian Zambrano
> ls -l ./Resources/lib/python2.6/lib-dynload/zlib.so -rw-r--r-- 1 brianz staff 195256 Jun 23 00:09 ./Resources/lib/python2.6/lib-dynload/zlib.so > file ./Resources/lib/python2.6/lib-dynload/zlib.so ./Resources/lib/python2.6/lib-dynload/zlib.so: Mach-O universal binary with 2 architectures ./Re

Re: [Pythonmac-SIG] Py2app zlib import error

2011-06-22 Thread Ned Deily
In article , Brian Zambrano wrote: > Just bumping this. Does anyone have solution or some advice on how to > proceed? You might be able to provide more insight by running the following commands on the zlib extension module: ls -l ./Resources/lib/python2.6/lib-dynload/zlib.so file ./Resources

Re: [Pythonmac-SIG] Py2app zlib import error

2011-06-22 Thread Brian Zambrano
Just bumping this. Does anyone have solution or some advice on how to proceed? As a side note, it seems like many of the threads on this mailing list are py2app related but it's maintained by only one person? That's tough for the maintainer and the rest of the folks using it. Is there any place

[Pythonmac-SIG] Py2app zlib import error

2011-06-20 Thread Brian Zambrano
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 ha