[Buildbot-devel] Buildbot data file corruption issues

Brian Warner warner-buildbot at lothar.com
Mon Mar 24 07:14:39 UTC 2008


>     exceptions.AttributeError: 'str' object has no attribute 'append'
> 
> The very end of the error trace has this:
> 
>     /home/buildbot/lib/python/buildbot/status/web/waterfall.py, line
> 157 in getBox 155      if logs[num].hasContents():
>     156        url = urlbase + "/logs/%s" % urllib.quote(name)
>     157        text.append("<a href=\"%s\">%s</a>" % (url,
> html.escape(name))) 158      else:

That suggests a buildstep has returned a single string (perhaps as it's
.description or .descriptionDone attribute) instead of a list of strings.

Check your config file, maybe you're passing in description="foo" instead of
description=["foo"] ?

We should probably change the code to tolerate both forms..

cheers,
 -Brian




More information about the devel mailing list