<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-2970</id>
	<title>Nabble - Python - pythonmac-sig</title>
	<updated>2009-12-22T16:01:39Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Python---pythonmac-sig-f2970.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Python---pythonmac-sig-f2970.html" />
	<subtitle type="html">SIG on Python for the Apple Macintosh</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26896242</id>
	<title>Re: Apple event time out with appscript</title>
	<published>2009-12-22T16:01:39Z</published>
	<updated>2009-12-22T16:01:39Z</updated>
	<author>
		<name>Geoff Dutton</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Dec 22, 2009 at 3:22 PM, has &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26896242&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hengist.podd@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;div&gt;Geoff Dutton wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; I am using appscript to automate data processing through &amp;quot;Igor Pro&amp;quot;.  However, I keep running into an Apple event time out problem when running a process in Igor.  I realize the timeout duration on some programs can be set, but I can&amp;#39;t seem to set it through Igor&amp;#39;s Do_Script command.  I have pasted my code here: &lt;a href=&quot;http://python.pastebin.com/m5e45943e&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://python.pastebin.com/m5e45943e&lt;/a&gt;&lt;br&gt;


&amp;gt;&lt;br&gt;
&amp;gt; The time out occurs in the Igor_ProcessMol def.  How do I lengthen the time out duration?  I have tried setting it via self.igor.activate(timeout=1200) but that doesn&amp;#39;t work.  It seems like self.igor.Do_Script() should have a way to set the time out.&lt;br&gt;


&lt;br&gt;
&lt;/div&gt;1. Make sure you&amp;#39;re using appscript 0.21.1 (contains a workaround for a periodic Apple event timeout bug in 10.6).&lt;br&gt;
&lt;br&gt;
2. Add a &amp;#39;timeout&amp;#39; attribute to each command that needs a non-standard timeout, e.g. igor.Do_Script(&amp;quot;some command&amp;quot;, timeout=1200)&lt;br&gt;
&lt;br&gt;
HTH&lt;br&gt;
&lt;br&gt;
has&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;--&lt;br&gt;
Control AppleScriptable applications from Python, Ruby and ObjC:&lt;br&gt;
&lt;a href=&quot;http://appscript.sourceforge.net&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://appscript.sourceforge.net&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
_______________________________________________&lt;br&gt;
Pythonmac-SIG maillist  -  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26896242&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;Thanks has!  I was using the current version of appscript, however, I tried using the timeout parameter BEFORE the igor.Do_Script command.  I realize, now, that timeout is an optional parameter and has to follow the Do_Script command.&lt;br&gt;
&lt;br&gt;Thanks,&lt;br&gt;Geoff&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;NOAA Earth System Research Laboratory&lt;br&gt;Global Monitoring Division&lt;br&gt;325 Broadway, R/GMD1&lt;br&gt;
Boulder, CO 80305&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26896242&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Apple-event-time-out-with-appscript-tp26881413p26896242.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26895256</id>
	<title>Re: Apple event time out with appscript</title>
	<published>2009-12-22T14:22:22Z</published>
	<updated>2009-12-22T14:22:22Z</updated>
	<author>
		<name>has-13</name>
	</author>
	<content type="html">Geoff Dutton wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I am using appscript to automate data processing through &amp;quot;Igor Pro&amp;quot;. &amp;nbsp;However, I keep running into an Apple event time out problem when running a process in Igor. &amp;nbsp;I realize the timeout duration on some programs can be set, but I can't seem to set it through Igor's Do_Script command. &amp;nbsp;I have pasted my code here: &lt;a href=&quot;http://python.pastebin.com/m5e45943e&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://python.pastebin.com/m5e45943e&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The time out occurs in the Igor_ProcessMol def. &amp;nbsp;How do I lengthen the time out duration? &amp;nbsp;I have tried setting it via self.igor.activate(timeout=1200) but that doesn't work. &amp;nbsp;It seems like self.igor.Do_Script() should have a way to set the time out.
&lt;br&gt;&lt;br&gt;1. Make sure you're using appscript 0.21.1 (contains a workaround for a periodic Apple event timeout bug in 10.6).
&lt;br&gt;&lt;br&gt;2. Add a 'timeout' attribute to each command that needs a non-standard timeout, e.g. igor.Do_Script(&amp;quot;some command&amp;quot;, timeout=1200)
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;&lt;br&gt;has
&lt;br&gt;-- 
&lt;br&gt;Control AppleScriptable applications from Python, Ruby and ObjC:
&lt;br&gt;&lt;a href=&quot;http://appscript.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://appscript.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26895256&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Apple-event-time-out-with-appscript-tp26881413p26895256.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26892847</id>
	<title>total confusion with multiple pythons and pip</title>
	<published>2009-12-22T11:12:48Z</published>
	<updated>2009-12-22T11:12:48Z</updated>
	<author>
		<name>Christopher Brewster-2</name>
	</author>
	<content type="html">(My apologies if all this is obvious)
