Modify ↓
#9272 closed defect (fixed)
"IndexError: list index out of range" in russian i18n
Reported by: | ru_anonymous | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 0.12 |
Component: | i18n | Version: | 0.12dev |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /roadmap
, Trac issued an internal error.
(please provide additional details here)
Системная информация
Trac | 0.12dev-r9565
|
Babel | 0.9.5
|
Docutils | 0.6
|
Genshi | 0.6
|
psycopg2 | 2.0.8
|
Pygments | 1.2.2dev-20100224
|
Python | 2.5.2 (r252:60911, Oct 5 2008, 19:29:17) [GCC 4.3.2]
|
pytz | 2010g
|
setuptools | 0.6c9
|
Subversion | 1.5.1 (r32289)
|
Включенные плагины
Python Traceback
Traceback (most recent call last): File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 512, in _dispatch_request dispatcher.dispatch(req) File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 255, in dispatch content_type) File "build/bdist.linux-x86_64/egg/trac/web/chrome.py", line 864, in render_template stream.render(method, doctype=doctype, out=buffer) File "build/bdist.linux-x86_64/egg/genshi/core.py", line 183, in render return encode(generator, method=method, encoding=encoding, out=out) File "build/bdist.linux-x86_64/egg/genshi/output.py", line 58, in encode for chunk in iterator: File "build/bdist.linux-x86_64/egg/genshi/output.py", line 339, in __call__ for kind, data, pos in stream: File "build/bdist.linux-x86_64/egg/genshi/output.py", line 826, in __call__ for kind, data, pos in stream: File "build/bdist.linux-x86_64/egg/genshi/output.py", line 670, in __call__ for kind, data, pos in stream: File "build/bdist.linux-x86_64/egg/genshi/output.py", line 771, in __call__ for kind, data, pos in chain(stream, [(None, None, None)]): File "build/bdist.linux-x86_64/egg/genshi/output.py", line 586, in __call__ for ev in stream: File "build/bdist.linux-x86_64/egg/genshi/core.py", line 288, in _ensure for event in stream: File "build/bdist.linux-x86_64/egg/genshi/core.py", line 288, in _ensure for event in stream: File "build/bdist.linux-x86_64/egg/trac/web/chrome.py", line 968, in _strip_accesskeys for kind, data, pos in stream: File "build/bdist.linux-x86_64/egg/genshi/core.py", line 288, in _ensure for event in stream: File "build/bdist.linux-x86_64/egg/trac/web/chrome.py", line 957, in _generate for kind, data, pos in stream: File "build/bdist.linux-x86_64/egg/genshi/core.py", line 288, in _ensure for event in stream: File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 605, in _include for event in stream: File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 378, in _match ctxt, start=idx + 1, **vars): File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 378, in _match ctxt, start=idx + 1, **vars): File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 378, in _match ctxt, start=idx + 1, **vars): File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 327, in _match for event in stream: File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 545, in _flatten for kind, data, pos in stream: File "build/bdist.linux-x86_64/egg/genshi/core.py", line 288, in _ensure for event in stream: File "build/bdist.linux-x86_64/egg/genshi/path.py", line 588, in _generate subevent = next() File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 605, in _include for event in stream: File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 327, in _match for event in stream: File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 316, in _strip event = next() File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 545, in _flatten for kind, data, pos in stream: File "build/bdist.linux-x86_64/egg/genshi/core.py", line 288, in _ensure for event in stream: File "build/bdist.linux-x86_64/egg/genshi/path.py", line 588, in _generate subevent = next() File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 605, in _include for event in stream: File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 316, in _strip event = next() File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 545, in _flatten for kind, data, pos in stream: File "build/bdist.linux-x86_64/egg/genshi/core.py", line 288, in _ensure for event in stream: File "build/bdist.linux-x86_64/egg/genshi/path.py", line 588, in _generate subevent = next() File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 605, in _include for event in stream: File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 316, in _strip event = next() File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 545, in _flatten for kind, data, pos in stream: File "build/bdist.linux-x86_64/egg/genshi/filters/i18n.py", line 177, in _generate for event in msgbuf.translate(gettext(msgbuf.format())): File "build/bdist.linux-x86_64/egg/genshi/filters/i18n.py", line 1029, in translate parts = parse_msg(string) File "build/bdist.linux-x86_64/egg/genshi/filters/i18n.py", line 1143, in parse_msg parts.append((stack[-1], string)) IndexError: list index out of range
Attachments (0)
Change History (4)
comment:1 by , 15 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 by , 15 years ago
Resolution: | duplicate |
---|---|
Severity: | normal → minor |
Status: | closed → reopened |
Ok, so let's keep those kind of tickets opened as a reminder to fix each specific error.
comment:4 by , 15 years ago
Owner: | set to |
---|
Note:
See TracTickets
for help on using tickets.
Duplicate of #9171… we're going to have a lot of these, unfortunately :-(
There's currently no other solution than to fix the messages.po catalog.