[Osgeo4w-trac] [osgeo4w] #648: IndexError: pop from empty list

OSGeo4W trac_osgeo4w at osgeo.org
Fri Oct 23 23:39:39 PDT 2020


#648: IndexError: pop from empty list
-------------------+---------------------------
Reporter:  tobwen  |      Owner:  osgeo4w-dev@…
    Type:  defect  |     Status:  new
Priority:  major   |  Component:  Package
 Version:          |   Keywords:
-------------------+---------------------------
 ==== How to Reproduce ====

 While doing a GET operation on `/attachment/ticket/647`, Trac issued an
 internal error.

 ''(please provide additional details here)''

 Request parameters:
 {{{
 {u'action': u'new', 'path': u'647', 'realm': u'ticket'}
 }}}

 User agent: `Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36
 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36`

 ==== System Information ====
 ''Systeminformation nicht verfügbar''

 ==== Enabled Plugins ====
 ''Plugininformation nicht verfügbar''

 ==== Interface Customization ====
 ''Interface customization information not available''

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

-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/648>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the Osgeo4w-trac mailing list