[Buildbot-devel] exceptions.KeyError: output

Greg Ward gerg.ward+buildbot at gmail.com
Fri Dec 12 15:48:09 UTC 2008

On 10 December 2008, Daniel Eggert said:
> My build fails, but I don't know what to make of this. Can someone  
> help me understand, what buildbot / python is trying to tell me:
> /Daniel
> Traceback (most recent call last):
>    File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/twisted/spread/pb.py", line 847, in _recvMessage
>      netResult = object.remoteMessageReceived(self, message, netArgs, netKw)
>    File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/twisted/spread/flavors.py", line 119, in remoteMessageReceived
>      state = method(*args, **kw)
>    File "/Library/Python/2.5/site-packages/buildbot-0.7.9-py2.5.egg/buildbot/status/progress.py", line 165, in remaining
>      rem = step.remaining()
>    File "/Library/Python/2.5/site-packages/buildbot-0.7.9-py2.5.egg/buildbot/status/progress.py", line 96, in remaining
>      expectation = self.expectations[metric]
> exceptions.KeyError: 'output'

You (or Buildbot) are looking up a dictionary key that does not exist.
I.e. the code assumes that self.expectations contains key "output", but
it does not.

If this is your code, and you know that self.expectations does not
necessarily contain key "output", you should use


If this is Buildbot code, it's possible that you did not configure
something you were supposed to configure.  (If that's the case, you may
have found a bug of the "insufficient error reporting" variety.)


More information about the devel mailing list