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.
Hi,
A while back on Oct 13, 2010, at 7:20 PM, James Y Knight wrote:
> You need to avoid using or importing any OSX APIs until after the
> daemonization has occurred. Unfortunately, twisted executes the entire script
> file before daemonizing. [that's unfortunate for other reasons besides this,
James,
On Oct 13, 2010, at 7:20 PM, James Y Knight wrote:
> You need to avoid using or importing any OSX APIs until after the
> daemonization has occurred. Unfortunately, twisted executes the entire script
> file before daemonizing. [that's unfortunate for other reasons besides this,
> too]
>
On Oct 13, 2010, at 5:55 PM, Phil Mayers wrote:
> Ah; apparently:
>
> http://developer.apple.com/library/ios/#documentation/cocoa/conceptual/Multithreading/AboutThreads/AboutThreads.html
>
> """using the fork function [...] Applications that depend on the Core
> Foundation, Cocoa, or Core Data
os.dup2(null, i)
except OSError, e:
if e.errno != errno.EBADF:
raise
os.close(null)
Thanks,
Erik van Blokland
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin
Hullo,
I'm trying to get the current svn version of twisted to run on a current python
2.6.4 (not the stock python, a newer one) on Mac OSX 10.6.
> In file included from
> /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4,
> from
> /Library/