&lt;br&gt;I appear to have 4 different installations of Python on my reformatted Snow Leopard installation.
&lt;br&gt;I have been trying to install pil and matplotlib and going round in circles.
&lt;br&gt;&lt;br&gt;Versions of Python:
&lt;br&gt;1. came with SL
&lt;br&gt;I assume it is here:
&lt;br&gt;/usr/bin/python
&lt;br&gt;&lt;br&gt;$ /usr/bin/python
&lt;br&gt;Python 2.6.1 (r261:67515, Jul &amp;nbsp;7 2009, 23:51:51) 
&lt;br&gt;[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
&lt;br&gt;&lt;br&gt;2. From Python.org
&lt;br&gt;I assume it is the one here:
&lt;br&gt;/usr/local/bin/python
&lt;br&gt;&lt;br&gt;$ /usr/local/bin/python
&lt;br&gt;Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32) 
&lt;br&gt;[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
&lt;br&gt;&lt;br&gt;3. From Macports
&lt;br&gt;I know it is the one here:
&lt;br&gt;/opt/local/bin/python
&lt;br&gt;&lt;br&gt;$ /opt/local/bin/python
&lt;br&gt;Python 2.6.4 (r264:75706, Dec 21 2009, 20:23:10) 
&lt;br&gt;[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
&lt;br&gt;&lt;br&gt;4. I do not know where this came from:
&lt;br&gt;/Library/Frameworks/Python.framework/Versions/2.6/bin/python
&lt;br&gt;&lt;br&gt;$ /Library/Frameworks/Python.framework/Versions/2.6/bin/python
&lt;br&gt;Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32) 
&lt;br&gt;[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
&lt;br&gt;&lt;br&gt;Clearly when I install something with macports, it is accessible only if I run the macports version of python.
&lt;br&gt;However, I have installed 'pip' and this seems to be installing packages so that they only work with the original python (in /usr/bin/python).
&lt;br&gt;So I get the following:
&lt;br&gt;&lt;br&gt;Christopher-Brewsters-MacBook-Pro-15:~ kiffer$ python
&lt;br&gt;Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32) 
&lt;br&gt;[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
&lt;br&gt;Type &amp;quot;help&amp;quot;, &amp;quot;copyright&amp;quot;, &amp;quot;credits&amp;quot; or &amp;quot;license&amp;quot; for more information.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; import matplotlib
&lt;br&gt;Traceback (most recent call last):
&lt;br&gt;&amp;nbsp; File &amp;quot;&amp;lt;stdin&amp;gt;&amp;quot;, line 1, in &amp;lt;module&amp;gt;
&lt;br&gt;ImportError: No module named matplotlib
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Christopher-Brewsters-MacBook-Pro-15:~ kiffer$ /usr/bin/python
&lt;br&gt;Python 2.6.1 (r261:67515, Jul &amp;nbsp;7 2009, 23:51:51) 
&lt;br&gt;[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
&lt;br&gt;Type &amp;quot;help&amp;quot;, &amp;quot;copyright&amp;quot;, &amp;quot;credits&amp;quot; or &amp;quot;license&amp;quot; for more information.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; import matplotlib
&lt;br&gt;/Library/Python/2.6/site-packages/matplotlib/__init__.py:62: DeprecationWarning: the md5 module is deprecated; use hashlib instead
&lt;br&gt;&amp;nbsp; import md5, os, re, shutil, sys, warnings
&lt;br&gt;/Library/Python/2.6/site-packages/pytz/tzinfo.py:5: DeprecationWarning: the sets module is deprecated
&lt;br&gt;&amp;nbsp; from sets import Set
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Christopher-Brewsters-MacBook-Pro-15:~ kiffer$ /opt/local/bin/python
&lt;br&gt;Python 2.6.4 (r264:75706, Dec 21 2009, 20:23:10) 
&lt;br&gt;[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
&lt;br&gt;Type &amp;quot;help&amp;quot;, &amp;quot;copyright&amp;quot;, &amp;quot;credits&amp;quot; or &amp;quot;license&amp;quot; for more information.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; import matplotlib
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Question: How do I get 'pip' to install correctly so as to be accessible with the current default python which appears to be the one installed from python.org?
&lt;br&gt;If I want to use the Macport python, how do I set this to be the default, or do I always have to call it via opt/local/bin/python?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Christopher
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26892847&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/total-confusion-with-multiple-pythons-and-pip-tp26892847p26892847.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26885418</id>
	<title>Re: [newbie] install PyObjc under EPD Python ?</title>
	<published>2009-12-22T00:51:46Z</published>
	<updated>2009-12-22T00:51:46Z</updated>
	<author>
		<name>Ronald Oussoren</name>
	</author>
	<content type="html">&lt;br&gt;On 21 Dec, 2009, at 18:34, Christopher Barker wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Ned Deily wrote:
&lt;br&gt;&amp;gt;&amp;gt; Chances are, though, that their python2.5 does not allow you to correctly build packages with C extension modules (such as those in PyObjC) on 10.6.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; whooa!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This appears to mean that python2.6 (or 3.1, I guess) is the only fully supported option for 10.6 and above?
&lt;br&gt;&lt;br&gt;2.6.4 contains a number of patches that make it possible to build extensions for the python.org binary installer on 10.6, those patches have been forward ported to the 3.1 tree, but there hasn't been a release of 3.1.x that includes those fixes. 2.7 and 3.2 will obviously also work when those are released.
&lt;br&gt;&lt;br&gt;Python 2.5 was released long before OSX 10.6 was released and there won't be any further maintainance releases, that's why the SL fixes haven't been backported to 2.5.
&lt;br&gt;&lt;br&gt;Ronald&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26885418&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;smime.p7s&lt;/strong&gt; (4K) &lt;a href=&quot;http://old.nabble.com/attachment/26885418/0/smime.p7s&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-newbie--install-PyObjc-under-EPD-Python---tp26851864p26885418.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26883752</id>
	<title>Re: [newbie] install PyObjc under EPD Python ?</title>
	<published>2009-12-21T20:25:29Z</published>
	<updated>2009-12-21T20:25:29Z</updated>
	<author>
		<name>Ned Deily</name>
	</author>
	<content type="html">In article &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883752&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;4B2FB1B4.500@...&lt;/a&gt;&amp;gt;,
&lt;br&gt;&amp;nbsp;Christopher Barker &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883752&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Chris.Barker@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ned Deily wrote:
&lt;br&gt;&amp;gt; &amp;gt; Chances are, though, that 
&lt;br&gt;&amp;gt; &amp;gt; their python2.5 does not allow you to correctly build packages with C 
&lt;br&gt;&amp;gt; &amp;gt; extension modules (such as those in PyObjC) on 10.6.
&lt;br&gt;&amp;gt; whooa!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This appears to mean that python2.6 (or 3.1, I guess) is the only fully 
&lt;br&gt;&amp;gt; supported option for 10.6 and above?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That's good to know -- hopefully we'll be going to 10.6 soon, and have 
&lt;br&gt;&amp;gt; not yet ported some critical stuff to 2.6.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Have I got that right?
&lt;/div&gt;&lt;br&gt;There was stuff that needed to be done to make multi-architecture 
&lt;br&gt;multiple-OS-level builds work correctly on 10.6. &amp;nbsp;I'm thinking of things 
&lt;br&gt;like forcing compilation with gcc-4.0 and using the 10.4u SDK for 
&lt;br&gt;building extension modules. &amp;nbsp;It certainly is possible to get 2.5.4 
&lt;br&gt;working for 10.6 - Apple has done it. &amp;nbsp;But if there were recent patches, 
&lt;br&gt;they wouldn't have been accepted into the python.org svn tree for 2.5. &amp;nbsp;
&lt;br&gt;If you had to start from scratch for 2.5.4 on 10.6, I would guess the 
&lt;br&gt;safest approach would be to limit yourself to a single-architecture 
&lt;br&gt;build. &amp;nbsp;The 2.5.4 from the python.org OS X installer should probably 
&lt;br&gt;work OK on 10.6 since it is 32-bit only, except for the extension 
&lt;br&gt;building issues.
&lt;br&gt;&lt;br&gt;OTOH, 2.5.x is no longer supported on *any* platform by the Python Dev 
&lt;br&gt;team, other than for critical security patches. &amp;nbsp;And there are all those 
&lt;br&gt;fixes that have gone into 2.6.x.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;Ned Deily,
&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883752&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nad@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883752&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-newbie--install-PyObjc-under-EPD-Python---tp26851864p26883752.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26881413</id>
	<title>Apple event time out with appscript</title>
	<published>2009-12-21T14:52:25Z</published>
	<updated>2009-12-21T14:52:25Z</updated>
	<author>
		<name>Geoff Dutton</name>
	</author>
	<content type="html">Hi &lt;br&gt;&lt;br&gt;I am using appscript to automate data processing through &amp;quot;Igor Pro&amp;quot;.  However, I keep running into an Apple event time out problem when running a process in Igor.  I realize the timeout duration on some programs can be set, but I can&amp;#39;t seem to set it through Igor&amp;#39;s Do_Script command.  I have pasted my code here: &lt;a href=&quot;http://python.pastebin.com/m5e45943e&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://python.pastebin.com/m5e45943e&lt;/a&gt;&lt;br&gt;
&lt;br&gt;The time out occurs in the Igor_ProcessMol def.  How do I lengthen the time out duration?  I have tried setting it via self.igor.activate(timeout=1200) but that doesn&amp;#39;t work.  It seems like self.igor.Do_Script() should have a way to set the time out.&lt;br&gt;
&lt;br&gt;Any suggestions or work around greatly appreciated.&lt;br&gt;Geoff&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;NOAA Earth System Research Laboratory&lt;br&gt;Global Monitoring Division&lt;br&gt;325 Broadway, R/GMD1&lt;br&gt;Boulder, CO 80305&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881413&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Apple-event-time-out-with-appscript-tp26881413p26881413.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26877459</id>
	<title>Re: [newbie] install PyObjc under EPD Python ?</title>
	<published>2009-12-21T09:42:19Z</published>
	<updated>2009-12-21T09:42:19Z</updated>
	<author>
		<name>Robert Kern-2</name>
	</author>
	<content type="html">On 2009-12-21 11:39 AM, Christopher Barker wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I wonder when Enthought is going to go to 2.6 for EPD?
&lt;br&gt;&lt;br&gt;The betas are out now and are available to subscribers. I'm not sure exactly 
&lt;br&gt;when the final release will be out (and freely available for the academic 
&lt;br&gt;license), but soon.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Robert Kern
&lt;br&gt;&lt;br&gt;&amp;quot;I have come to believe that the whole world is an enigma, a harmless enigma
&lt;br&gt;&amp;nbsp; that is made terrible by our own mad attempt to interpret it as though it had
&lt;br&gt;&amp;nbsp; an underlying truth.&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;-- Umberto Eco
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26877459&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-newbie--install-PyObjc-under-EPD-Python---tp26851864p26877459.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26877354</id>
	<title>Re: [newbie] install PyObjc under EPD Python ?</title>
	<published>2009-12-21T09:38:17Z</published>
	<updated>2009-12-21T09:38:17Z</updated>
	<author>
		<name>Christopher Barker</name>
	</author>
	<content type="html">Joost Rekveld wrote:
&lt;br&gt;&amp;gt; thanks for the replies and for explaining the Snow Leopard/Python issues.
&lt;br&gt;&amp;gt; That might be the reason why my effort to install PyObjc with easy_install (see first post) failed ?
&lt;br&gt;&amp;gt; I'll try to find an Enthought list in order to ask there or I'll consider switching to another Python distro, 
&lt;br&gt;&amp;gt; hoping that installing the other packages I use will be straightforward.
&lt;br&gt;&lt;br&gt;Well, many packages are still available with binaries for 2.5.
&lt;br&gt;&lt;br&gt;Maybe you can get someone (even Enthought) to build PyObj for EPD on a 
&lt;br&gt;10.5 machine.
&lt;br&gt;&lt;br&gt;I wonder when Enthought is going to go to 2.6 for EPD?
&lt;br&gt;&lt;br&gt;-Chris
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Christopher Barker, Ph.D.
&lt;br&gt;Oceanographer
&lt;br&gt;&lt;br&gt;Emergency Response Division
&lt;br&gt;NOAA/NOS/OR&amp;R &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(206) 526-6959 &amp;nbsp; voice
&lt;br&gt;7600 Sand Point Way NE &amp;nbsp; (206) 526-6329 &amp;nbsp; fax
&lt;br&gt;Seattle, WA &amp;nbsp;98115 &amp;nbsp; &amp;nbsp; &amp;nbsp; (206) 526-6317 &amp;nbsp; main reception
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26877354&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Chris.Barker@...&lt;/a&gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26877354&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-newbie--install-PyObjc-under-EPD-Python---tp26851864p26877354.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26877276</id>
	<title>Re: [newbie] install PyObjc under EPD Python ?</title>
	<published>2009-12-21T09:33:52Z</published>
	<updated>2009-12-21T09:33:52Z</updated>
	<author>
		<name>Christopher Barker</name>
	</author>
	<content type="html">Ned Deily wrote:
&lt;br&gt;&amp;gt; Chances are, though, that 
&lt;br&gt;&amp;gt; their python2.5 does not allow you to correctly build packages with C 
&lt;br&gt;&amp;gt; extension modules (such as those in PyObjC) on 10.6.
&lt;br&gt;&lt;br&gt;whooa!
&lt;br&gt;&lt;br&gt;This appears to mean that python2.6 (or 3.1, I guess) is the only fully 
&lt;br&gt;supported option for 10.6 and above?
&lt;br&gt;&lt;br&gt;That's good to know -- hopefully we'll be going to 10.6 soon, and have 
&lt;br&gt;not yet ported some critical stuff to 2.6.
&lt;br&gt;&lt;br&gt;Have I got that right?
&lt;br&gt;&lt;br&gt;-Chris
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Christopher Barker, Ph.D.
&lt;br&gt;Oceanographer
&lt;br&gt;&lt;br&gt;Emergency Response Division
&lt;br&gt;NOAA/NOS/OR&amp;R &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(206) 526-6959 &amp;nbsp; voice
&lt;br&gt;7600 Sand Point Way NE &amp;nbsp; (206) 526-6329 &amp;nbsp; fax
&lt;br&gt;Seattle, WA &amp;nbsp;98115 &amp;nbsp; &amp;nbsp; &amp;nbsp; (206) 526-6317 &amp;nbsp; main reception
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26877276&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Chris.Barker@...&lt;/a&gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26877276&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-newbie--install-PyObjc-under-EPD-Python---tp26851864p26877276.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26872281</id>
	<title>Re: [newbie] install PyObjc under EPD Python ?</title>
	<published>2009-12-21T02:43:18Z</published>
	<updated>2009-12-21T02:43:18Z</updated>
	<author>
		<name>Joost Rekveld</name>
	</author>
	<content type="html">Hi Ned,
&lt;br&gt;&lt;br&gt;thanks for the replies and for explaining the Snow Leopard/Python issues.
&lt;br&gt;That might be the reason why my effort to install PyObjc with easy_install (see first post) failed ?
&lt;br&gt;I'll try to find an Enthought list in order to ask there or I'll consider switching to another Python distro, 
&lt;br&gt;hoping that installing the other packages I use will be straightforward.
&lt;br&gt;&lt;br&gt;ciao,
&lt;br&gt;&lt;br&gt;Joost.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On &amp;nbsp;20 Dec, 2009, at 10:45 PM, Ned Deily wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; In article &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26872281&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;045FA67C-03BC-421A-AFBE-4AFDC9383EC4@...&lt;/a&gt;&amp;gt;,
&lt;br&gt;&amp;gt; Joost Rekveld &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26872281&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; yes, I see, so my first question remains:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; how can I install PyObjc into a non-Apple, non-MacPort Python instance ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; And the answers I've given you still stand. &amp;nbsp;It depends on what version 
&lt;br&gt;&amp;gt; of Python and what distribution you are talking about.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; For the current python.org 2.6 installer for OS X, python 2.6.4, you 
&lt;br&gt;&amp;gt; just need to install setuptools/easy_install 
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://pypi.python.org/pypi/setuptools&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pypi.python.org/pypi/setuptools&lt;/a&gt;) for that python and then use it 
&lt;br&gt;&amp;gt; to install pyobjc. &amp;nbsp;At the moment, Python 2.6.4 is the only python.org 
&lt;br&gt;&amp;gt; python that has been fully tested with and is known to work on 10.6 
&lt;br&gt;&amp;gt; (Snow Leopard).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; For EPD Pythons, you should ask on an Enthought forum of people who are 
&lt;br&gt;&amp;gt; familiar with Enthought's OS X distribution. &amp;nbsp;Chances are, though, that 
&lt;br&gt;&amp;gt; their python2.5 does not allow you to correctly build packages with C 
&lt;br&gt;&amp;gt; extension modules (such as those in PyObjC) on 10.6. &amp;nbsp;There were fixes 
&lt;br&gt;&amp;gt; needed for 2.6 to do that and those will not be backported to 
&lt;br&gt;&amp;gt; python.org's 2.5 which is no longer maintained except for critical 
&lt;br&gt;&amp;gt; security patches and was last released before 10.6 was released. &amp;nbsp;
&lt;br&gt;&amp;gt; Perhaps Enthought has done the backporting and testing.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; There is also a mailing list for questions about PyObjC itself:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://dir.gmane.org/gmane.comp.python.pyobjc.devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dir.gmane.org/gmane.comp.python.pyobjc.devel&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Ned Deily,
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26872281&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nad@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26872281&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26872281&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-newbie--install-PyObjc-under-EPD-Python---tp26851864p26872281.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26867550</id>
	<title>Re: [newbie] install PyObjc under EPD Python ?</title>
	<published>2009-12-20T13:45:29Z</published>
	<updated>2009-12-20T13:45:29Z</updated>
	<author>
		<name>Ned Deily</name>
	</author>
	<content type="html">In article &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26867550&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;045FA67C-03BC-421A-AFBE-4AFDC9383EC4@...&lt;/a&gt;&amp;gt;,
&lt;br&gt;&amp;nbsp;Joost Rekveld &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26867550&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; yes, I see, so my first question remains:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; how can I install PyObjc into a non-Apple, non-MacPort Python instance ?
&lt;br&gt;&amp;nbsp;
&lt;br&gt;And the answers I've given you still stand. &amp;nbsp;It depends on what version 
&lt;br&gt;of Python and what distribution you are talking about.
&lt;br&gt;&lt;br&gt;For the current python.org 2.6 installer for OS X, python 2.6.4, you 
&lt;br&gt;just need to install setuptools/easy_install 
&lt;br&gt;(&lt;a href=&quot;http://pypi.python.org/pypi/setuptools&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pypi.python.org/pypi/setuptools&lt;/a&gt;) for that python and then use it 
&lt;br&gt;to install pyobjc. &amp;nbsp;At the moment, Python 2.6.4 is the only python.org 
&lt;br&gt;python that has been fully tested with and is known to work on 10.6 
&lt;br&gt;(Snow Leopard).
&lt;br&gt;&lt;br&gt;For EPD Pythons, you should ask on an Enthought forum of people who are 
&lt;br&gt;familiar with Enthought's OS X distribution. &amp;nbsp;Chances are, though, that 
&lt;br&gt;their python2.5 does not allow you to correctly build packages with C 
&lt;br&gt;extension modules (such as those in PyObjC) on 10.6. &amp;nbsp;There were fixes 
&lt;br&gt;needed for 2.6 to do that and those will not be backported to 
&lt;br&gt;python.org's 2.5 which is no longer maintained except for critical 
&lt;br&gt;security patches and was last released before 10.6 was released. &amp;nbsp;
&lt;br&gt;Perhaps Enthought has done the backporting and testing.
&lt;br&gt;&lt;br&gt;There is also a mailing list for questions about PyObjC itself:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://dir.gmane.org/gmane.comp.python.pyobjc.devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dir.gmane.org/gmane.comp.python.pyobjc.devel&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;Ned Deily,
&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26867550&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nad@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26867550&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-newbie--install-PyObjc-under-EPD-Python---tp26851864p26867550.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26862660</id>
	<title>Re: [newbie] install PyObjc under EPD Python ?</title>
	<published>2009-12-20T03:34:51Z</published>
	<updated>2009-12-20T03:34:51Z</updated>
	<author>
		<name>Joost Rekveld</name>
	</author>
	<content type="html">yes, I see, so my first question remains:
&lt;br&gt;&lt;br&gt;how can I install PyObjc into a non-Apple, non-MacPort Python instance ?
&lt;br&gt;&lt;br&gt;thanks,
&lt;br&gt;&lt;br&gt;Joost.
&lt;br&gt;&lt;br&gt;On &amp;nbsp;20 Dec, 2009, at 5:28 AM, Ned Deily wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; This workaround seems a bit dodgy to me, but it works ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It's bad practice to follow. &amp;nbsp;In the absence of compatibility 
&lt;br&gt;&amp;gt; guarantees, the only safe approach is to install any missing modules you 
&lt;br&gt;&amp;gt; need into each Python instance where you need them. &amp;nbsp;And, while it is 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Joost Rekveld
&lt;br&gt;----------- &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.lumen.nu/rekveld&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lumen.nu/rekveld&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;quot;There are no passengers on spaceship earth. 
&lt;br&gt;We are all crew.” 
&lt;br&gt;&lt;br&gt;(Marshall McLuhan) 
&lt;br&gt;&lt;br&gt;-------------------------------------------
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26862660&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-newbie--install-PyObjc-under-EPD-Python---tp26851864p26862660.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26860949</id>
	<title>Re: [newbie] install PyObjc under EPD Python ?</title>
	<published>2009-12-19T20:28:35Z</published>
	<updated>2009-12-19T20:28:35Z</updated>
	<author>
		<name>Ned Deily</name>
	</author>
	<content type="html">In article &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26860949&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;D87DFA01-56F8-4E42-BD4B-AF4184AE7F94@...&lt;/a&gt;&amp;gt;,
&lt;br&gt;&amp;nbsp;Joost Rekveld &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26860949&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; The problem with MacPorts is that it installs everything around its own 
&lt;br&gt;&amp;gt; Python25, which is again in a different place and I don't know how to 
&lt;br&gt;&amp;gt; persuade it to install PyObjc where I want it.
&lt;br&gt;&lt;br&gt;You don't. &amp;nbsp;A Python package, particularly one that contains C 
&lt;br&gt;extensions, should only be used with the Python instance which it was 
&lt;br&gt;built with and installed into. &amp;nbsp;There can be major differences in the 
&lt;br&gt;build options between Python instances even at the same release level. &amp;nbsp;
&lt;br&gt;So if you install a MacPorts PyObjC, you use the MacPorts python, too. &amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Independently I found this page:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://forums.macrumors.com/archive/index.php/t-377881.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://forums.macrumors.com/archive/index.php/t-377881.html&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; and when I add this to my PythonPath:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyO
&lt;br&gt;&amp;gt; bjC
&lt;br&gt;&amp;gt; /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/py2
&lt;br&gt;&amp;gt; app
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; it all seems to work: at least it seems now that I can import objc, AppKit, 
&lt;br&gt;&amp;gt; QTKit
&lt;br&gt;&amp;gt; tonight i'll be able to see whether it really works.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This workaround seems a bit dodgy to me, but it works ?
&lt;/div&gt;&lt;br&gt;It's bad practice to follow. &amp;nbsp;In the absence of compatibility 
&lt;br&gt;guarantees, the only safe approach is to install any missing modules you 
&lt;br&gt;need into each Python instance where you need them. &amp;nbsp;And, while it is 
&lt;br&gt;fine to install additional packages to the Apple-supplied pythons (these 
&lt;br&gt;additional site packages are placed in /Library/Python), one should 
&lt;br&gt;never try to remove or delete the Apple-supplied files (in /usr/bin and 
&lt;br&gt;/System/Library). &amp;nbsp;They are part of OS X and managed by Apple.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;Ned Deily,
&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26860949&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nad@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26860949&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-newbie--install-PyObjc-under-EPD-Python---tp26851864p26860949.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26854286</id>
	<title>Re: [newbie] install PyObjc under EPD Python ?</title>
	<published>2009-12-19T03:22:58Z</published>
	<updated>2009-12-19T03:22:58Z</updated>
	<author>
		<name>Joost Rekveld</name>
	</author>
	<content type="html">Hi Ned,
&lt;br&gt;&lt;br&gt;thanks for the reply. 
&lt;br&gt;The problem with MacPorts is that it installs everything around its own Python25, which is again in a different place and I don't know how to persuade it to install PyObjc where I want it.
&lt;br&gt;&lt;br&gt;Independently I found this page:
&lt;br&gt;&lt;br&gt;&amp;lt;&lt;a href=&quot;http://forums.macrumors.com/archive/index.php/t-377881.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://forums.macrumors.com/archive/index.php/t-377881.html&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;and when I add this to my PythonPath:
&lt;br&gt;&lt;br&gt;/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC
&lt;br&gt;/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/py2app
&lt;br&gt;&amp;nbsp;
&lt;br&gt;it all seems to work: at least it seems now that I can import objc, AppKit, QTKit
&lt;br&gt;tonight i'll be able to see whether it really works.
&lt;br&gt;&lt;br&gt;This workaround seems a bit dodgy to me, but it works ?
&lt;br&gt;&lt;br&gt;If anybody has a better suggestion, i'd be very curious..
&lt;br&gt;&lt;br&gt;ciao,
&lt;br&gt;&lt;br&gt;Joost.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On &amp;nbsp;19 Dec, 2009, at 11:50 AM, Ned Deily wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; In article &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26854286&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;438D4269-AE6A-42A7-B104-0FED6CE77EB5@...&lt;/a&gt;&amp;gt;,
&lt;br&gt;&amp;gt; Joost Rekveld &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26854286&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; thanks for your reply. Yes, I read that you don't have to do anything for the 
&lt;br&gt;&amp;gt;&amp;gt; apple-supplied Pythons, but what if I want to keep using my EPD Python ?
&lt;br&gt;&amp;gt;&amp;gt; If not, i'll have to install everything else in order to be able to use 
&lt;br&gt;&amp;gt;&amp;gt; PyObjc. If it is the only way, I'd consider it, but I'd find it strange ?
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; how can I install PyObjc for a non-apple-supplied Python ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sorry, I have no experience with the the Enthought distribution. &amp;nbsp;You 
&lt;br&gt;&amp;gt; might ask over on the EPD-Users mailing list. &amp;nbsp;Depending on how that 
&lt;br&gt;&amp;gt; Python 2.5.4 was built and whether it has been patched to support 
&lt;br&gt;&amp;gt; building extensions on 10.6, you may need to use a different version of 
&lt;br&gt;&amp;gt; gcc (typically, export CC=/usr/bin/gcc-4.0) and/or add -arch i386 flags. 
&lt;br&gt;&amp;gt; Python 2.5 is rather old and only receives critical security bug fixes 
&lt;br&gt;&amp;gt; these days from the Python development team. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; PyObjC is also available as a MacPorts port if you care to use a 
&lt;br&gt;&amp;gt; complete MacPorts solution:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;sudo port install py25-pyobjc-cocoa
&lt;br&gt;&amp;gt; or sudo port install py26-pyobjc-cocoa.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Ned Deily,
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26854286&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nad@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26854286&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;	 &amp;nbsp; &amp;nbsp; &amp;nbsp;Joost Rekveld
&lt;br&gt;----------- &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.lumen.nu/rekveld&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lumen.nu/rekveld&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------
&lt;br&gt;&lt;br&gt;“This alone I ask you, O reader, that when you peruse the 
&lt;br&gt;account of these marvels that you do not set up for yourself 
&lt;br&gt;as a standard human intellectual pride, but rather the great
&lt;br&gt;size and vastness of earth and sky; and, comparing with 
&lt;br&gt;that Infinity these slender shadows in which miserably and 
&lt;br&gt;anxiously we are enveloped, you will easily know that I have 
&lt;br&gt;related nothing which is beyond belief.” 
&lt;br&gt;(Girolamo Cardano) 
&lt;br&gt;&lt;br&gt;-------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26854286&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-newbie--install-PyObjc-under-EPD-Python---tp26851864p26854286.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26854113</id>
	<title>Re: [newbie] install PyObjc under EPD Python ?</title>
	<published>2009-12-19T02:50:14Z</published>
	<updated>2009-12-19T02:50:14Z</updated>
	<author>
		<name>Ned Deily</name>
	</author>
	<content type="html">In article &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26854113&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;438D4269-AE6A-42A7-B104-0FED6CE77EB5@...&lt;/a&gt;&amp;gt;,
&lt;br&gt;&amp;nbsp;Joost Rekveld &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26854113&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; thanks for your reply. Yes, I read that you don't have to do anything for the 
&lt;br&gt;&amp;gt; apple-supplied Pythons, but what if I want to keep using my EPD Python ?
&lt;br&gt;&amp;gt; If not, i'll have to install everything else in order to be able to use 
&lt;br&gt;&amp;gt; PyObjc. If it is the only way, I'd consider it, but I'd find it strange ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; how can I install PyObjc for a non-apple-supplied Python ?
&lt;br&gt;&lt;br&gt;Sorry, I have no experience with the the Enthought distribution. &amp;nbsp;You 
&lt;br&gt;might ask over on the EPD-Users mailing list. &amp;nbsp;Depending on how that 
&lt;br&gt;Python 2.5.4 was built and whether it has been patched to support 
&lt;br&gt;building extensions on 10.6, you may need to use a different version of 
&lt;br&gt;gcc (typically, export CC=/usr/bin/gcc-4.0) and/or add -arch i386 flags. 
&lt;br&gt;Python 2.5 is rather old and only receives critical security bug fixes 
&lt;br&gt;these days from the Python development team. 
&lt;br&gt;&lt;br&gt;PyObjC is also available as a MacPorts port if you care to use a 
&lt;br&gt;complete MacPorts solution:
&lt;br&gt;&amp;nbsp; &amp;nbsp; sudo port install py25-pyobjc-cocoa
&lt;br&gt;or sudo port install py26-pyobjc-cocoa.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;Ned Deily,
&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26854113&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nad@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26854113&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-newbie--install-PyObjc-under-EPD-Python---tp26851864p26854113.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26853774</id>
	<title>Re: [newbie] install PyObjc under EPD Python ?</title>
	<published>2009-12-19T01:44:17Z</published>
	<updated>2009-12-19T01:44:17Z</updated>
	<author>
		<name>Joost Rekveld</name>
	</author>
	<content type="html">Hi Ned,
&lt;br&gt;&lt;br&gt;thanks for your reply. Yes, I read that you don't have to do anything for the apple-supplied Pythons, but what if I want to keep using my EPD Python ?
&lt;br&gt;If not, i'll have to install everything else in order to be able to use PyObjc. If it is the only way, I'd consider it, but I'd find it strange ?
&lt;br&gt;&lt;br&gt;how can I install PyObjc for a non-apple-supplied Python ?
&lt;br&gt;&lt;br&gt;easy_install actually seems to work up to a point; it installs about twenty packages but then I get:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Running pyobjc-core-2.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-mXb8PO/pyobjc-core-2.2/egg-dist-tmp-xJGYdv
&lt;br&gt;&amp;gt; warning: no directories found matching 'Scripts'
&lt;br&gt;&amp;gt; warning: no directories found matching 'setup-lib'
&lt;br&gt;&amp;gt; warning: no directories found matching 'source-deps'
&lt;br&gt;&amp;gt; warning: no previously-included files matching '.DS_Store' found anywhere in distribution
&lt;br&gt;&amp;gt; warning: no previously-included files matching '*.pyc' found anywhere in distribution
&lt;br&gt;&amp;gt; warning: no previously-included files matching '*.so' found anywhere in distribution
&lt;br&gt;&amp;gt; libffi-src/x86/x86-ffi_darwin.c:39: warning: no previous prototype for ‘ffi_prep_args’
&lt;br&gt;&amp;gt; libffi-src/x86/x86-ffi_darwin.c:178: warning: function declaration isn’t a prototype
&lt;br&gt;&amp;gt; libffi-src/x86/x86-ffi_darwin.c:186: warning: function declaration isn’t a prototype
&lt;br&gt;&amp;gt; Modules/objc/objc-class.m: In function ‘PyObjCClass_New’:
&lt;br&gt;&amp;gt; Modules/objc/objc-class.m:1416: warning: implicit declaration of function ‘PyType_Modified’
&lt;br&gt;&amp;gt; Modules/objc/objc-class.m:1416: warning: nested extern declaration of ‘PyType_Modified’
&lt;br&gt;&amp;gt; Modules/objc/OC_PythonObject.m: In function ‘-[OC_PythonObject replacementObjectForKeyedArchiver:]’:
&lt;br&gt;&amp;gt; Modules/objc/OC_PythonObject.m:1370: warning: conflicting types for ‘-(NSObject *)replacementObjectForKeyedArchiver:(NSKeyedArchiver *)archiver’
&lt;/div&gt;&lt;br&gt;this goes on and on with similar messages, until:
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Modules/objc/parsexml.m:1715: warning: implicit declaration of function ‘xmlFreeDoc’
&lt;br&gt;&amp;gt; Modules/objc/parsexml.m:1715: warning: nested extern declaration of ‘xmlFreeDoc’
&lt;br&gt;&amp;gt; error: Setup script exited with error: command 'gcc' failed with exit status 1
&lt;br&gt;&lt;br&gt;&lt;br&gt;why doesn't this work ?
&lt;br&gt;My feeling is that I need a few clever symlinks to somewhere else, but I have no idea what precisely..
&lt;br&gt;&lt;br&gt;any ideas ?
&lt;br&gt;&lt;br&gt;&lt;br&gt;cheers,
&lt;br&gt;&lt;br&gt;Joost.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On &amp;nbsp;19 Dec, 2009, at 4:38 AM, Ned Deily wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; In article &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26853774&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;BE9BC0C9-1331-4893-9B62-01F08FB3CCC7@...&lt;/a&gt;&amp;gt;,
&lt;br&gt;&amp;gt; Joost Rekveld &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26853774&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; and everybody writes PyObjc is already installed on Snow Leopard, but I don't 
&lt;br&gt;&amp;gt;&amp;gt; know what path to add to my Pythonpath for it to be found ? Would it be that 
&lt;br&gt;&amp;gt;&amp;gt; simple ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You don't need to add anything if you use one of the Apple-supplied 
&lt;br&gt;&amp;gt; Pythons in Snow Leopard:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; $ /usr/bin/python2.6
&lt;br&gt;&amp;gt; Python 2.6.1 (r261:67515, Jul &amp;nbsp;7 2009, 23:51:51) 
&lt;br&gt;&amp;gt; [GCC 4.2.1 (Apple Inc. build 5646)] on darwin
&lt;br&gt;&amp;gt; Type &amp;quot;help&amp;quot;, &amp;quot;copyright&amp;quot;, &amp;quot;credits&amp;quot; or &amp;quot;license&amp;quot; for more information.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; import objc
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ^D
&lt;br&gt;&amp;gt; $ /usr/bin/python2.5
&lt;br&gt;&amp;gt; Python 2.5.4 (r254:67916, Jul &amp;nbsp;7 2009, 23:51:24) 
&lt;br&gt;&amp;gt; [GCC 4.2.1 (Apple Inc. build 5646)] on darwin
&lt;br&gt;&amp;gt; Type &amp;quot;help&amp;quot;, &amp;quot;copyright&amp;quot;, &amp;quot;credits&amp;quot; or &amp;quot;license&amp;quot; for more information.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; import objc
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ^D
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;On &amp;nbsp;19 Dec, 2009, at 2:20 AM, Joost Rekveld wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; i'm very new to this list, relatively new to Python, and don't manage to install PyObjc under the Enthought Python on Snow Leopard (distribution 5.1.1, which includes a Python 2.5.4).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; - easy_install installs things in their desired places, but chokes on PyObjc-core
&lt;br&gt;&amp;gt; - macports starts installing all kinds of stuff where I don't want it (and quits when it doesn't find its own Python2.5 version).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; and everybody writes PyObjc is already installed on Snow Leopard, but I don't know what path to add to my Pythonpath for it to be found ? Would it be that simple ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; and online I don't seem to find people having the same problem, so I must be missing something very obvious.
&lt;br&gt;&amp;gt; any help very much appreciated !
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; kind regards,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Joost.
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Joost Rekveld
&lt;br&gt;----------- &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.lumen.nu/rekveld&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lumen.nu/rekveld&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;quot;A is better off if B is better off.” 
&lt;br&gt;&lt;br&gt;(Heinz von Foerster) 
&lt;br&gt;&lt;br&gt;-------------------------------------------
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26853774&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-newbie--install-PyObjc-under-EPD-Python---tp26851864p26853774.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26852521</id>
	<title>Re: [newbie] install PyObjc under EPD Python ?</title>
	<published>2009-12-18T19:38:50Z</published>
	<updated>2009-12-18T19:38:50Z</updated>
	<author>
		<name>Ned Deily</name>
	</author>
	<content type="html">In article &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26852521&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;BE9BC0C9-1331-4893-9B62-01F08FB3CCC7@...&lt;/a&gt;&amp;gt;,
&lt;br&gt;&amp;nbsp;Joost Rekveld &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26852521&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; and everybody writes PyObjc is already installed on Snow Leopard, but I don't 
&lt;br&gt;&amp;gt; know what path to add to my Pythonpath for it to be found ? Would it be that 
&lt;br&gt;&amp;gt; simple ?
&lt;br&gt;&lt;br&gt;You don't need to add anything if you use one of the Apple-supplied 
&lt;br&gt;Pythons in Snow Leopard:
&lt;br&gt;&lt;br&gt;$ /usr/bin/python2.6
&lt;br&gt;Python 2.6.1 (r261:67515, Jul &amp;nbsp;7 2009, 23:51:51) 
&lt;br&gt;[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
&lt;br&gt;Type &amp;quot;help&amp;quot;, &amp;quot;copyright&amp;quot;, &amp;quot;credits&amp;quot; or &amp;quot;license&amp;quot; for more information.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; import objc
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ^D
&lt;br&gt;$ /usr/bin/python2.5
&lt;br&gt;Python 2.5.4 (r254:67916, Jul &amp;nbsp;7 2009, 23:51:24) 
&lt;br&gt;[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
&lt;br&gt;Type &amp;quot;help&amp;quot;, &amp;quot;copyright&amp;quot;, &amp;quot;credits&amp;quot; or &amp;quot;license&amp;quot; for more information.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; import objc
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ^D
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;Ned Deily,
&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26852521&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nad@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26852521&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-newbie--install-PyObjc-under-EPD-Python---tp26851864p26852521.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26851864</id>
	<title>[newbie] install PyObjc under EPD Python ?</title>
	<published>2009-12-18T17:20:29Z</published>
	<updated>2009-12-18T17:20:29Z</updated>
	<author>
		<name>Joost Rekveld</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;i'm very new to this list, relatively new to Python, and don't manage to install PyObjc under the Enthought Python on Snow Leopard (distribution 5.1.1, which includes a Python 2.5.4).
&lt;br&gt;&lt;br&gt;- easy_install installs things in their desired places, but chokes on PyObjc-core
&lt;br&gt;- macports starts installing all kinds of stuff where I don't want it (and quits when it doesn't find its own Python2.5 version).
&lt;br&gt;&lt;br&gt;and everybody writes PyObjc is already installed on Snow Leopard, but I don't know what path to add to my Pythonpath for it to be found ? Would it be that simple ?
&lt;br&gt;&lt;br&gt;and online I don't seem to find people having the same problem, so I must be missing something very obvious.
&lt;br&gt;any help very much appreciated !
&lt;br&gt;&lt;br&gt;kind regards,
&lt;br&gt;&lt;br&gt;Joost.
&lt;br&gt;&lt;br&gt;-------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Joost Rekveld
&lt;br&gt;----------- &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.lumen.nu/rekveld&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lumen.nu/rekveld&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;quot;In theory, there is no difference between theory and practice. 
&lt;br&gt;In practice, there is.&amp;quot; 
&lt;br&gt;&lt;br&gt;(Jan L. A. van de Snepscheut) 
&lt;br&gt;&lt;br&gt;-------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26851864&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-newbie--install-PyObjc-under-EPD-Python---tp26851864p26851864.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26845836</id>
	<title>Re: python-config ldflags problem on mac</title>
	<published>2009-12-18T08:18:32Z</published>
	<updated>2009-12-18T08:18:32Z</updated>
	<author>
		<name>Ronald Oussoren</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;On Friday, December 18, 2009, at 04:51PM, &amp;quot;Robin&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26845836&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;robince@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I have a problem with using python-config --ldflags on a Mac.
&lt;br&gt;&lt;br&gt;Could you please file a bug on bugs.python.org to ensure that I don't forget to apply a fix for this?
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Using my python.org install:
&lt;br&gt;&amp;gt;robin-mbp:github robince$ which python-config
&lt;br&gt;&amp;gt;/Library/Frameworks/Python.framework/Versions/2.5/bin/python-config
&lt;br&gt;&amp;gt;robin-mbp:github robince$ python-config --ldflags
&lt;br&gt;&amp;gt;-L/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config
&lt;br&gt;&amp;gt;-ldl -lpython2.5
&lt;br&gt;&lt;br&gt;The easiest workaround is to open a terminal window and execute the following commands:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;cd /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config
&lt;br&gt;&amp;nbsp; &amp;nbsp;ln -s libpython2.5.a libpython2.5.dylib
&lt;br&gt;&lt;br&gt;This will ensure that the OSX linker knows that libpython is a shared library and links to this library. By default the OSX linker searches for a .dylib on the entire linker path and only then looks for .a files.
&lt;br&gt;&lt;br&gt;BTW. python-config doesn't link using '-framework Python' on purpose: it is impossible to select the framework version that way (e.g. link to python 2.5 when you have 2.5, 2.6 and 3.1 installed)
&lt;br&gt;&lt;br&gt;Ronald
&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26845836&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/python-config-ldflags-problem-on-mac-tp26845559p26845836.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26845559</id>
	<title>python-config ldflags problem on mac</title>
	<published>2009-12-18T07:51:58Z</published>
	<updated>2009-12-18T07:51:58Z</updated>
	<author>
		<name>Robin-62</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have a problem with using python-config --ldflags on a Mac.
&lt;br&gt;&lt;br&gt;Using my python.org install:
&lt;br&gt;robin-mbp:github robince$ which python-config
&lt;br&gt;/Library/Frameworks/Python.framework/Versions/2.5/bin/python-config
&lt;br&gt;robin-mbp:github robince$ python-config --ldflags
&lt;br&gt;-L/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config
&lt;br&gt;-ldl -lpython2.5
&lt;br&gt;&lt;br&gt;But if I build a C file with python embedded, the above linker flags
&lt;br&gt;result it in it embedding the system python. Obviously the -lpython2.5
&lt;br&gt;is picking up the system one in preference to the one on the -L path.
&lt;br&gt;&lt;br&gt;So far the only way I've got it to build against the one I want is with
&lt;br&gt;LDFLAGS=-F/ -framework Python
&lt;br&gt;(as well as -undefined dynamic_lookup -bundle, but I don't think
&lt;br&gt;that's relevant to the problem)
&lt;br&gt;&lt;br&gt;However, I am looking for a way to determine this for users to
&lt;br&gt;install. Shouldn't python-config return the right thing?
&lt;br&gt;&lt;br&gt;Is there something simple to add to LDFLAGS to allow -lpython2.5 to
&lt;br&gt;choose the right one so I can continue to use python-config (ie only
&lt;br&gt;search the path specified with -L) - this would allow the
&lt;br&gt;python-config output to work correctly for both the system python or
&lt;br&gt;user installed python.
&lt;br&gt;&lt;br&gt;Or is there another way to determine (in an external build tool like
&lt;br&gt;make) the correct linker flags for the python in a users path (ie -F/
&lt;br&gt;-framework Python).
&lt;br&gt;&lt;br&gt;Any advice appreciated,
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Robin
&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26845559&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/python-config-ldflags-problem-on-mac-tp26845559p26845559.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26842309</id>
	<title>Re: timeout of connection?</title>
	<published>2009-12-18T03:45:34Z</published>
	<updated>2009-12-18T03:45:34Z</updated>
	<author>
		<name>has-13</name>
	</author>
	<content type="html">Jon Christopher wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Are you sure all commands are being executed?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Reasonably, but I'll have to check again.
&lt;br&gt;&lt;br&gt;Always helps to be sure. Been there, done that.
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; What do the references produced by the following look like:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;print app(&amp;quot;EyeTV&amp;quot;).recordings.get()
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; IIRC, it's a list of recording objects (defined in the EyeTV dictionary)
&lt;br&gt;&amp;gt; which can then be passed back to EyeTV:
&lt;br&gt;&amp;gt; [...]
&lt;br&gt;&amp;gt; Now that I think about it, my app caches those recording objects for
&lt;br&gt;&amp;gt; quite some time. &amp;nbsp;Is there a possibility that they could expire or become
&lt;br&gt;&amp;gt; invalidated over time?
&lt;/div&gt;&lt;br&gt;Bear in mind that Apple event IPC uses queries, not pointers, to identify remote objects. (It's roughly analogous to sending XPath queries over XML-RPC.) The reason I ask to see an actual result is because some types of queries are more 'reliable' than others. Only the by-id reference form gives anything like a guarantee of locating the same object every time you use it in a command.
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Have you tried enabling AEDebug and observing the events being sent?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Interesting idea. &amp;nbsp;Any suggestions on how to do so? &amp;nbsp;My application
&lt;br&gt;&amp;gt; is a plug-in for Front Row,
&lt;br&gt;&amp;gt; and there's something weird about the way FR is started: &amp;nbsp;there's a
&lt;br&gt;&amp;gt; separate launcher app
&lt;br&gt;&amp;gt; for the actual .app in /System/Library/Core Services/Front Row.app;
&lt;br&gt;&amp;gt; I'm not sure if launching FR
&lt;br&gt;&amp;gt; from the command line actually works, which makes setting the AEDebug
&lt;br&gt;&amp;gt; environment variable
&lt;br&gt;&amp;gt; problematic.
&lt;/div&gt;&lt;br&gt;Try setting it on EyeTV.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://developer.apple.com/mac/library/technotes/tn2004/tn2124.html#SECAE&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.apple.com/mac/library/technotes/tn2004/tn2124.html#SECAE&lt;/a&gt;&lt;br&gt;&lt;br&gt;has
&lt;br&gt;-- 
&lt;br&gt;Control AppleScriptable applications from Python, Ruby and ObjC:
&lt;br&gt;&lt;a href=&quot;http://appscript.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://appscript.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26842309&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/timeout-of-connection--tp26801941p26842309.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26835464</id>
	<title>Re: timeout of connection?</title>
	<published>2009-12-17T13:40:57Z</published>
	<updated>2009-12-17T13:40:57Z</updated>
	<author>
		<name>Jon Christopher</name>
	</author>
	<content type="html">@ken: Oh, I'm all for &amp;quot;experimental computer science&amp;quot;, I'll try the
&lt;br&gt;new version when I get home.
&lt;br&gt;&lt;br&gt;@has:
&lt;br&gt;&lt;br&gt;&amp;gt; Is the EyeTV process running throughout, or does it quit and restart?
&lt;br&gt;&lt;br&gt;Running throughout.
&lt;br&gt;&lt;br&gt;&amp;gt; Are you sure all commands are being executed?
&lt;br&gt;&lt;br&gt;Reasonably, but I'll have to check again.
&lt;br&gt;&lt;br&gt;&amp;gt; What do the references produced by the following look like:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        print app(&amp;quot;EyeTV&amp;quot;).recordings.get()
&lt;br&gt;&lt;br&gt;&lt;br&gt;IIRC, it's a list of recording objects (defined in the EyeTV dictionary)
&lt;br&gt;which can then be passed back to EyeTV:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;recs=app(&amp;quot;EyeTV&amp;quot;).recordings.get()
&lt;br&gt;&amp;nbsp; &amp;nbsp;rec=recs[0]
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;app(&amp;quot;EyeTV&amp;quot;).play(rec) # play the recording
&lt;br&gt;&lt;br&gt;or inspected for properties:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;rec.title.get() &amp;nbsp;# return the title of the recording
&lt;br&gt;&lt;br&gt;&lt;br&gt;Now that I think about it, my app caches those recording objects for
&lt;br&gt;quite some time. &amp;nbsp;Is there a possibility that they could expire or become
&lt;br&gt;invalidated over time?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Have you tried enabling AEDebug and observing the events being sent?
&lt;br&gt;&lt;br&gt;Interesting idea. &amp;nbsp;Any suggestions on how to do so? &amp;nbsp; My application
&lt;br&gt;is a plug-in for Front Row,
&lt;br&gt;and there's something weird about the way FR is started: &amp;nbsp;there's a
&lt;br&gt;separate launcher app
&lt;br&gt;for the actual .app in /System/Library/Core Services/Front Row.app;
&lt;br&gt;I'm not sure if launching FR
&lt;br&gt;from the command line actually works, which makes setting the AEDebug
&lt;br&gt;environment variable
&lt;br&gt;problematic.
&lt;br&gt;&lt;br&gt;Finally, since my actual app is a plugin, and this problem only occurs
&lt;br&gt;after FR and the machine have been idle
&lt;br&gt;for a long time, it's really difficult to debug/reproduce, as the
&lt;br&gt;testing cycle currently is &amp;quot;make a code change, wait 18-24h with the
&lt;br&gt;computer idle to see if the intermittent problem reoccurs.&amp;quot; &amp;nbsp;Not fun.
&lt;br&gt;Finally, restarting *Front Row* clears up the problem. &amp;nbsp; &amp;nbsp;If anyone
&lt;br&gt;has any bright ideas about how to speed up this turn-around time, I'd
&lt;br&gt;be delighted to hear them.
&lt;br&gt;&lt;br&gt;Thanks again,
&lt;br&gt;Jon
&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26835464&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/timeout-of-connection--tp26801941p26835464.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26835001</id>
	<title>Re: timeout of connection?</title>
	<published>2009-12-17T13:09:53Z</published>
	<updated>2009-12-17T13:09:53Z</updated>
	<author>
		<name>has-13</name>
	</author>
	<content type="html">Jon Christopher wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; So, I'll reiterate my request. &amp;nbsp;Can can any of the appscript gurus
&lt;br&gt;&amp;gt; think of any reason why
&lt;br&gt;&amp;gt; the following (pseudo) code should fail:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; import appscript
&lt;br&gt;&amp;gt; id=app(&amp;quot;EyeTV&amp;quot;).recordings.get()[0]
&lt;br&gt;&amp;gt; app(&amp;quot;EyeTV&amp;quot;).play(id) # works just fine
&lt;br&gt;&amp;gt; app(&amp;quot;EyeTV&amp;quot;).stop() &amp;nbsp;#works just fine
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; go_do_other_stuff_possibly_in_other_threads_for_a_really_long_time()
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; app(&amp;quot;EyeTV&amp;quot;).play(id) &amp;nbsp;# has no effect
&lt;/div&gt;&lt;br&gt;Is the EyeTV process running throughout, or does it quit and restart?
&lt;br&gt;&lt;br&gt;Are you sure all commands are being executed?
&lt;br&gt;&lt;br&gt;What do the references produced by the following look like:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print app(&amp;quot;EyeTV&amp;quot;).recordings.get()
&lt;br&gt;&lt;br&gt;Have you tried enabling AEDebug and observing the events being sent?
&lt;br&gt;&lt;br&gt;has
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Control AppleScriptable applications from Python, Ruby and ObjC:
&lt;br&gt;&lt;a href=&quot;http://appscript.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://appscript.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26835001&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/timeout-of-connection--tp26801941p26835001.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26834401</id>
	<title>Re: timeout of connection?</title>
	<published>2009-12-17T12:24:01Z</published>
	<updated>2009-12-17T12:24:01Z</updated>
	<author>
		<name>ken manheimer</name>
	</author>
	<content type="html">On Thu, Dec 17, 2009 at 2:51 PM, Jon Christopher &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26834401&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jon.christopher@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Thanks, I&amp;#39;ll try the fix when I get home.  However, I should reiterate&lt;br&gt;
that I&amp;#39;m not seeing a timeout  (which would cause an exception,&lt;br&gt;
right?).  It&amp;#39;s just that I (eventually) issue an applescript command&lt;br&gt;
which seems to go nowhere.&lt;br&gt;
&lt;br&gt;
As I understand the id-rollover bug:&lt;br&gt;
&lt;br&gt;
1) it will cause events which want a reply to eventually timeout.&lt;br&gt;
2) which would trigger a python exception&lt;br&gt;
&lt;br&gt;
I&amp;#39;m not sure how that would be at play here since:&lt;br&gt;
&lt;br&gt;
1) the command I&amp;#39;m sending doesn&amp;#39;t (apparently) need a reply&lt;br&gt;
2) I&amp;#39;m not getting exceptions.&lt;br&gt;
&lt;br&gt;
Did I missunderstand something?&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;i don&amp;#39;t think you&amp;#39;re misunderstanding anything, but the two sets of circumstances are not mutually exclusive.  i don&amp;#39;t know what the system you&amp;#39;re dealing with is doing with the command you&amp;#39;re sending, in particular (1) whether it&amp;#39;s internally issuing a command that does need a reply, in the course of its handling - that seems likely - and (2) whether it&amp;#39;s &amp;quot;protecting&amp;quot; against runtime disruption by swallowing any exceptions encountered.  perhaps you know all the systems involved well enough to be sure this isn&amp;#39;t happening.  though it&amp;#39;s often bad practice to swallow errors without any signs, (2) is not unusual or unwarranted in executive style programs, though they should issue some kind of warning, like in a log, that can be missed, and too often nothing is issued at all.&lt;br&gt;

&lt;br&gt;that doesn&amp;#39;t mean the problem is happening and being covered up, just that it might be, and a little bit of &amp;quot;experimental computer science&amp;quot; is probably worth the effort.&lt;br&gt;-- &lt;br&gt;ken&lt;br&gt;&lt;a href=&quot;http://myriadicity.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://myriadicity.net&lt;/a&gt;&lt;br&gt;

&lt;br&gt; &lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;On Thu, Dec 17, 2009 at 11:10 AM, ken manheimer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26834401&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ken.manheimer@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt; On Thu, Dec 17, 2009 at 1:26 PM, Brad Howes &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26834401&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;howes@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; On Dec 16, 2009, at 2:26 PM, Jon Christopher wrote:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; Thanks for the reply, Brad.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; I&amp;#39;m not familiar with the issue you describe.  Can you provide a&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; pointer to some related info?  How would I test to see if my script is&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; affected?&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &lt;a href=&quot;http://db.tidbits.com/article/10643&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://db.tidbits.com/article/10643&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; and see these threads for the description of the problem in python appscript&lt;br&gt;
&amp;gt; and the fix:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/-ann--appscript-0.20.2-tt26413893.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/-ann--appscript-0.20.2-tt26413893.html&lt;/a&gt;&lt;br&gt;
&amp;gt; and&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/-ann--py-appscript-0.21.0-tt26634638.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/-ann--py-appscript-0.21.0-tt26634638.html&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; note that i experienced the problem in leopard as well as snow leopard.  it&lt;br&gt;
&amp;gt; does seem to be well explained by the return id problem, even though the&lt;br&gt;
&amp;gt; above article attributes it to only snow leopard.  plus, has&amp;#39; fix seems to&lt;br&gt;
&amp;gt; have completely resolved the problem that i was, until the fix, seeing&lt;br&gt;
&amp;gt; consistently.  has the update failed to settle the problem you&amp;#39;re seeing?&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt; ken&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://myriadicity.net&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://myriadicity.net&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; --&lt;br&gt;
&amp;gt;&amp;gt; Brad Howes&lt;br&gt;
&amp;gt;&amp;gt; Group 42&lt;br&gt;
&amp;gt;&amp;gt; MIT Lincoln Laboratory • 244 Wood St. • Lexington, MA 02173&lt;br&gt;
&amp;gt;&amp;gt; Phone: 781.981.5292 • Fax: 781.981.3495 • Secretary: 781.981.7420&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26834401&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/timeout-of-connection--tp26801941p26834401.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26833936</id>
	<title>Re: timeout of connection?</title>
	<published>2009-12-17T11:51:27Z</published>
	<updated>2009-12-17T11:51:27Z</updated>
	<author>
		<name>Jon Christopher</name>
	</author>
	<content type="html">Thanks, I'll try the fix when I get home. &amp;nbsp;However, I should reiterate
&lt;br&gt;that I'm not seeing a timeout &amp;nbsp;(which would cause an exception,
&lt;br&gt;right?). &amp;nbsp;It's just that I (eventually) issue an applescript command
&lt;br&gt;which seems to go nowhere.
&lt;br&gt;&lt;br&gt;As I understand the id-rollover bug:
&lt;br&gt;&lt;br&gt;1) it will cause events which want a reply to eventually timeout.
&lt;br&gt;2) which would trigger a python exception
&lt;br&gt;&lt;br&gt;&lt;br&gt;I'm not sure how that would be at play here since:
&lt;br&gt;&lt;br&gt;1) the command I'm sending doesn't (apparently) need a reply
&lt;br&gt;2) I'm not getting exceptions.
&lt;br&gt;&lt;br&gt;Did I missunderstand something?
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Thu, Dec 17, 2009 at 11:10 AM, ken manheimer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26833936&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ken.manheimer@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Dec 17, 2009 at 1:26 PM, Brad Howes &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26833936&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;howes@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Dec 16, 2009, at 2:26 PM, Jon Christopher wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Thanks for the reply, Brad.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I'm not familiar with the issue you describe.  Can you provide a
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; pointer to some related info?  How would I test to see if my script is
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; affected?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://db.tidbits.com/article/10643&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.tidbits.com/article/10643&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and see these threads for the description of the problem in python appscript
&lt;br&gt;&amp;gt; and the fix:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/-ann--appscript-0.20.2-tt26413893.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/-ann--appscript-0.20.2-tt26413893.html&lt;/a&gt;&lt;br&gt;&amp;gt; and
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/-ann--py-appscript-0.21.0-tt26634638.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/-ann--py-appscript-0.21.0-tt26634638.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; note that i experienced the problem in leopard as well as snow leopard.  it
&lt;br&gt;&amp;gt; does seem to be well explained by the return id problem, even though the
&lt;br&gt;&amp;gt; above article attributes it to only snow leopard.  plus, has' fix seems to
&lt;br&gt;&amp;gt; have completely resolved the problem that i was, until the fix, seeing
&lt;br&gt;&amp;gt; consistently.  has the update failed to settle the problem you're seeing?
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; ken
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://myriadicity.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://myriadicity.net&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Brad Howes
&lt;br&gt;&amp;gt;&amp;gt; Group 42
&lt;br&gt;&amp;gt;&amp;gt; MIT Lincoln Laboratory • 244 Wood St. • Lexington, MA 02173
&lt;br&gt;&amp;gt;&amp;gt; Phone: 781.981.5292 • Fax: 781.981.3495 • Secretary: 781.981.7420
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26833936&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/timeout-of-connection--tp26801941p26833936.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26833376</id>
	<title>Re: timeout of connection?</title>
	<published>2009-12-17T11:10:57Z</published>
	<updated>2009-12-17T11:10:57Z</updated>
	<author>
		<name>ken manheimer</name>
	</author>
	<content type="html">On Thu, Dec 17, 2009 at 1:26 PM, Brad Howes &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26833376&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;howes@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;div class=&quot;im&quot;&gt;On Dec 16, 2009, at 2:26 PM, Jon Christopher wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; Thanks for the reply, Brad.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I&amp;#39;m not familiar with the issue you describe.  Can you provide a&lt;br&gt;
