[traceback] KeyError: u'D'

VERIFIED FIXED in 2.4.3

Status

--
critical
VERIFIED FIXED
8 years ago
8 years ago

People

(Reporter: stephend, Assigned: atopal)

Tracking

unspecified
2.4.3

Firefox Tracking Flags

(Not tracked)

Details

(URL)

http://support.allizom.org/sl/kb/Dynamic%20variables-sl/discuss is bombing out:

Traceback (most recent call last):

  File "/data/www/support.mozilla.com/kitsune/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/data/www/support.mozilla.com/kitsune/apps/kbforums/views.py", line 75, in threads
    'feeds': feed_urls})

  File "/data/www/support.mozilla.com/kitsune/vendor/src/jingo/jingo/__init__.py", line 78, in render
    rendered = render_to_string(request, template, context)

  File "/data/www/support.mozilla.com/kitsune/vendor/src/jingo/jingo/__init__.py", line 96, in render_to_string
    return template.render(**get_context())

  File "/usr/lib/python2.6/site-packages/jinja2/environment.py", line 891, in render
    return self.environment.handle_exception(exc_info, True)

  File "/data/www/support.mozilla.com/kitsune/apps/kbforums/templates/kbforums/threads.html", line 4, in top-level template code
    {% set title = _('{d} Discussion | Knowledge Base')|f(d=document.title) %}

  File "/data/www/support.mozilla.com/kitsune/vendor/src/jingo/jingo/helpers.py", line 25, in f
    return string.format(*args, **kwargs)

KeyError: u'D'

(Prod too: http://support.mozilla.com/sl/kb/Dynamic%20variables-sl/discuss)
It's a localization error. Kadir has been notified already.
Component: Knowledge Base Software → Localization
QA Contact: kb-software → localization
Target Milestone: --- → 2.4.3
Assignee: nobody → a.topal
(Assignee)

Comment 2

8 years ago
Done by Vito: r81388
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Thx, verified fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.