Modify

Opened 8 years ago

Closed 5 years ago

Last modified 5 years ago

#13161 closed defect (fixed)

IndexError: list index out of range

Reported by: EmeCas Owned by: EmeCas
Priority: normal Component: TracHoursPlugin
Severity: normal Keywords: roadmap
Cc: falkb Trac Release: 1.2

Description

How to Reproduce

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

Using in conjunction with SimpleMultiProject plugin, selecting the checkbox available Group by project and clicking on Update button

Request parameters:

{u'smp_group': u'1',
 u'smp_projects': u'All',
 u'smp_update': [u'1', u'filter', u'group']}

User agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0

System Information

Trac 1.2
Genshi 0.7 (without speedups)
psycopg2 2.5.1
Pygments 2.2.0
Python 2.7.5 (default, Nov 6 2016, 00:28:07)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]
RPC 1.1.5
setuptools 0.9.8
jQuery 1.11.3
jQuery UI 1.11.4
jQuery Timepicker 1.5.5

Enabled Plugins

ComponentDependencyPlugin 0.1
SimpleMultiProject 0.5.2.dev0
TicketSidebarProvider 0.0.post0
TracHoursPlugin 0.6.0.dev0
TracSubTicketsPlugin 0.4.0.dev0
TracXMLRPC 1.1.5

Interface Customization

Python Traceback

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 613, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 273, in dispatch
    iterable=chrome.use_chunked_encoding)
  File "/usr/lib64/python2.7/site-packages/trac/web/chrome.py", line 1159, in render_template
    encoding='utf-8')
  File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 184, in render
    return encode(generator, method=method, encoding=encoding, out=out)
  File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 58, in encode
    for chunk in iterator:
  File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 350, in __call__
    for kind, data, pos in stream:
  File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 829, in __call__
    for kind, data, pos in stream:
  File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 669, in __call__
    for kind, data, pos in stream:
  File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 774, in __call__
    for kind, data, pos in chain(stream, [(None, None, None)]):
  File "/usr/lib64/python2.7/site-packages/genshi/output.py", line 594, in __call__
    for ev in stream:
  File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "/usr/lib64/python2.7/site-packages/trac/web/chrome.py", line 1426, in _strip_accesskeys
    for kind, data, pos in stream:
  File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "/usr/lib64/python2.7/site-packages/trac/web/chrome.py", line 1415, in _generate
    for kind, data, pos in stream:
  File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 706, in _unmark
    for mark, event in stream:
  File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 1172, in __call__
    for subevent in self._inject():
  File "/usr/lib64/python2.7/site-packages/genshi/filters/transform.py", line 1063, in _inject
    for event in _ensure(content):
  File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 272, in _ensure
    stream = iter(stream)
  File "/usr/lib/python2.7/site-packages/TracHoursPlugin-0.6.0.dev0-py2.7.egg/trachours/web_ui.py", line 125, in __iter__
    milestone = self.buffer.events[3][1]
IndexError: list index out of range

Attachments (0)

Change History (5)

comment:1 Changed 8 years ago by EmeCas

Keywords: falkb added

comment:2 Changed 8 years ago by EmeCas

Cc: falkb added
Keywords: falkb removed

comment:3 Changed 5 years ago by EmeCas

Duplicate #13565 fixed: In [17383]

comment:4 Changed 5 years ago by EmeCas

Resolution: fixed
Status: assignedclosed

comment:5 Changed 5 years ago by EmeCas

Keywords: roadmap added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain EmeCas.
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.