[Pythonmac-SIG] Problems with appscript

James Reese jreese99 at verizon.net
Sat Jun 13 21:39:08 CEST 2009


On Jun 12, 2009, at 6:00 AM, pythonmac-sig-request at python.org wrote:

>
> From: has <hengist.podd at virgin.net>
> Date: June 11, 2009 10:06:17 AM EDT
> To: pythonmac-sig at python.org
> Subject: Re: [Pythonmac-SIG] Problems with appscript
>
>
> James Reese wrote:
>
>> I'm having several problems with appscript. I'm running OS X 10.5.7  
>> with all the latest updates, and I've installed the latest release  
>> using easy_install:
>>
>> Python 2.5.1 (r251:54863, Feb  6 2009, 19:02:12)
>> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
>> Type "help", "copyright", "credits" or "license" for more  
>> information.
>> >>> import appscript
>> >>> appscript.__version__
>> '0.19.0'
>>
>> I've downloaded the sample scripts, and when I try to run  
>> AB_list_people_with_emails.py, I get this:
>>
>> > ./AB_list_people_with_emails.py
>> Traceback (most recent call last):
>> File "./AB_list_people_with_emails.py", line 9, in <module>
>>   for name, emails in zip(peopleref.name.get(),  
>> peopleref.emails.value.get()):
>> File "/Library/Python/2.5/site-packages/appscript-0.19.0-py2.5- 
>> macosx-10.5-i386.egg/appscript/reference.py", line 513, in __call__
>> appscript.reference.CommandError: Command failed:
>> 		OSERROR: -1708
>> 		MESSAGE: Application could not handle this command.
>> 		COMMAND: app(u'/Applications/Address  
>> Book.app').people[its.emails != []].name.get()
>
> Don't suppose you have Default Folder X installed? There's been a  
> couple other recent compatibility reports with that - it's being  
> looked into.
>
> has
>
> -- 
> Control AppleScriptable applications from Python, Ruby and ObjC:
> http://appscript.sourceforge.net

That is indeed the source of my problems. Thanks for the information.
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20090613/55e9eff6/attachment.htm>


More information about the Pythonmac-SIG mailing list