[Twisted-Python] stack trace

Kuzminski, Stefan R SKuzminski at fairisaac.com
Mon Sep 15 10:18:44 EDT 2003


Hi,

 

I'm using twisted to build a process management tool.  I have a TCP
server that runs reactor.spawnProcess(), it runs the process, but then
generates this stack trace.  I'm at a bit of a loss as to how to resolve
this..  Is there perhaps another approach I should try?  I need to
manage long running processes on remote boxes.

 

Thanks, 

Stefan

 

 

Traceback (most recent call last):

  File "/usr/lib/python2.3/site-packages/twisted/python/context.py",
line 32, i\

n callWithContext

    return func(*args,**kw)

  File
"/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py",
line\

 173, in _doReadOrWrite

    selectable.connectionLost(f)

  File "/usr/lib/python2.3/site-packages/twisted/internet/process.py",
line 431\

, in connectionLost

    self.maybeCallProcessEnded()

  File "/usr/lib/python2.3/site-packages/twisted/internet/process.py",
line 394\

, in maybeCallProcessEnded

    self.reapProcess()

--- <exception caught here> ---

  File "/usr/lib/python2.3/site-packages/twisted/internet/process.py",
line 301\

, in reapProcess

    pid, status = os.waitpid(self.pid, os.WNOHANG)

exceptions.OSError: [Errno 10] No child processes

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20030915/d45d7e70/attachment.htm 


More information about the Twisted-Python mailing list