[Buildbot-devel] SVNPoller: how to debug? doesn't seem to notice changes

Chris Shenton Chris.Shenton at nasa.gov
Tue Sep 9 17:50:52 UTC 2008


Oh, I'm being an idiot/newbie.  In my master instance directory I just  
noticed twisted.log which is complaining:

2008-09-09 13:38:50-0400 [-] _finished : [Failure instance: Traceback  
(failure with no frames):
<type 'exceptions.IOError'>: got stderr:
> 'Upon execvpe svn [\'svn\', \'info\', \'--xml\',\'--non-interactive 
> \',\'http://svnserver.hq.nasa.gov/sv\
> n/smd/MasterSite/schwag_buildout\']
> in environment id 37571440
> :
> Traceback (most recent call last):
>   File "/Users/cshenton/buildbot/lib/python2.5/site-packages/ 
> Twisted-8.1.0-py2.5-macosx-10.3-ppc.egg/twiste\
> d/internet/process.py", line 394, in _fork
>     executable, args, environment)
>   File "/Users/cshenton/buildbot/lib/python2.5/site-packages/ 
> Twisted-8.1.0-py2.5-macosx-10.3-ppc.egg/twiste\
> d/internet/process.py", line 440, in _execChild
>     os.execvpe(executable, args, environment)
>   File "/usr/local/python/2.5/lib/python2.5/os.py", line 362, in  
> execvpe
>     _execvpe(file, args, env)
>   File "/usr/local/python/2.5/lib/python2.5/os.py", line 389, in  
> _execvpe
>     func(fullname, *argrest)
> OSError: [Errno 2] No such file or directory
> '
>         ]

So I'm guessing it can't find 'svn'.  So I specify it explicitly:

c['change_source'] = SVNPoller(svnurl="http://svnserver.hq.nasa.gov/svn/smd/MasterSite/schwag_buildout/ 
\
", # trunk, branches
                                split_file=split_file_branches, #  
determine branches/branchname/files...
                                pollinterval=1*60, # default is 10*600
                                svnbin="/usr/local/bin/svn", #  
explicit path or OSError no such file
                                )

And that helps, but now it's complaining about the --xml flag that Ted  
Zlatanov just mentioned:

> 2008-09-09 13:49:17-0400 [-] SVNPoller failed
> 2008-09-09 13:49:17-0400 [-] _finished : [Failure instance:  
> Traceback (failure with no frames): <type 'exce\
> ptions.IOError'>: got stderr: "Subcommand 'info' doesn't accept  
> option '--xml'\nType 'svn help info' for us\
> age.\n"
>         ]

I'm currently running my master on an elderly OSX 10.4 server which  
has svn-1.2.3, so it doesn't recognize the --xml flag.   Is there a  
workaround for this?

Thanks

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 9008 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20080909/b064c8ba/attachment.bin>


More information about the devel mailing list