Edgewall Software
Modify

Ticket #7525 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

IndexError occurred when editing Wiki pages

Reported by: yournana@… Owned by:
Priority: normal Milestone:
Component: i18n Version: 0.12dev
Severity: trivial Keywords:
Cc: yournana@…
Release Notes:
API Changes:

Description

I enabled the i18n support,language changed fine,but editing wiki page,follow the error,some ideas?

Traceback (most recent call last):
  File "e:\python\python25\lib\site-packages\Trac-0.12dev-py2.5.egg\trac\web\api.py", line 344, in send_error
    data, 'text/html')
  File "e:\python\python25\lib\site-packages\Trac-0.12dev-py2.5.egg\trac\web\chrome.py", line 728, in render_template
    return stream.render(method, doctype=doctype)
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\core.py", line 179, in render
    return encode(generator, method=method, encoding=encoding, out=out)
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\output.py", line 60, in encode
    return _encode(u''.join(list(iterator)))
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\output.py", line 311, in __call__
    for kind, data, pos in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\output.py", line 753, in __call__
    for kind, data, pos in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\output.py", line 592, in __call__
    for kind, data, pos in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\output.py", line 698, in __call__
    for kind, data, pos in chain(stream, [(None, None, None)]):
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\output.py", line 532, in __call__
    for ev in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\core.py", line 283, in _ensure
    for event in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\core.py", line 283, in _ensure
    for event in stream:
  File "e:\python\python25\lib\site-packages\Trac-0.12dev-py2.5.egg\trac\web\chrome.py", line 780, in _strip_accesskeys
    for kind, data, pos in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\core.py", line 283, in _ensure
    for event in stream:
  File "e:\python\python25\lib\site-packages\Trac-0.12dev-py2.5.egg\trac\web\chrome.py", line 769, in _generate
    for kind, data, pos in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 569, in _include
    for event in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\markup.py", line 298, in _match
    ctxt, start=idx + 1, **vars):
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\markup.py", line 298, in _match
    ctxt, start=idx + 1, **vars):
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\markup.py", line 245, in _match
    for event in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 543, in _exec
    for event in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 533, in _eval
    for event in substream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 496, in _eval
    for kind, data, pos in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 551, in _flatten
    for event in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\core.py", line 283, in _ensure
    for event in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\path.py", line 141, in _generate
    subevent = stream.next()
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 569, in _include
    for event in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\markup.py", line 234, in _strip
    event = stream.next()
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 543, in _exec
    for event in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 533, in _eval
    for event in substream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 496, in _eval
    for kind, data, pos in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 551, in _flatten
    for event in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\core.py", line 283, in _ensure
    for event in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\path.py", line 141, in _generate
    subevent = stream.next()
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 569, in _include
    for event in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\markup.py", line 234, in _strip
    event = stream.next()
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 543, in _exec
    for event in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 496, in _eval
    for kind, data, pos in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\template\base.py", line 551, in _flatten
    for event in stream:
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\filters\i18n.py", line 213, in __call__
    new_substream = list(self(substream, ctxt, msgbuf=msgbuf))
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\filters\i18n.py", line 213, in __call__
    new_substream = list(self(substream, ctxt, msgbuf=msgbuf))
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\filters\i18n.py", line 213, in __call__
    new_substream = list(self(substream, ctxt, msgbuf=msgbuf))
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\filters\i18n.py", line 213, in __call__
    new_substream = list(self(substream, ctxt, msgbuf=msgbuf))
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\filters\i18n.py", line 213, in __call__
    new_substream = list(self(substream, ctxt, msgbuf=msgbuf))
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\filters\i18n.py", line 170, in __call__
    search_text=False, msgbuf=msgbuf)
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\filters\i18n.py", line 201, in __call__
    msgbuf.append(kind, data, pos)
  File "E:\python\Python25\lib\site-packages\genshi-0.5.1-py2.5-win32.egg\genshi\filters\i18n.py", line 379, in append
    param = self.params.pop(0)
IndexError: pop from empty list

Attachments

Change History

comment:1 Changed 3 years ago by anonymous

  • Resolution set to invalid
  • Severity changed from normal to trivial
  • Status changed from new to closed

i update genshi to trunk,it works fine ,close it

comment:2 Changed 3 years ago by rblank

  • Milestone 0.12 deleted
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from (none). Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.