Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#2728 closed defect (fixed)

IndexError raised when a builder has no build

Reported by: anonymous Owned by: etienne
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 7 years ago by etienne

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 7 years ago by etienne

The version 0.1.2 can be downloaded and contains the fix

Add Comment

Modify Ticket

Action
as closed The owner will remain etienne.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.