[Buildbot-devel] AttributeError on LRUCache with Blocker step on buildbot 0.8.7

Boris Savelev boris.savelev at gmail.com
Thu Oct 11 09:05:47 UTC 2012


Hello!

Just upgrade up to 0.8.7 and get error on one of my custom step:
{{{
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py",
line 441, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py",
line 1014, in unwindGenerator
    return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py",
line 893, in _inlineCallbacks
    result = g.send(result)
  File "/home/builder/venv/lib/python2.6/site-packages/buildbot/process/buildstep.py",
line 600, in _startStep_3
    result = yield defer.maybeDeferred(self.start)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py",
line 125, in maybeDeferred
    result = f(*args, **kw)
  File "/home/builder/cis/buildbot/hacks.py", line 172, in start
    r = buildbot.steps.blocker.Blocker.start(self)
  File "/home/builder/venv/lib/python2.6/site-packages/buildbot/steps/blocker.py",
line 212, in start
    buildStatus = self._getBuildStatus(botmaster, builderName)
  File "/home/builder/cis/buildbot/hacks.py", line 159, in _getBuildStatus
    r = buildbot.steps.blocker.Blocker._getBuildStatus(self,
botmaster, builderName)
  File "/home/builder/venv/lib/python2.6/site-packages/buildbot/steps/blocker.py",
line 141, in _getBuildStatus
    all_builds = (builderStatus.buildCache.values() +
exceptions.AttributeError: 'LRUCache' object has no attribute 'values'
}}}

step class code: http://pastebin.com/A7i4F9EK
using step code: http://pastebin.com/VYMfxdC0

-- 
Boris




More information about the devel mailing list