&amp;gt; pointer to some related info?  How would I test to see if my script is&lt;br&gt;
&amp;gt; affected?&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://db.tidbits.com/article/10643&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://db.tidbits.com/article/10643&lt;/a&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;and see these threads for the description of the problem in python appscript and the fix:&lt;br&gt;

&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/-ann--appscript-0.20.2-tt26413893.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/-ann--appscript-0.20.2-tt26413893.html&lt;/a&gt;&lt;br&gt;and&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/-ann--py-appscript-0.21.0-tt26634638.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/-ann--py-appscript-0.21.0-tt26634638.html&lt;/a&gt;&lt;br&gt;

&lt;br&gt;note that i experienced the problem in leopard as well as snow leopard.  it does seem to be well explained by the return id problem, even though the above article attributes it to only snow leopard.  plus, has&amp;#39; fix seems to have completely resolved the problem that i was, until the fix, seeing consistently.  has the update failed to settle the problem you&amp;#39;re seeing?&lt;br&gt;

-- &lt;br&gt;ken&lt;br&gt;&lt;a href=&quot;http://myriadicity.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://myriadicity.net&lt;/a&gt;&lt;br&gt;&lt;br&gt; &lt;br&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;


&lt;font color=&quot;#888888&quot;&gt;--&lt;br&gt;
Brad Howes&lt;br&gt;
Group 42&lt;br&gt;
MIT Lincoln Laboratory • 244 Wood St. • Lexington, MA 02173&lt;br&gt;
Phone: 781.981.5292 • Fax: 781.981.3495 • Secretary: 781.981.7420&lt;/font&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26833376&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/timeout-of-connection--tp26801941p26833376.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26833255</id>
	<title>Re: timeout of connection?</title>
	<published>2009-12-17T11:01:30Z</published>
	<updated>2009-12-17T11:01:30Z</updated>
	<author>
		<name>Jon Christopher</name>
	</author>
	<content type="html">Thanks again Brad. &amp;nbsp;The link and the related peek into the underlying
