Opened 8 years ago

Last modified 6 years ago

#8374 closed defect

list of index is out of range — at Initial Version

Reported by: mark_kids@… Owned by: Ryan J Ollos
Priority: high Component: TracMetrixPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

Code fragment: Line 235 236 #get index of day in the dates list 237 index = bisect(dates, date2num(date)) - 1 238 239 for key in tkt_counts: 240 tkt_counts[key][index] = tkt_counts[key][index] + len(event[1][key]) 241 242 return tkt_counts 243 244 245 Local variables: Name Value date datetime.datetime(2011, 1, 6, 22, 3, 48, 531988, tzinfo=<LocalTimezone ... dates array([], dtype=float64) env <trac.env.Environment object at 0x2aaab5ff5090> event (1294380228531988L, {'Leave': set([]), 'Finish': set([]), 'Enter': ... index -1 key 'Leave' sorted_events [(1294380228531988L, {'Leave': set([]), 'Finish': set([]), 'Enter': ... tkt_counts {'Leave': [], 'Finish': [], 'Enter': []}

Change History (0)

Note: See TracTickets for help on using tickets.