[Buildbot-devel] [PATCH] Crash when using buildbot try on an SVN repo

Steven Walter stevenrwalter at gmail.com
Fri Oct 28 14:29:00 UTC 2005

I experienced a crash using the "buildbot try" command in the 0.7.0 release
of buildbot. The error message was along the lines of "len called on a
zero-length object" in the "ns" function. The attached patch fixes it. For
subversion, baserev is an integer, so calling len() on it raises an
exception. It would seem that "ns" expects a string, so cast it to one
before calling.
-Steven Walter <stevenrwalter at gmail.com>
"If you think healthcare is expensive now, you should see how much it costs
when it's free."
- P.J. O'Rourke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20051028/d4268f29/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildbot.diff
Type: text/x-patch
Size: 495 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20051028/d4268f29/attachment.bin>

More information about the devel mailing list