#2728 closed defect (fixed)
IndexError raised when a builder has no build
Reported by: | anonymous | Owned by: | Etienne PIERRE |
---|---|---|---|
Priority: | normal | Component: | TracBuildbotIntegration |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
The latest builds page raises an IndexError exception when one of the builders has never been executed.
Most recent call last:
File "c:\python24\lib\site-packages\Trac-0.11dev_r6687-py2.4.egg\trac\web\main.py", line 419, in _dispatch_request
dispatcher.dispatch(req)
File "c:\python24\lib\site-packages\Trac-0.11dev_r6687-py2.4.egg\trac\web\main.py", line 196, in dispatch
resp = chosen_handler.process_request(req)
File "x:\sebastien\trac\plugins\tracbuildbot-0.1.1-py2.4.egg\tracbb\tracbb.py", line 110, in process_requestFile "x:\sebastien\trac\plugins\tracbuildbot-0.1.1-py2.4.egg\tracbb\tracbb.py", line 72, in get_builders
I suspect that it comes from here : lastbuild = server.getLastBuilds(builder,1)[0]
Correction in the trunk (svn co http://trac-hacks.org/svn/tracbuildbotintegration/trunk).