Opened 15 years ago
Closed 15 years ago
#8872 closed defect (fixed)
TypeError: dugettext() takes exactly 2 arguments (3 given)
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 0.12 |
Component: | i18n | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
How to Reproduce
While doing a GET operation on /ticket/3134
, Trac issued an internal error.
Looks like NullTranslationsBabel
was never actually tested. No {{{self}} in methods.
Request parameters:
{'id': u'3134'}
User Agent was: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_0; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.27 Safari/532.5
User Agent was: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_0; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.27 Safari/532.5
System Information
Trac | 0.12multirepos-r8883
|
Python | 2.6.2 (r262:71600, Aug 21 2009, 12:22:21) [GCC 4.4.1 20090818 (Red Hat 4.4.1-6)]
|
setuptools | 0.6c9
|
psycopg2 | 2.0.13
|
Genshi | 0.6dev-r1092
|
Babel | 0.9.4
|
mod_python | 3.3.1
|
Pygments | 1.1.1
|
jQuery: | 1.3.2
|
jQuery: | 1.3.2
|
Python Traceback
Traceback (most recent call last): File "build/bdist.linux-i686/egg/trac/web/main.py", line 491, in _dispatch_request dispatcher.dispatch(req) File "build/bdist.linux-i686/egg/trac/web/main.py", line 245, in dispatch content_type) File "build/bdist.linux-i686/egg/trac/web/chrome.py", line 820, in render_template stream.render(method, doctype=doctype, out=buffer) File "build/bdist.linux-i686/egg/genshi/core.py", line 183, in render return encode(generator, method=method, encoding=encoding, out=out) File "build/bdist.linux-i686/egg/genshi/output.py", line 58, in encode for chunk in iterator: File "build/bdist.linux-i686/egg/genshi/output.py", line 339, in __call__ for kind, data, pos in stream: File "build/bdist.linux-i686/egg/genshi/output.py", line 826, in __call__ for kind, data, pos in stream: File "build/bdist.linux-i686/egg/genshi/output.py", line 670, in __call__ for kind, data, pos in stream: File "build/bdist.linux-i686/egg/genshi/output.py", line 771, in __call__ for kind, data, pos in chain(stream, [(None, None, None)]): File "build/bdist.linux-i686/egg/genshi/output.py", line 586, in __call__ for ev in stream: File "build/bdist.linux-i686/egg/genshi/core.py", line 288, in _ensure for event in stream: File "build/bdist.linux-i686/egg/genshi/core.py", line 288, in _ensure for event in stream: File "build/bdist.linux-i686/egg/trac/web/chrome.py", line 906, in _strip_accesskeys for kind, data, pos in stream: File "build/bdist.linux-i686/egg/genshi/core.py", line 288, in _ensure for event in stream: File "build/bdist.linux-i686/egg/trac/web/chrome.py", line 895, in _generate for kind, data, pos in stream: File "build/bdist.linux-i686/egg/genshi/core.py", li
Attachments (1)
Change History (4)
by , 15 years ago
Attachment: | trac-translate.patch added |
---|
comment:2 by , 15 years ago
Description: | modified (diff) |
---|---|
Milestone: | 0.12-multirepos → 0.12 |
Owner: | set to |
Looks like you're right ;-)
Patch to fix #8872