&lt;br&gt;operation of Apple Events was
&lt;br&gt;instructuve. &amp;nbsp;Unfortunately, my particular bug shows up under Leopard
&lt;br&gt;too, not just Snow Leopard, so I don't think it's related.
&lt;br&gt;&lt;br&gt;So, I'll reiterate my request. &amp;nbsp;Can can any of the appscript gurus
&lt;br&gt;think of any reason why
&lt;br&gt;the following (pseudo) code should fail:
&lt;br&gt;&lt;br&gt;&lt;br&gt;import appscript
&lt;br&gt;id=app(&amp;quot;EyeTV&amp;quot;).recordings.get()[0]
&lt;br&gt;app(&amp;quot;EyeTV&amp;quot;).play(id) # works just fine
&lt;br&gt;app(&amp;quot;EyeTV&amp;quot;).stop() &amp;nbsp;#works just fine
&lt;br&gt;&lt;br&gt;go_do_other_stuff_possibly_in_other_threads_for_a_really_long_time()
&lt;br&gt;&lt;br&gt;app(&amp;quot;EyeTV&amp;quot;).play(id) &amp;nbsp;# has no effect
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks for your time.
&lt;br&gt;&lt;br&gt;-Jon
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Thu, Dec 17, 2009 at 10:26 AM, Brad Howes &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26833255&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;howes@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Dec 16, 2009, at 2:26 PM, Jon Christopher wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks for the reply, Brad.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm not familiar with the issue you describe.  Can you provide a
&lt;br&gt;&amp;gt;&amp;gt; pointer to some related info?  How would I test to see if my script is
&lt;br&gt;&amp;gt;&amp;gt; affected?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://db.tidbits.com/article/10643&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.tidbits.com/article/10643&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Brad Howes
&lt;br&gt;&amp;gt; Group 42
&lt;br&gt;&amp;gt; MIT Lincoln Laboratory • 244 Wood St. • Lexington, MA 02173
&lt;br&gt;&amp;gt; Phone: 781.981.5292 • Fax: 781.981.3495 • Secretary: 781.981.7420
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26833255&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/timeout-of-connection--tp26801941p26833255.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26832900</id>
	<title>Re: timeout of connection?</title>
	<published>2009-12-17T10:26:53Z</published>
	<updated>2009-12-17T10:26:53Z</updated>
	<author>
		<name>Brad Howes-2</name>
	</author>
	<content type="html">On Dec 16, 2009, at 2:26 PM, Jon Christopher wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Thanks for the reply, Brad.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm not familiar with the issue you describe. &amp;nbsp;Can you provide a
