Closed
Bug 895424
Opened 11 years ago
Closed 11 years ago
[traceback] bad translated string for ko. (/ko/questions/953857)
Categories
(support.mozilla.org :: Questions, task, P1)
support.mozilla.org
Questions
Tracking
(Not tracked)
RESOLVED
FIXED
2013Q3
People
(Reporter: willkg, Assigned: willkg)
Details
(Whiteboard: u=user c=questions p=1 s=2013.14)
https://errormill.mozilla.org/support/support/group/41169/ Internal Server Error: /ko/questions/951624 Stacktrace (most recent call last): File "django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "newrelic/api/object_wrapper.py", line 216, in __call__ self._nr_instance, args, kwargs) File "newrelic/hooks/framework_django.py", line 475, in wrapper return wrapped(*args, **kwargs) File "mobility/decorators.py", line 23, in wrapper return f(request, *args, **kw) File "session_csrf/__init__.py", line 127, in wrapper response = f(request, *args, **kw) File "kitsune/questions/views.py", line 328, in answers return render(request, template, extra_kwargs) File "django/shortcuts/__init__.py", line 44, in render return HttpResponse(loader.render_to_string(*args, **kwargs), File "django/template/loader.py", line 176, in render_to_string return t.render(context_instance) File "jingo/__init__.py", line 193, in render return super(Template, self).render(context_dict) File "newrelic/api/object_wrapper.py", line 216, in __call__ self._nr_instance, args, kwargs) File "newrelic/api/function_trace.py", line 82, in dynamic_wrapper return wrapped(*args, **kwargs) File "jinja2/environment.py", line 891, in render return self.environment.handle_exception(exc_info, True) File "/data/www/support.mozilla.org/kitsune/kitsune/questions/templates/questions/answers.html", line 17, in top-level template code {% set meta = (('robots', 'noindex'),) %} File "/data/www/support.mozilla.org/kitsune/kitsune/questions/templates/questions/base.html", line 6, in top-level template code {% set scripts = ('questions', 'libs/jqueryui') %} File "/data/www/support.mozilla.org/kitsune/kitsune/sumo/templates/base.html", line 177, in top-level template code {% block content %}{% endblock %} File "/data/www/support.mozilla.org/kitsune/kitsune/questions/templates/questions/answers.html", line 56, in block "content" {% trans count=question.num_visits %} File "jinja2/_markupsafe/__init__.py", line 98, in __mod__ return self.__class__(unicode.__mod__(self, arg)) Sentry is showing a ? which isn't useful. I'm almost positive the error is coming from this: Warning: missing tokens: %(count)s msgid: "%(count)s view" msgid_plural: "%(count)s view" msgstr[0]: "%(count) 봄" Dennis shows that as a Warning because it doesn't know how to find malformed tokens. %(count) is a malformed token--it needs an 's' at the end. Right now there are 5.2k instances of this error and it means no one in the ko locale can read the support forum. Given that, making it a P1 and tossing it in this sprint.
Assignee | ||
Comment 1•11 years ago
|
||
Got tired of waiting on bug #895313, so I fixed it manually and committed it to svn: Committed revision 118220. Removing the depends. Pushing to prod now.
Assignee: nobody → willkg
No longer depends on: 895313
Assignee | ||
Comment 2•11 years ago
|
||
URL to reproduce the issue on -stage: https://support.allizom.org/ko/questions/963000?&mobile=0 And in prod: https://support.mozilla.org/ko/questions/963000?&mobile=0
Assignee | ||
Comment 3•11 years ago
|
||
Pushed to stage and prod and verified that it works in both places with the urls in comment #2. Marking as FIXED.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•