[Twisted-Python] mystery exception

glyph at divmod.com glyph at divmod.com
Wed Oct 15 02:29:00 EDT 2008

On 03:40 am, krokodil at gmail.com wrote:
>On Oct 14, 2008, at 20:31, Vadim Zaliva wrote:
>>>The specific problem is that a pipe file descriptor, internal to the
>>>reactor, has been closed.  The reactor is not expecting this to 
>>>and it shouldn't, since it never closes it.
>>Could it be related to permissions? I am demonizing my program
>>standard way, closing all open descriptors, chdir(/), etc.
>>Where the FIFO is created normally?
>This is the daemonisation code I am using:
>It seems that it is causing the problem.

The "twistd" tool included with Twisted has many features, including 
daemonization.  You shouldn't need to use something like this to get a 
twisted daemon running.

More information about the Twisted-Python mailing list