Closed
Bug 840100
Opened 11 years ago
Closed 11 years ago
[traceback] /ko/about Error KeyError: u'locale'
Categories
(Participation Infrastructure :: Phonebook, defect)
Participation Infrastructure
Phonebook
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mbrandt, Unassigned)
References
()
Details
Steps to reproduce: 0. Goto /ko/about on dev/stage/prod Actual: Traceback (most recent call last): File "/data/www/mozillians.org/mozillians/vendor/src/django/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/data/www/mozillians.org/mozillians/vendor/src/django/django/views/generic/simple.py", line 28, in direct_to_template return HttpResponse(t.render(c), content_type=mimetype) File "/data/www/mozillians.org/mozillians/vendor/src/jingo/jingo/__init__.py", line 189, in render return super(Template, self).render(context_dict) File "/usr/lib64/python2.6/site-packages/jinja2/environment.py", line 891, in render return self.environment.handle_exception(exc_info, True) File "/data/www/mozillians.org/mozillians/apps/phonebook/templates/phonebook/about.html", line 7, in top-level template code {% set nav_about = 'active' %} File "/data/www/mozillians.org/mozillians/templates/base.html", line 139, in top-level template code {% block main_content %}{% endblock %} File "/data/www/mozillians.org/mozillians/apps/phonebook/templates/phonebook/about.html", line 46, in block "main_content" {% trans privacy_policy_url=('http://www.mozilla.org/' File "/usr/lib64/python2.6/site-packages/jinja2/_markupsafe/__init__.py", line 98, in __mod__ return self.__class__(unicode.__mod__(self, arg)) File "/usr/lib64/python2.6/site-packages/jinja2/_markupsafe/__init__.py", line 212, in <lambda> __getitem__ = lambda s, x: _MarkupEscapeHelper(s.obj[x]) KeyError: u'locale'
Reporter | ||
Comment 1•11 years ago
|
||
A bit more context - this is being triggered by 'HTTP_FROM': 'googlebot(at)googlebot.com', who seems to really like us. I'm seeing quite a few of these tracebacks.
Comment 2•11 years ago
|
||
Milos can you please take a look on that? Seems that the Korean translation is outdated, which causes a 500. Thanks!
Flags: needinfo?(milos)
Comment 3•11 years ago
|
||
Giorgos, I fixed one key, let's see if this work. If so, please close the bug.
Flags: needinfo?(milos)
Comment 4•11 years ago
|
||
Looks good, thnx!
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•11 years ago
|
||
Wicked-good! Thank you Milos! QA verified on dev/stage/prod
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•