Re: [Pythonmac-SIG] Appscript and Snow Leopard

2009-09-10 Thread Noel Rappin
I did reinstall. I'm still having the same problem with Appscript 0.20, Snow Leopard's Python 2.6.1 The issue happens in a different place each time, but the error looks like this: File "build/bdist.macosx-10.6-universal/egg/appscript/reference.py", line 504, in __call__ appscript.reference.Com

[Pythonmac-SIG] Installing/upgrading py-appscript on 10.6

2009-09-10 Thread Norman Gray
Greetings. I'm having difficulty using py-appscript after a recent upgrade to 10.6. I had appscript installed on 10.5, and was using it successfully. With the change to 10.6, Python has changed from 2.5.? to 2.6.1. Now, when I try to import appscript, I get: % which python /usr/bin/python

Re: [Pythonmac-SIG] aemreceive/py-appscript and 64-bit

2009-09-10 Thread Norman Gray
Greetings. On Sat Aug 29 00:16:19 CEST 2009, Christopher Barker said: export PYENCHANT_LIBRARY_PATH=/opt/local/lib/libenchant.dylib This worked just great when I started Peppy from the command line, but when I started it from an application bundle, it failed, which I'm pretty sure is because

[Pythonmac-SIG] C Extension build troubles in 10.6

2009-09-10 Thread david
I'm having trouble building extensions for python packages in Snow Leopard. I'm running into this issue with mxBase and psycopg2 currently. I haven't tried any others. Here's the output, this example being from mxBase: gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict

Re: [Pythonmac-SIG] Appscript and Snow Leopard

2009-09-10 Thread Brad Howes
On Sep 9, 2009, at 1:53 AM, has wrote: Noel Rappin wrote: I have a Python script that I've been using to communicate back and forth with iTunes via py-appscript -- it's worked fine for a long time. Snow Leopard seems to have broken it -- everytime I run the script, it stops, and then exits

Re: [Pythonmac-SIG] Link against Python Framework

2009-09-10 Thread Georg Seifert
If you want to make absolutely sure that Apple can't break you, you could bundle the version of Python.framework upon which you depend into your app. However, that's probably not necessary unless you want to use a newer version of Python than the system has (say, 3.0+, or 2.6 on Leopard)