On Nov 6, 2010, at 7:38 AM, Erik van Blokland wrote:

> 
> On Nov 5, 2010, at 11:46 PM, Erik van Blokland wrote:
> 
>> Any clues to why pkg_resources would cause Carbon to load on one machine, 
>> but not on another?
>> Any clues to prevent it these modules from loading?
> 
> FWIW, I found a workaround. The remote machine had 
> setuptools-0.6c11-py2.6.egg, the local machine setuptools-0.6c9-py2.6.egg. 
> Reverting to c9 prevents Carbon to be loaded with pkg_resources, which in 
> turn enables daemonisation. The child happily runs twisted and quartz.
> 
> I'd still be interested to see how twisted / daemon / OSX API  is supposed to 
> work with setuptools c11. But I'm happy I can continue.

Well, clearly it doesn't work :).

Please feel free to open another ticket.  You are correct in saying that this 
is related to <http://tm.tl/4644>, but that ticket is specifically about a 
test, and the proposed solution there is to make the test sensitive.

<http://bugs.python.org/issue7895> was the bug in Python that causes this, 
which has since been fixed. Although apparently the fix was not quite in time 
for 2.7, it looks to me like it has been committed to the 2.7 (and 2.6) 
branches, so perhaps we will see some point-releases which fix it.  So in 
future versions of Python, Twisted will not be affected by this issue.

However, it may be good to get a workaround in Twisted anyway, for those who 
have to deal with the combination of older Python / newer Setuptools, or a 
better fix, like changing the order of daemonization.  So a ticket is 
definitely worthwhile.


_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to