[Buildbot] #3533: API request handling failure
Buildbot trac
trac at buildbot.net
Fri Apr 22 08:27:24 UTC 2016
#3533: API request handling failure
----------------------+-----------------------
Reporter: cmouse | Owner:
Type: undecided | Status: new
Priority: major | Milestone: undecided
Version: master | Keywords:
----------------------+-----------------------
I get this in logs occasionally when browsing the Web UI.
2016-04-22 11:25:42+0300 [-] while handling API request
Traceback (most recent call last):
File "/opt/buildbot/local/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1126, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/opt/buildbot/local/lib/python2.7/site-
packages/twisted/python/failure.py", line 389, in
throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/opt/buildbot/local/lib/python2.7/site-
packages/buildbot/www/rest.py", line 407, in renderRest
request.write(data)
File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
--- <exception caught here> ---
File "/opt/buildbot/local/lib/python2.7/site-
packages/buildbot/www/rest.py", line 124, in handleErrors
yield
File "/opt/buildbot/local/lib/python2.7/site-
packages/buildbot/www/rest.py", line 339, in renderRest
data = yield ep.get(rspec, kwargs)
File "/opt/buildbot/local/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1126, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/opt/buildbot/local/lib/python2.7/site-
packages/twisted/python/failure.py", line 389, in
throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/opt/buildbot/local/lib/python2.7/site-
packages/buildbot/data/changes.py", line 73, in get
changes = yield
self.master.db.changes.getChangesForBuild(buildid)
File "/opt/buildbot/local/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks
result = g.send(result)
File "/opt/buildbot/local/lib/python2.7/site-
packages/buildbot/db/changes.py", line 196, in getChangesForBuild
if change and change['changeid'] != toChanges.get(cb,
{}).get('changeid'):
exceptions.AttributeError: 'NoneType' object has no attribute
'get'
--
Ticket URL: <http://trac.buildbot.net/ticket/3533>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list