[Twisted-Python] git clone with spawnProcess() can prevent socket data flow, any clue why?

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Sat Aug 28 11:18:28 EDT 2010

On 07:34 am, enselic at gmail.com wrote:
>I am getting a weird problem where git cloning with
>reactor.spawnProcess() fails for some repositories. It appears as if
>Twisted blocks reading from the server socket that git packs should 
>come on.
>I originally got the problem with buildbot, but I have has isolated the
>problem further to Twisted. The following program can be used to
>reproduce the problem:
>I see this problem on Fedora 13 x86_64, both with the distro version
>Twisted 0.8.2, and with the latest stable release Twisted 10.1.0. My
>personal guess is that it has something to do with how spawnProcess()
>manages the fds or the child process.
>Does anyone have any guess of what is going on?
>Can you reproduce it on other systems?
>Thanks in advance for any input.

The git process gets all the way through the gimp checkout on my system, 
Ubuntu 9.10, with either Twisted 8.2.0 or current trunk at HEAD.


More information about the Twisted-Python mailing list