[Buildbot] #3071: /builds/:id/changes returns error
Buildbot trac
trac at buildbot.net
Tue Dec 16 08:33:13 UTC 2014
#3071: /builds/:id/changes returns error
-------------------+--------------------
Reporter: Ben | Owner:
Type: defect | Status: new
Priority: major | Milestone: 0.9.0
Version: master | Resolution:
Keywords: data |
-------------------+--------------------
Comment (by Ben):
The Traceback changed due to modification of the code, but is still there:
{{{
Traceback (most recent call last):
File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
/site-packages/twisted/internet/defer.py", line 1097, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
/site-packages/twisted/python/failure.py", line 389, in
throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File
"/home/benoit/buildbot/buildbot/master/buildbot/www/rest.py", line 374, 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
"/home/benoit/buildbot/buildbot/master/buildbot/www/rest.py", line 111, in
handleErrors
yield
File
"/home/benoit/buildbot/buildbot/master/buildbot/www/rest.py", line 308, in
renderRest
data = yield ep.get(rspec, kwargs)
File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
/site-packages/twisted/internet/defer.py", line 1097, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
/site-packages/twisted/python/failure.py", line 389, in
throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File
"/home/benoit/buildbot/buildbot/master/buildbot/data/changes.py", line 73,
in get
changes = yield
self.master.db.changes.getChangesForBuild(buildid)
File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
/site-packages/twisted/internet/defer.py", line 1099, in _inlineCallbacks
result = g.send(result)
File
"/home/benoit/buildbot/buildbot/master/buildbot/db/changes.py", line 189,
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/3071#comment:12>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list