[Buildbot-commits] [Buildbot] #2554: Webstatus crash when viewing a builder
Buildbot trac
trac at buildbot.net
Mon Aug 26 16:19:58 UTC 2013
#2554: Webstatus crash when viewing a builder
---------------------------+-----------------------
Reporter: ludovicchabant | Owner:
Type: defect | Status: new
Priority: blocker | Milestone: undecided
Version: 0.8.8 | Keywords:
---------------------------+-----------------------
I frequently get this crash when I either want to view a builder's page,
or a specific build's page:
{{{
web.Server Traceback (most recent call last):
twisted.internet.defer.FirstError: FirstError[#0, [Failure instance:
Traceback (failure with no frames):
<class 'twisted.internet.defer.FirstError'>:
FirstError[#0, [Failure instance: Traceback:
<type 'exceptions.TypeError'>: 'NoneType' object has no attribute
'__getitem__' C:\Python27\lib\site-
packages\twisted\internet\defer.py:575:_runCallbacks
D:\SnowMonkey\TnT\Build\Bin\SnowMonkey\buildbot\master\buildbot\util\lru.py:217:handle_result
C:\Python27\lib\site-packages\twisted\internet\defer.py:380:callback
C:\Python27\lib\site-
packages\twisted\internet\defer.py:488:_startRunCallbacks --- <exception
caught here> ---
C:\Python27\lib\site-packages\twisted\internet\defer.py:575:_runCallbacks
D:\SnowMonkey\TnT\Build\Bin\SnowMonkey\buildbot\master\buildbot\sourcestamp.py:120:<lambda>
D:\SnowMonkey\TnT\Build\Bin\SnowMonkey\buildbot\master\buildbot\changes\changes.py:55:fromChdict
]] ]]
twisted.internet.defer.FirstError:
FirstError[#0, [Failure instance: Traceback (failure with no frames):
<class 'twisted.internet.defer.FirstError'>:
FirstError[#0, [Failure instance: Traceback:
<type 'exceptions.TypeError'>:
'NoneType' object has no attribute '__getitem__'
C:\Python27\lib\site-packages\twisted\internet\defer.py:575:_runCallbacks
D:\SnowMonkey\TnT\Build\Bin\SnowMonkey\buildbot\master\buildbot\util\lru.py:217:handle_result
C:\Python27\lib\site-packages\twisted\internet\defer.py:380:callback
C:\Python27\lib\site-
packages\twisted\internet\defer.py:488:_startRunCallbacks --- <exception
caught here> ---
C:\Python27\lib\site-packages\twisted\internet\defer.py:575:_runCallbacks
D:\SnowMonkey\TnT\Build\Bin\SnowMonkey\buildbot\master\buildbot\sourcestamp.py:120:<lambda>
D:\SnowMonkey\TnT\Build\Bin\SnowMonkey\buildbot\master\buildbot\changes\changes.py:55:fromChdict
]] ]]
}}}
It seems that "cache" in "None" in "Change.fromChdict".
The bug appears out of nowhere, i.e. one second it works, and the next it
will fire all the time and I need to kill all the caches, along with the
DB, and rebuild the master. Any idea what could be causing this? I could
just quick-patch it and return "None" if "cache is None", but I'm not sure
if that would be a proper fix or just delaying the problem.
--
Ticket URL: <http://trac.buildbot.net/ticket/2554>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list