Modify ↓
#7525 closed defect (invalid)
IndexError occurred when editing Wiki pages
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | i18n | Version: | 0.12dev |
Severity: | trivial | Keywords: | |
Cc: | yournana@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal 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 (0)
Change History (2)
comment:1 by , 16 years ago
Resolution: | → invalid |
---|---|
Severity: | normal → trivial |
Status: | new → closed |
comment:2 by , 16 years ago
Milestone: | 0.12 |
---|
Note:
See TracTickets
for help on using tickets.
i update genshi to trunk,it works fine ,close it