[Buildbot-devel] Problems with SVNPoller

Niklaus Giger niklaus.giger at member.fsf.org
Mon Jan 8 20:08:50 UTC 2007


Fabio wrote:

> Hi everyone,
> I am trying to get the SVNPoller of buildbot 0.7.5 to work. In my
> master.cfg I have added the lines
> 
> from buildbot.changes.svnpoller import SVNPoller
> sp = SVNPoller('http://svn.tuebingen.mpg.de/shogun')
> c['sources'] = [sp]
> 
> After starting the buildmaster I get an error message in the twistd.log
> file looking like this:
> 
> 2007/01/08 12:20 CET [-] SVNPoller polling
> 2007/01/08 12:20 CET [-] SVNPoller finished polling
> 2007/01/08 12:20 CET [-] _finished : [Failure instance: Traceback:
> exceptions.IOError, got stderr
>         ]
> 2007/01/08 12:20 CET [-] Unhandled error in Deferred:
> 2007/01/08 12:20 CET [-] Failure: exceptions.IOError: got stderr
> 
> It can't be an authentication problem because when I open a shell I can
> do a "svn log" without any problems.
> 
> I would be really grateful if anyone had a hint for solving this problem.
> 
I had similar problems when my repository was offline. 

I think/guess the command chokes when it receives some byte on the stdout.
Are you sure that nothing goes to the stderr if you type something like
$ svn log --xml --verbose --non-interactive --limit=10 \
http://svn.tuebingen.mpg.de/shogun 1>/tmp/svn.log 2>/tmp/svn.err
Is after this command svn.err really empty?

Or can you narrow down the search by adding some log.msg to
buildbot/changes/svnpoller.py?

Does it also work if you execute it also under the "buildbot" user
account/shell?

Best regards
---

Niklaus Giger





More information about the devel mailing list