&lt;br&gt;&amp;gt; pointer to some related info? &amp;nbsp;How would I test to see if my script is
&lt;br&gt;&amp;gt; affected?
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://db.tidbits.com/article/10643&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.tidbits.com/article/10643&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Brad Howes
&lt;br&gt;Group 42
&lt;br&gt;MIT Lincoln Laboratory • 244 Wood St. • Lexington, MA 02173
&lt;br&gt;Phone: 781.981.5292 • Fax: 781.981.3495 • Secretary: 781.981.7420
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26832900&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/timeout-of-connection--tp26801941p26832900.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26817062</id>
	<title>Re: timeout of connection?</title>
	<published>2009-12-16T11:26:57Z</published>
	<updated>2009-12-16T11:26:57Z</updated>
	<author>
		<name>Jon Christopher</name>
	</author>
	<content type="html">Thanks for the reply, Brad.
&lt;br&gt;&lt;br&gt;I'm not familiar with the issue you describe. &amp;nbsp;Can you provide a
&lt;br&gt;pointer to some related info? &amp;nbsp;How would I test to see if my script is
&lt;br&gt;affected?
&lt;br&gt;&lt;br&gt;Thanks again,
&lt;br&gt;Jon
&lt;br&gt;&lt;br&gt;On Wed, Dec 16, 2009 at 10:25 AM, Brad Howes &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26817062&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;howes@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Dec 15, 2009, at 4:14 PM, Jon Christopher wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; It seems that after Front Row has been idle for quite some time
&lt;br&gt;&amp;gt;&amp;gt; (perhaps 12 hours or more), and I then attempt to
&lt;br&gt;&amp;gt;&amp;gt; play a recording, it doesn't seem like the message is sent to EyeTV,
&lt;br&gt;&amp;gt;&amp;gt; (or perhaps it's just not received; I can't really tell.)  If I then
&lt;br&gt;&amp;gt;&amp;gt; restart Front Row (and therefore python) and try again, it works 100%
&lt;br&gt;&amp;gt;&amp;gt; of the time, until it's been idle again for a long time.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I too have encountered this issue for a long-living connecting to an iTunes process. Not sure if it was connected to the notorious wrap-around bug in AppleScript message IDs, but after upgrading my appscript install, it has not materialized in weeks.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Brad
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; PySLiMP3 - Python + ITunes + SLiMP3 (&lt;a href=&quot;http://code.google.com/p/pyslimp3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/pyslimp3&lt;/a&gt;)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Pythonmac-SIG maillist  -  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26817062&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26817062&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/timeout-of-connection--tp26801941p26817062.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26816322</id>
	<title>Re: timeout of connection?</title>
	<published>2009-12-16T10:25:52Z</published>
	<updated>2009-12-16T10:25:52Z</updated>
	<author>
		<name>Brad Howes-2</name>
	</author>
	<content type="html">On Dec 15, 2009, at 4:14 PM, Jon Christopher wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; It seems that after Front Row has been idle for quite some time
&lt;br&gt;&amp;gt; (perhaps 12 hours or more), and I then attempt to
&lt;br&gt;&amp;gt; play a recording, it doesn't seem like the message is sent to EyeTV,
&lt;br&gt;&amp;gt; (or perhaps it's just not received; I can't really tell.) &amp;nbsp;If I then
&lt;br&gt;&amp;gt; restart Front Row (and therefore python) and try again, it works 100%
&lt;br&gt;&amp;gt; of the time, until it's been idle again for a long time.
&lt;br&gt;&lt;br&gt;&lt;br&gt;I too have encountered this issue for a long-living connecting to an iTunes process. Not sure if it was connected to the notorious wrap-around bug in AppleScript message IDs, but after upgrading my appscript install, it has not materialized in weeks.
&lt;br&gt;&lt;br&gt;Brad
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;PySLiMP3 - Python + ITunes + SLiMP3 (&lt;a href=&quot;http://code.google.com/p/pyslimp3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/pyslimp3&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26816322&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/timeout-of-connection--tp26801941p26816322.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26801941</id>
	<title>timeout of connection?</title>
	<published>2009-12-15T13:14:24Z</published>
	<updated>2009-12-15T13:14:24Z</updated>
	<author>
		<name>Jon Christopher</name>
	</author>
	<content type="html">I'm the developer of PyeTV (&lt;a href=&quot;http://code.google.com/p/pyetv/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/pyetv/&lt;/a&gt;), a Front
&lt;br&gt;Row plugin for EyeTV.
&lt;br&gt;I'm experiencing some weird behavior that I'd like to ask the experts
&lt;br&gt;here about.
&lt;br&gt;&lt;br&gt;Essentially all PyeTV does is communicate with EyeTV via appscript and
&lt;br&gt;throw up a few menu options in Front Row. &amp;nbsp;When the user activates a
&lt;br&gt;menu option for playing a recording, it sends the appropriate
&lt;br&gt;appscript command to EyeTV, something like:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;app(&amp;quot;EyeTV&amp;quot;).play(id)
&lt;br&gt;&lt;br&gt;where &amp;quot;id&amp;quot; is the stored integer id of the recording to play. &amp;nbsp; In
&lt;br&gt;general, this works quite well, however, there are certain
&lt;br&gt;curcumstances where it seems that EyeTV never gets the message to play
&lt;br&gt;the recording.
&lt;br&gt;&lt;br&gt;It seems that after Front Row has been idle for quite some time
&lt;br&gt;(perhaps 12 hours or more), and I then attempt to
&lt;br&gt;play a recording, it doesn't seem like the message is sent to EyeTV,
&lt;br&gt;(or perhaps it's just not received; I can't really tell.) &amp;nbsp;If I then
&lt;br&gt;restart Front Row (and therefore python) and try again, it works 100%
&lt;br&gt;of the time, until it's been idle again for a long time.
&lt;br&gt;&lt;br&gt;&lt;br&gt;I haven't been able to observe anything unusual in the logs, and am
&lt;br&gt;beginning to grasp at straws for an explanation here. &amp;nbsp;I've stared at
&lt;br&gt;my code and poked and prodded it until my eyes have started bleeding,
&lt;br&gt;all to no avail.
&lt;br&gt;&lt;br&gt;I'm beginning to wonder if the problem might lie in some of the
&lt;br&gt;behind-the-scenes implementation details of appscript. &amp;nbsp;Perhaps
&lt;br&gt;there's some sort of caching of connections to applications which
&lt;br&gt;times at some point.
&lt;br&gt;&lt;br&gt;In any case, can any of the appscript gurus think of any reason why
&lt;br&gt;the following (pseudo) code should fail:
&lt;br&gt;&lt;br&gt;&lt;br&gt;import appscript
&lt;br&gt;id=app(&amp;quot;EyeTV&amp;quot;).recordings.get()[0]
&lt;br&gt;app(&amp;quot;EyeTV&amp;quot;).play(id) # works just fine
&lt;br&gt;app(&amp;quot;EyeTV&amp;quot;).stop() &amp;nbsp;#works just fine
&lt;br&gt;&lt;br&gt;go_do_other_stuff_possibly_in_other_threads_for_a_really_long_time()
&lt;br&gt;&lt;br&gt;app(&amp;quot;EyeTV&amp;quot;).play(id) &amp;nbsp;# has no effect
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Jon
&lt;br&gt;&lt;br&gt;&lt;br&gt;Again, I've researched this quite a bit, and haven't
&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26801941&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/timeout-of-connection--tp26801941p26801941.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26801235</id>
	<title>Re: Problems with py2app and qt</title>
	<published>2009-12-15T12:27:10Z</published>
	<updated>2009-12-15T12:27:10Z</updated>
	<author>
		<name>aditya bhargava-2</name>
	</author>
	<content type="html">Brilliant...it turned out that the Qt libraries were being loaded *twice* – once from inside the bundle and once from the libraries on my computer.&lt;br&gt;&lt;br&gt;The hack fix was to create a qt.conf file inside Contents/Resources and give it a bad path...this way only the libraries inside the bundle are being loaded. Putting this inside qt.conf:&lt;br&gt;
&lt;br&gt;[Paths]&lt;br&gt;Plugins = bollocks&lt;br&gt;&lt;br&gt;Did the trick :)&lt;br&gt;&lt;br&gt;Thanks Emanuele!&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Dec 15, 2009 at 12:45 PM, Emanuele Santos &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26801235&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;emanuelesantos@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Maybe your app is loading the wrong libs?&lt;br&gt;
Try running from the terminal and printing the libs that are being loaded:&lt;br&gt;
&lt;br&gt;
$ cd /path/to/your/bundle.app/Contents/MacOS&lt;br&gt;
$ DYLD_PRINT_LIBRARIES=1 ./your_app&lt;br&gt;
&lt;br&gt;
Check if all the Qt and PyQt libraries loaded are in your bundle.&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;
&lt;br&gt;
-- Emanuele.&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;br&gt;
On Dec 15, 2009, at 10:30 AM, aditya bhargava wrote:&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;
It&amp;#39;s a memory issue with Qt I think. The other interesting thing is, this problem doesn&amp;#39;t occur if I build the app in alias mode with the -A flag...but of course that&amp;#39;s not too useful if I want to distribute applications.&lt;br&gt;

&lt;br&gt;
Here&amp;#39;s the issue I get:&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Exception:  EXC_BAD_ACCESS (0x0001)&lt;br&gt;
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000&lt;br&gt;
&lt;br&gt;
Thread 0 Crashed:&lt;br&gt;
0   QtGui                              0x167c792d QWidget::isActiveWindow() const + 141&lt;br&gt;
1   QtGui                              0x16c6fd2e QAccessibleWidget::state(int) const + 222&lt;br&gt;
2   QtGui                              0x16c6fd73 QAccessibleWidgetEx::state(int) const + 35&lt;br&gt;
3   libqtaccessiblewidgets.dylib       0x16197b9d QAccessibleLineEdit::state(int) const + 33&lt;br&gt;
4   QtGui                              0x028f2178 QAccessible::cleanup() + 14728&lt;br&gt;
5   QtGui                              0x028f7016 QAccessible::cleanup() + 34854&lt;br&gt;
6   QtGui                              0x028f750d QAccessible::updateAccessibility(QObject*, int, QAccessible::Event) + 621&lt;br&gt;
7   QtGui                              0x02954e7a QWidgetPrivate::show_helper() + 330&lt;br&gt;
8   QtGui                              0x02955553 QWidget::setVisible(bool) + 1267&lt;br&gt;
9   QtGui.so                           0x02234aa5 sipQLineEdit::setVisible(bool) + 101&lt;br&gt;
10  QtGui                              0x02954cd8 QWidgetPrivate::showChildren(bool) + 328&lt;br&gt;
11  QtGui                              0x02954d8c QWidgetPrivate::show_helper() + 92&lt;br&gt;
12  QtGui                              0x02955553 QWidget::setVisible(bool) + 1267&lt;br&gt;
13  QtGui.so                           0x02417f11 sipQWidget::setVisible(bool) + 101&lt;br&gt;
14  QtGui                              0x02954cd8 QWidgetPrivate::showChildren(bool) + 328&lt;br&gt;
15  QtGui                              0x02954d8c QWidgetPrivate::show_helper() + 92&lt;br&gt;
16  QtGui                              0x02955553 QWidget::setVisible(bool) + 1267&lt;br&gt;
17  QtGui.so                           0x02417f11 sipQWidget::setVisible(bool) + 101&lt;br&gt;
18  QtGui.so                           0x02420150 sipQWidget::sipProtectVirt_languageChange(bool) + 25936&lt;br&gt;
19  org.python.python                  0x00499c5d PyEval_EvalFrameEx + 19936&lt;br&gt;
20  org.python.python                  0x0049b8ad PyEval_EvalCodeEx + 1819&lt;br&gt;
21  org.python.python                  0x0049ba61 PyEval_EvalCode + 87&lt;br&gt;
22  org.python.python                  0x004bf1d0 PyRun_FileExFlags + 260&lt;br&gt;
23  org.python.python                  0x0048fe3d PyAST_FromNode + 7784&lt;br&gt;
24  org.python.python                  0x00499c5d PyEval_EvalFrameEx + 19936&lt;br&gt;
25  org.python.python                  0x0049b8ad PyEval_EvalCodeEx + 1819&lt;br&gt;
26  org.python.python                  0x00498f2e PyEval_EvalFrameEx + 16561&lt;br&gt;
27  org.python.python                  0x0049b8ad PyEval_EvalCodeEx + 1819&lt;br&gt;
28  org.python.python                  0x0049ba61 PyEval_EvalCode + 87&lt;br&gt;
29  org.python.python                  0x004bf1d0 PyRun_FileExFlags + 260&lt;br&gt;
30  org.python.python                  0x004bf56a PyRun_SimpleFileExFlags + 640&lt;br&gt;
31  org.python.python                  0x004bf70d PyRun_SimpleFile + 40&lt;br&gt;
32  ...cified.softwareRequirements     0x00007b9f start + 23863&lt;br&gt;
33  ...cified.softwareRequirements     0x00008091 main + 297&lt;br&gt;
34  ...cified.softwareRequirements     0x00001f63 start + 251&lt;br&gt;
35  ...cified.softwareRequirements     0x00001e91 start + 41&lt;br&gt;
&lt;br&gt;
Thread 0 crashed with X86 Thread State (32-bit):&lt;br&gt;
  eax: 0x00000000  ebx: 0x028f2007  ecx: 0x16784105  edx: 0x00000000&lt;br&gt;
  edi: 0x003bc630  esi: 0x003ab8a0  ebp: 0xbfffdce8  esp: 0xbfffdcc0&lt;br&gt;
   ss: 0x0000001f  efl: 0x00010246  eip: 0x167c792d   cs: 0x00000017&lt;br&gt;
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;im&quot;&gt;
_______________________________________________&lt;br&gt;
Pythonmac-SIG maillist  -  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26801235&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;
&lt;br&gt;
_______________________________________________&lt;br&gt;
Pythonmac-SIG maillist  -  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26801235&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26801235&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-py2app-and-qt-tp26789626p26801235.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26799708</id>
	<title>Re: coercing to text (Adam Morris)</title>
	<published>2009-12-15T10:48:12Z</published>
	<updated>2009-12-15T10:48:12Z</updated>
	<author>
		<name>has-13</name>
	</author>
	<content type="html">Adam Morris wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; ASTranslate tells me that
&lt;br&gt;&amp;gt; tell application &amp;quot;Pages&amp;quot; to tell front document to get selection as text
&lt;br&gt;&amp;gt; should be
&lt;br&gt;&amp;gt; app(u'Pages').documents[1].selection.get(resulttype=k.unicode_text)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; but that doesn't return what I want (a reference? ... hardly useful!). Yet:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; app('Pages').documents[1].selection()()
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; returns what I want. The unicode text.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I don't get what that 'extra' set of parens is doing. What implicit function
&lt;br&gt;&amp;gt; is being called? Can't imagine it's get().
&lt;/div&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; app('Pages').documents[1].selection()()
&lt;br&gt;&lt;br&gt;is shorthand for:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; app('Pages').documents[1].selection.get().get()
&lt;br&gt;&lt;br&gt;First command asks for the selection property's value; Pages returns a reference representing a text range. Second command asks for the specified text range, Pages returns the characters in that range as a (Unicode) string.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; I'm obviously missing something here, but no idea what! ASTranslate seems to
&lt;br&gt;&amp;gt; be missing it too. Thanks for your help!
&lt;br&gt;&lt;br&gt;ASTranslate only tells you what events AppleScript sent. In this case, it looks like Pages is completely ignoring the return type argument and always returning a reference (Apple never laid down hard rules about how this feature should work, so different applications do all sorts of different things - though most just ignore it). 
&lt;br&gt;&lt;br&gt;If the value returned by an application command isn't of the type you specified, AppleScript will make its own attempt to correct this by coercing the value itself - and AS resolves coercing a reference by packing it into a 'get' event and sending it off for the application to evaluate. (You won't see that second event in ASTranslate unless the 'send events to app' option is checked.)
&lt;br&gt;&lt;br&gt;Appscript replicates most AppleScript behaviours for sake of application compatibility, but doesn't try to mimic this sort of opaque, non-publicly documented magic (e.g. no implicit gets, no munging of 'count' commands) just because it's tricky to figure out exactly what AS is doing at times, and mimicking it badly is worse than not mimicking it at all. So what you ask appscript for is exactly what you get, and 98% of the time it's what AS would have asked for as well. It's the other 2% of corner cases that are tricky to fathom, but once you understand what's going on it should be straightforward to rephrase your requests appropriately - in this case by sending a second 'get' command yourself.
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;&lt;br&gt;has
&lt;br&gt;-- 
&lt;br&gt;Control AppleScriptable applications from Python, Ruby and ObjC:
&lt;br&gt;&lt;a href=&quot;http://appscript.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://appscript.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26799708&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-coercing-to-text-%28Adam-Morris%29-tp26793579p26799708.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26799672</id>
	<title>Re: Problems with py2app and qt</title>
	<published>2009-12-15T10:45:37Z</published>
	<updated>2009-12-15T10:45:37Z</updated>
	<author>
		<name>Emanuele Santos</name>
	</author>
	<content type="html">Maybe your app is loading the wrong libs?
