Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#106 closed defect (not a bug)

IndexError: pop from empty list

Reported by: ak120 Owned by: dmik
Priority: Feedback Pending Component: [general]
Version: Keywords:
Cc:

Description

Zum Reproduzieren

Während der Ausführung von GET auf /attachment/ticket/105/ hat Trac einen internen Fehler gemeldet.

(Bitte geben Sie hier weitere Details an)

Anfrageparameter:

{'action': u'new', 'path': u'105/', 'realm': u'ticket'}

User agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.12) Gecko/20140325 Firefox/10.0.12 SeaMonkey/2.7.2

Systeminformationen

Systeminformation nicht verfügbar

Aktive Plugins

Plugininformation nicht verfügbar

Python-Zurückverfolgungsinformationen

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/trac/web/main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.7/site-packages/trac/web/main.py", line 241, in dispatch
    content_type)
  File "/usr/local/lib/python2.7/site-packages/trac/web/chrome.py", line 1095, in render_template
    encoding='utf-8')
  File "/usr/local/lib/python2.7/site-packages/genshi/core.py", line 184, in render
    return encode(generator, method=method, encoding=encoding, out=out)
  File "/usr/local/lib/python2.7/site-packages/genshi/output.py", line 58, in encode
    for chunk in iterator:
  File "/usr/local/lib/python2.7/site-packages/genshi/output.py", line 350, in __call__
    for kind, data, pos in stream:
  File "/usr/local/lib/python2.7/site-packages/genshi/output.py", line 829, in __call__
    for kind, data, pos in stream:
  File "/usr/local/lib/python2.7/site-packages/genshi/output.py", line 669, in __call__
    for kind, data, pos in stream:
  File "/usr/local/lib/python2.7/site-packages/genshi/output.py", line 774, in __call__
    for kind, data, pos in chain(stream, [(None, None, None)]):
  File "/usr/local/lib/python2.7/site-packages/genshi/output.py", line 594, in __call__
    for ev in stream:
  File "/usr/local/lib/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "/usr/local/lib/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "/usr/local/lib/python2.7/site-packages/trac/web/chrome.py", line 1264, in _strip_accesskeys
    for kind, data, pos in stream:
  File "/usr/local/lib/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "/usr/local/lib/python2.7/site-packages/trac/web/chrome.py", line 1253, in _generate
    for kind, data, pos in stream:
  File "/usr/local/lib/python2.7/site-packages/genshi/template/base.py", line 618, in _include
    for event in stream:
  File "/usr/local/lib/python2.7/site-packages/genshi/template/markup.py", line 378, in _match
    ctxt, start=idx + 1, **vars):
  File "/usr/local/lib/python2.7/site-packages/genshi/template/markup.py", line 378, in _match
    ctxt, start=idx + 1, **vars):
  File "/usr/local/lib/python2.7/site-packages/genshi/template/markup.py", line 326, in _match
    for event in stream:
  File "/usr/local/lib/python2.7/site-packages/genshi/template/base.py", line 558, in _flatten
    for kind, data, pos in stream:
  File "/usr/local/lib/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "/usr/local/lib/python2.7/site-packages/genshi/path.py", line 588, in _generate
    subevent = next()
  File "/usr/local/lib/python2.7/site-packages/genshi/template/base.py", line 618, in _include
    for event in stream:
  File "/usr/local/lib/python2.7/site-packages/genshi/template/markup.py", line 315, in _strip
    event = next()
  File "/usr/local/lib/python2.7/site-packages/genshi/template/base.py", line 558, in _flatten
    for kind, data, pos in stream:
  File "/usr/local/lib/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "/usr/local/lib/python2.7/site-packages/genshi/path.py", line 588, in _generate
    subevent = next()
  File "/usr/local/lib/python2.7/site-packages/genshi/template/base.py", line 618, in _include
    for event in stream:
  File "/usr/local/lib/python2.7/site-packages/genshi/template/markup.py", line 315, in _strip
    event = next()
  File "/usr/local/lib/python2.7/site-packages/genshi/template/base.py", line 558, in _flatten
    for kind, data, pos in stream:
  File "/usr/local/lib/python2.7/site-packages/genshi/filters/i18n.py", line 178, in _generate
    for event in msgbuf.translate(gettext(msgbuf.format())):
  File "/usr/local/lib/python2.7/site-packages/genshi/filters/i18n.py", line 1051, in translate
    events = self.events[order].pop(0)
IndexError: pop from empty list

Change History (5)

comment:1 by Silvan Scherrer, 9 years ago

Component: qtapps[general]
Owner: set to dmik
Priority: majorFeedback Pending

this seems like a trac problem, even you did not state what you wanted to do.

comment:2 by Silvan Scherrer, 9 years ago

please retry the same action and see if it was a one time problem. As trac sometimes behaves a bit strange.

comment:3 by ak120, 9 years ago

Ich kann leider immer noch keine Anhänge hinzufügen, habe es soeben mit einem anderen Browser (qupzilla) probiert. Auch hier erhalt ich:

Trac hat einen internen Fehler festgestellt:
IndexError: pop from empty list

comment:4 by Silvan Scherrer, 9 years ago

Resolution: not a bug
Status: newclosed

see http://trac.netlabs.org/samba/ticket/255 for a solution. If you feel this is a problem, then you have to ask Adrian from netlabs, as we just use this service.

comment:5 by ak120, 9 years ago

Solution ist vielleicht das falsche Wort. workaround wäre etwas treffender. Es ist weniger ein Problem als ein Ärgernis nun auf eine rückständige Sprachanzeige umstellen zu müssen.

Note: See TracTickets for help on using tickets.