Modify ↓
Opened 13 years ago
Closed 13 years ago
#10618 closed defect
KeyError: 5
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Como Reproduzir
Enquanto executava a operação GET em /wiki/TracGuide
, o Trac lançou um erro interno.
(por favor forneça detalhes adicionais aqui)
Parâmetros Requisitados:
{'page': u'TracGuide'}
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11
Informações do Sistema
Informações do sistema não disponíveis
Plugins Habilitados
Informações de Plugin não disponíveis
Python Traceback
Traceback (most recent call last): File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 478, in _dispatch_request dispatcher.dispatch(req) File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 217, in dispatch content_type) File "build/bdist.linux-x86_64/egg/trac/web/chrome.py", line 1022, in render_template encoding='utf-8') 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 1136, 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 1125, 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 1037, in translate events = self.events[order] KeyError: 5
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Duplicate of #10610.
For the record, this seems to be the
pt_BR
translation. I'll remove the offending translation to avoid the error.