Re: [Pythonmac-SIG] py2app cannot move to target thread error

2009-09-16 Thread Scott Frankel
Hi all, Has anyone within earshot of this list successfully built a PyQt app with SQL support using py2app? I've been poking and prodding at the problem for a few months now and I'm no closer to a solution to the "cannot move to thread ..." error. Might there be a setup.py solution? Do

[Pythonmac-SIG] resuming python job

2009-09-16 Thread DavidW
Hi All, When I try to resume a stopped instantiation of Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) on intel OSX 10.5.8 using eithr % or fg, the job aborts without any [error etc] message. Is this a known condition? Any solution? thanks, David __

Re: [Pythonmac-SIG] Building packages under Snow Leopard and Python 2.6.x

2009-09-16 Thread Jerry LeVan
On Sep 16, 2009, at 4:38 PM, William Kyngesburye wrote: I used this without any problems: export PATH="/usr/local/pgsql/bin:$PATH" export ARCHFLAGS="-arch i386" python setup.py build Compilation is correctly using gcc-4.2 and the 10.6 sdk. This is with the system python. Did you install P

Re: [Pythonmac-SIG] Building packages under Snow Leopard and Python 2.6.x

2009-09-16 Thread William Kyngesburye
I used this without any problems: export PATH="/usr/local/pgsql/bin:$PATH" export ARCHFLAGS="-arch i386" python setup.py build Compilation is correctly using gcc-4.2 and the 10.6 sdk. This is with the system python. Did you install Python from python.org? They probably have the distuti

Re: [Pythonmac-SIG] Building packages under Snow Leopard and Python 2.6.x

2009-09-16 Thread Emanuele Santos
Try using gcc 4.0, Snow Leopard is using gcc-4.2 by default. export CC=/usr/bin/gcc-4.0 export CXX=/usr/bin/g++-4.0 -- Emanuele. On Sep 16, 2009, at 7:31 AM, Jerry LeVan wrote: Hi I have the community version of Python 2.6.2 installed on my MacBook Pro running 10.6.1. I am trying to build p

Re: [Pythonmac-SIG] django webapp using CoreGraphics complains about "wrong architecture"

2009-09-16 Thread VanL
David Warde-Farley wrote: My best guess (as I've never poked around in the guts of PIL) is that there is a pure Python version that is slow-as-molasses and then a sped up C version which is used if possible (_imaging.so). PIL invoked from Apache will thus probably use the slow-as-molasses vers

[Pythonmac-SIG] Building packages under Snow Leopard and Python 2.6.x

2009-09-16 Thread Jerry LeVan
Hi I have the community version of Python 2.6.2 installed on my MacBook Pro running 10.6.1. I am trying to build psycopg2 ( 2.0.12) on my mac and am no having much luck... [mbp:~/python/psycopg2-2.0.12]$ python setup.py build running build running build_py running build_ext building 'psycopg2.