Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#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]

Attachments (0)

Change History (2)

comment:1 Changed 16 years ago by Etienne PIERRE

Resolution: fixed
Status: newclosed

comment:2 Changed 16 years ago by Etienne PIERRE

The version 0.1.2 can be downloaded and contains the fix

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Etienne PIERRE.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.