&lt;br&gt;Try running from the terminal and printing the libs that are being &amp;nbsp;
&lt;br&gt;loaded:
&lt;br&gt;&lt;br&gt;$ cd /path/to/your/bundle.app/Contents/MacOS
&lt;br&gt;$ DYLD_PRINT_LIBRARIES=1 ./your_app
&lt;br&gt;&lt;br&gt;Check if all the Qt and PyQt libraries loaded are in your bundle.
&lt;br&gt;&lt;br&gt;-- Emanuele.
&lt;br&gt;&lt;br&gt;On Dec 15, 2009, at 10:30 AM, aditya bhargava wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; It's a memory issue with Qt I think. The other interesting thing is, &amp;nbsp;
&lt;br&gt;&amp;gt; this problem doesn't occur if I build the app in alias mode with the &amp;nbsp;
&lt;br&gt;&amp;gt; -A flag...but of course that's not too useful if I want to &amp;nbsp;
&lt;br&gt;&amp;gt; distribute applications.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here's the issue I get:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Exception: &amp;nbsp;EXC_BAD_ACCESS (0x0001)
&lt;br&gt;&amp;gt; Codes: &amp;nbsp; &amp;nbsp; &amp;nbsp;KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thread 0 Crashed:
&lt;br&gt;&amp;gt; 0 &amp;nbsp; QtGui &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x167c792d &amp;nbsp;
&lt;br&gt;&amp;gt; QWidget::isActiveWindow() const + 141
&lt;br&gt;&amp;gt; 1 &amp;nbsp; QtGui &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x16c6fd2e &amp;nbsp;
&lt;br&gt;&amp;gt; QAccessibleWidget::state(int) const + 222
&lt;br&gt;&amp;gt; 2 &amp;nbsp; QtGui &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x16c6fd73 &amp;nbsp;
&lt;br&gt;&amp;gt; QAccessibleWidgetEx::state(int) const + 35
&lt;br&gt;&amp;gt; 3 &amp;nbsp; libqtaccessiblewidgets.dylib &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x16197b9d &amp;nbsp;
&lt;br&gt;&amp;gt; QAccessibleLineEdit::state(int) const + 33
&lt;br&gt;&amp;gt; 4 &amp;nbsp; QtGui &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x028f2178 &amp;nbsp;
&lt;br&gt;&amp;gt; QAccessible::cleanup() + 14728
&lt;br&gt;&amp;gt; 5 &amp;nbsp; QtGui &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x028f7016 &amp;nbsp;
&lt;br&gt;&amp;gt; QAccessible::cleanup() + 34854
&lt;br&gt;&amp;gt; 6 &amp;nbsp; QtGui &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x028f750d &amp;nbsp;
&lt;br&gt;&amp;gt; QAccessible::updateAccessibility(QObject*, int, QAccessible::Event) &amp;nbsp;
&lt;br&gt;&amp;gt; + 621
&lt;br&gt;&amp;gt; 7 &amp;nbsp; QtGui &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x02954e7a &amp;nbsp;
&lt;br&gt;&amp;gt; QWidgetPrivate::show_helper() + 330
&lt;br&gt;&amp;gt; 8 &amp;nbsp; QtGui &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x02955553 &amp;nbsp;
&lt;br&gt;&amp;gt; QWidget::setVisible(bool) + 1267
&lt;br&gt;&amp;gt; 9 &amp;nbsp; QtGui.so &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x02234aa5 &amp;nbsp;
&lt;br&gt;&amp;gt; sipQLineEdit::setVisible(bool) + 101
&lt;br&gt;&amp;gt; 10 &amp;nbsp;QtGui &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x02954cd8 &amp;nbsp;
&lt;br&gt;&amp;gt; QWidgetPrivate::showChildren(bool) + 328
&lt;br&gt;&amp;gt; 11 &amp;nbsp;QtGui &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x02954d8c &amp;nbsp;
&lt;br&gt;&amp;gt; QWidgetPrivate::show_helper() + 92
&lt;br&gt;&amp;gt; 12 &amp;nbsp;QtGui &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x02955553 &amp;nbsp;
&lt;br&gt;&amp;gt; QWidget::setVisible(bool) + 1267
&lt;br&gt;&amp;gt; 13 &amp;nbsp;QtGui.so &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x02417f11 &amp;nbsp;
&lt;br&gt;&amp;gt; sipQWidget::setVisible(bool) + 101
&lt;br&gt;&amp;gt; 14 &amp;nbsp;QtGui &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x02954cd8 &amp;nbsp;
&lt;br&gt;&amp;gt; QWidgetPrivate::showChildren(bool) + 328
&lt;br&gt;&amp;gt; 15 &amp;nbsp;QtGui &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x02954d8c &amp;nbsp;
&lt;br&gt;&amp;gt; QWidgetPrivate::show_helper() + 92
&lt;br&gt;&amp;gt; 16 &amp;nbsp;QtGui &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x02955553 &amp;nbsp;
&lt;br&gt;&amp;gt; QWidget::setVisible(bool) + 1267
&lt;br&gt;&amp;gt; 17 &amp;nbsp;QtGui.so &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x02417f11 &amp;nbsp;
&lt;br&gt;&amp;gt; sipQWidget::setVisible(bool) + 101
&lt;br&gt;&amp;gt; 18 &amp;nbsp;QtGui.so &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x02420150 &amp;nbsp;
&lt;br&gt;&amp;gt; sipQWidget::sipProtectVirt_languageChange(bool) + 25936
&lt;br&gt;&amp;gt; 19 &amp;nbsp;org.python.python &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x00499c5d PyEval_EvalFrameEx &amp;nbsp;
&lt;br&gt;&amp;gt; + 19936
&lt;br&gt;&amp;gt; 20 &amp;nbsp;org.python.python &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0049b8ad PyEval_EvalCodeEx &amp;nbsp;
&lt;br&gt;&amp;gt; + 1819
&lt;br&gt;&amp;gt; 21 &amp;nbsp;org.python.python &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0049ba61 PyEval_EvalCode + 87
&lt;br&gt;&amp;gt; 22 &amp;nbsp;org.python.python &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x004bf1d0 PyRun_FileExFlags &amp;nbsp;
&lt;br&gt;&amp;gt; + 260
&lt;br&gt;&amp;gt; 23 &amp;nbsp;org.python.python &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0048fe3d PyAST_FromNode + &amp;nbsp;
&lt;br&gt;&amp;gt; 7784
&lt;br&gt;&amp;gt; 24 &amp;nbsp;org.python.python &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x00499c5d PyEval_EvalFrameEx &amp;nbsp;
&lt;br&gt;&amp;gt; + 19936
&lt;br&gt;&amp;gt; 25 &amp;nbsp;org.python.python &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0049b8ad PyEval_EvalCodeEx &amp;nbsp;
&lt;br&gt;&amp;gt; + 1819
&lt;br&gt;&amp;gt; 26 &amp;nbsp;org.python.python &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x00498f2e PyEval_EvalFrameEx &amp;nbsp;
&lt;br&gt;&amp;gt; + 16561
&lt;br&gt;&amp;gt; 27 &amp;nbsp;org.python.python &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0049b8ad PyEval_EvalCodeEx &amp;nbsp;
&lt;br&gt;&amp;gt; + 1819
&lt;br&gt;&amp;gt; 28 &amp;nbsp;org.python.python &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0049ba61 PyEval_EvalCode + 87
&lt;br&gt;&amp;gt; 29 &amp;nbsp;org.python.python &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x004bf1d0 PyRun_FileExFlags &amp;nbsp;
&lt;br&gt;&amp;gt; + 260
&lt;br&gt;&amp;gt; 30 &amp;nbsp;org.python.python &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x004bf56a &amp;nbsp;
&lt;br&gt;&amp;gt; PyRun_SimpleFileExFlags + 640
&lt;br&gt;&amp;gt; 31 &amp;nbsp;org.python.python &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x004bf70d PyRun_SimpleFile + &amp;nbsp;
&lt;br&gt;&amp;gt; 40
&lt;br&gt;&amp;gt; 32 &amp;nbsp;...cified.softwareRequirements &amp;nbsp; &amp;nbsp; 0x00007b9f start + 23863
&lt;br&gt;&amp;gt; 33 &amp;nbsp;...cified.softwareRequirements &amp;nbsp; &amp;nbsp; 0x00008091 main + 297
&lt;br&gt;&amp;gt; 34 &amp;nbsp;...cified.softwareRequirements &amp;nbsp; &amp;nbsp; 0x00001f63 start + 251
&lt;br&gt;&amp;gt; 35 &amp;nbsp;...cified.softwareRequirements &amp;nbsp; &amp;nbsp; 0x00001e91 start + 41
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thread 0 crashed with X86 Thread State (32-bit):
&lt;br&gt;&amp;gt; &amp;nbsp; eax: 0x00000000 &amp;nbsp;ebx: 0x028f2007 &amp;nbsp;ecx: 0x16784105 &amp;nbsp;edx: 0x00000000
&lt;br&gt;&amp;gt; &amp;nbsp; edi: 0x003bc630 &amp;nbsp;esi: 0x003ab8a0 &amp;nbsp;ebp: 0xbfffdce8 &amp;nbsp;esp: 0xbfffdcc0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;ss: 0x0000001f &amp;nbsp;efl: 0x00010246 &amp;nbsp;eip: 0x167c792d &amp;nbsp; cs: 0x00000017
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;ds: 0x0000001f &amp;nbsp; es: 0x0000001f &amp;nbsp; fs: 0x00000000 &amp;nbsp; gs: 0x00000037
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26799672&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26799672&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-py2app-and-qt-tp26789626p26799672.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26798555</id>
	<title>Re: Problems with py2app and qt</title>
	<published>2009-12-15T09:30:23Z</published>
	<updated>2009-12-15T09:30:23Z</updated>
	<author>
		<name>aditya bhargava-2</name>
	</author>
	<content type="html">It&amp;#39;s a memory issue with Qt I think. The other interesting thing is, this problem doesn&amp;#39;t occur if I build the app in alias mode with the -A flag...but of course that&amp;#39;s not too useful if I want to distribute applications.&lt;br&gt;
