Edgewall Software
Modify

Opened 10 years ago

Closed 10 years ago

#11483 closed defect (cantfix)

IndexError: list index out of range

Reported by: dpoland Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.7
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /ticket/5167, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'id': u'5167'}

User Agent was: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0

System Information

Trac 0.11.7
Python 2.4.3 (#1, Sep 3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
setuptools 0.6c9
SQLite 3.3.6
pysqlite 1.1.7
Genshi 0.5.1
mod_python 3.2.8
Pygments 1.0
Subversion 1.6.6 (r40053)
CustomFieldAdmin 0.2.2
RPC 1.1.0-r0
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/main.py", line 227, in dispatch
    data, content_type)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/chrome.py", line 745, in render_template
    stream |= self._filter_stream(req, method, filename, stream, data)
  File "/usr/lib/python2.4/site-packages/Genshi-0.5.1-py2.4-linux-i686.egg/genshi/core.py", line 128, in __or__
  File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/chrome.py", line 848, in inner
    data)
  File "/usr/lib/python2.4/site-packages/TracHoursPlugin-0.5.2-py2.4.egg/trachours/hours.py", line 322, in filter_stream
    totalhours = [ field for field in data['fields'] if field['name'] == 'totalhours' ][0]
IndexError: list index out of range

Attachments (0)

Change History (1)

comment:1 by Ryan J Ollos, 10 years ago

Resolution: cantfix
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.