[Buildbot-devel] gitpoller: repo poll failed: [Failure instance: Traceback: <type 'exceptions.IOError'>: [Errno 4] Interrupted system call

Matisse Enzer menzer at apple.com
Fri Oct 29 23:24:07 UTC 2010


I actually spent a lot of today trying to hack gitpoller to use getProcessOutput but I am such a beginner with python and twistd that I could not figured out how to actually get the darned output from the deferred object that getProcessOutput() returns. I can say that it ran hundreds of times without error.

-M

On Oct 29, 2010, at 2:10 PM, Dustin J. Mitchell wrote:

> On Fri, Oct 29, 2010 at 2:55 PM, Matisse Enzer <menzer at apple.com> wrote:
>> You should be
>> using reactor.spawnProcess (see  interfaces.IReactorProcess.spawnProcess).
>> There's also a convenience function,  getProcessOutput,
>> in twisted.internet.utils.
> 
> This is a good point - getProcessOutput would probably be sufficient, in fact.
> 
>  http://buildbot.net/trac/ticket/1032
> 
> Dustin





More information about the devel mailing list