&lt;br&gt;Here&amp;#39;s the issue I get:&lt;br&gt;&lt;br&gt;&lt;br&gt;Exception:  EXC_BAD_ACCESS (0x0001)&lt;br&gt;Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000&lt;br&gt;&lt;br&gt;Thread 0 Crashed:&lt;br&gt;0   QtGui                              0x167c792d QWidget::isActiveWindow() const + 141&lt;br&gt;
1   QtGui                              0x16c6fd2e QAccessibleWidget::state(int) const + 222&lt;br&gt;2   QtGui                              0x16c6fd73 QAccessibleWidgetEx::state(int) const + 35&lt;br&gt;3   libqtaccessiblewidgets.dylib       0x16197b9d QAccessibleLineEdit::state(int) const + 33&lt;br&gt;
4   QtGui                              0x028f2178 QAccessible::cleanup() + 14728&lt;br&gt;5   QtGui                              0x028f7016 QAccessible::cleanup() + 34854&lt;br&gt;6   QtGui                              0x028f750d QAccessible::updateAccessibility(QObject*, int, QAccessible::Event) + 621&lt;br&gt;
7   QtGui                              0x02954e7a QWidgetPrivate::show_helper() + 330&lt;br&gt;8   QtGui                              0x02955553 QWidget::setVisible(bool) + 1267&lt;br&gt;9   QtGui.so                           0x02234aa5 sipQLineEdit::setVisible(bool) + 101&lt;br&gt;
10  QtGui                              0x02954cd8 QWidgetPrivate::showChildren(bool) + 328&lt;br&gt;11  QtGui                              0x02954d8c QWidgetPrivate::show_helper() + 92&lt;br&gt;12  QtGui                              0x02955553 QWidget::setVisible(bool) + 1267&lt;br&gt;
13  QtGui.so                           0x02417f11 sipQWidget::setVisible(bool) + 101&lt;br&gt;14  QtGui                              0x02954cd8 QWidgetPrivate::showChildren(bool) + 328&lt;br&gt;15  QtGui                              0x02954d8c QWidgetPrivate::show_helper() + 92&lt;br&gt;
16  QtGui                              0x02955553 QWidget::setVisible(bool) + 1267&lt;br&gt;17  QtGui.so                           0x02417f11 sipQWidget::setVisible(bool) + 101&lt;br&gt;18  QtGui.so                           0x02420150 sipQWidget::sipProtectVirt_languageChange(bool) + 25936&lt;br&gt;
19  org.python.python                  0x00499c5d PyEval_EvalFrameEx + 19936&lt;br&gt;20  org.python.python                  0x0049b8ad PyEval_EvalCodeEx + 1819&lt;br&gt;21  org.python.python                  0x0049ba61 PyEval_EvalCode + 87&lt;br&gt;
22  org.python.python                  0x004bf1d0 PyRun_FileExFlags + 260&lt;br&gt;23  org.python.python                  0x0048fe3d PyAST_FromNode + 7784&lt;br&gt;24  org.python.python                  0x00499c5d PyEval_EvalFrameEx + 19936&lt;br&gt;
25  org.python.python                  0x0049b8ad PyEval_EvalCodeEx + 1819&lt;br&gt;26  org.python.python                  0x00498f2e PyEval_EvalFrameEx + 16561&lt;br&gt;27  org.python.python                  0x0049b8ad PyEval_EvalCodeEx + 1819&lt;br&gt;
28  org.python.python                  0x0049ba61 PyEval_EvalCode + 87&lt;br&gt;29  org.python.python                  0x004bf1d0 PyRun_FileExFlags + 260&lt;br&gt;30  org.python.python                  0x004bf56a PyRun_SimpleFileExFlags + 640&lt;br&gt;
31  org.python.python                  0x004bf70d PyRun_SimpleFile + 40&lt;br&gt;32  ...cified.softwareRequirements     0x00007b9f start + 23863&lt;br&gt;33  ...cified.softwareRequirements     0x00008091 main + 297&lt;br&gt;34  ...cified.softwareRequirements     0x00001f63 start + 251&lt;br&gt;
35  ...cified.softwareRequirements     0x00001e91 start + 41&lt;br&gt;&lt;br&gt;Thread 0 crashed with X86 Thread State (32-bit):&lt;br&gt;  eax: 0x00000000  ebx: 0x028f2007  ecx: 0x16784105  edx: 0x00000000&lt;br&gt;  edi: 0x003bc630  esi: 0x003ab8a0  ebp: 0xbfffdce8  esp: 0xbfffdcc0&lt;br&gt;
   ss: 0x0000001f  efl: 0x00010246  eip: 0x167c792d   cs: 0x00000017&lt;br&gt;   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Pythonmac-SIG maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26798555&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pythonmac-SIG@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonmac-sig&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonmac-sig&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-py2app-and-qt-tp26789626p26798555.html" />
</entry>

</feed>
