<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 12, 2009, at 6:00 AM, <a href="mailto:pythonmac-sig-request@python.org">pythonmac-sig-request@python.org</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 0.5);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">has &lt;<a href="mailto:hengist.podd@virgin.net">hengist.podd@virgin.net</a>&gt;<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 0.5);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">June 11, 2009 10:06:17 AM EDT<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 0.5);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><a href="mailto:pythonmac-sig@python.org">pythonmac-sig@python.org</a><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 0.5);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>Re: [Pythonmac-SIG] Problems with appscript</b><br></span></div><br><br>James Reese wrote:<br><br><blockquote type="cite">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:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Python 2.5.1 (r251:54863, Feb &nbsp;6 2009, 19:02:12)<br></blockquote><blockquote type="cite">[GCC 4.0.1 (Apple Inc. build 5465)] on darwin<br></blockquote><blockquote type="cite">Type "help", "copyright", "credits" or "license" for more information.<br></blockquote><blockquote type="cite">&gt;&gt;&gt; import appscript<br></blockquote><blockquote type="cite">&gt;&gt;&gt; appscript.__version__<br></blockquote><blockquote type="cite">'0.19.0'<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I've downloaded the sample scripts, and when I try to run AB_list_people_with_emails.py, I get this:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">&gt; ./AB_list_people_with_emails.py<br></blockquote><blockquote type="cite">Traceback (most recent call last):<br></blockquote><blockquote type="cite"> File "./AB_list_people_with_emails.py", line 9, in &lt;module&gt;<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;for name, emails in zip(peopleref.name.get(), peopleref.emails.value.get()):<br></blockquote><blockquote type="cite"> 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__<br></blockquote><blockquote type="cite">appscript.reference.CommandError: Command failed:<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>OSERROR: -1708<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>MESSAGE: Application could not handle this command.<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>COMMAND: app(u'/Applications/Address Book.app').people[its.emails != []].name.get()<br></blockquote><br>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.<br><br>has<br><br>-- <br>Control AppleScriptable applications from Python, Ruby and ObjC:<br><a href="http://appscript.sourceforge.net">http://appscript.sourceforge.net</a><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></blockquote><br></div><div>That&nbsp;is&nbsp;indeed&nbsp;the&nbsp;source&nbsp;of&nbsp;my&nbsp;problems.&nbsp;Thanks&nbsp;for&nbsp;the&nbsp;information.</div><div>Jim</div></body></html>