Closed
Bug 842773
Opened 12 years ago
Closed 12 years ago
[traceback] IndexError: tuple index out of range (/ko/questions/769549)
Categories
(support.mozilla.org :: Questions, task, P1)
support.mozilla.org
Questions
Tracking
(Not tracked)
RESOLVED
FIXED
2013Q1
People
(Reporter: willkg, Assigned: willkg)
Details
(Whiteboard: u=user c=questions p=0 s=2013.4)
Stacktrace (most recent call last):
File "django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_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 "questions/views.py", line 227, in answers
return jingo.render(request, template, extra_kwargs)
File "jingo/__init__.py", line 75, in render
rendered = render_to_string(request, template, context)
File "jingo/__init__.py", line 93, in render_to_string
return template.render(get_context())
File "jingo/__init__.py", line 189, in render
return super(Template, self).render(context_dict)
File "jinja2/environment.py", line 891, in render
return self.environment.handle_exception(exc_info, True)
File "/data/www/support.mozilla.org/kitsune/apps/questions/templates/questions/answers.html", line 17, in top-level template code
{% set meta = (('robots', 'noindex'),) %}
File "/data/www/support.mozilla.org/kitsune/apps/questions/templates/questions/base.html", line 6, in top-level template code
{% set scripts = ('questions', 'libs/jqueryui') %}
File "/data/www/support.mozilla.org/kitsune/templates/base.html", line 169, in top-level template code
{% block content %}{% endblock %}
File "/data/www/support.mozilla.org/kitsune/apps/questions/templates/questions/answers.html", line 287, in block "content"
{% include "questions/includes/answer.html" %}
File "/data/www/support.mozilla.org/kitsune/apps/questions/templates/questions/includes/answer.html", line 18, in top-level template code
<span class="solutions">{{ _('{num} solutions')|f(num=answer.creator_num_solutions) }}</span>
File "jingo/helpers.py", line 26, in f
return string.format(*args, **kwargs)
| Assignee | ||
Comment 1•12 years ago
|
||
Another problem with locale strings:
#: apps/questions/templates/questions/includes/answer.html:18
msgid "{num} solutions"
msgstr "해결법 {0}"
#: apps/questions/templates/questions/includes/answer.html:19
msgid "{num} answers"
msgstr "답변 {0}"
Fixing it and committing it to svn.
Assignee: nobody → willkg
Priority: -- → P1
Whiteboard: u=user c=questions p=0 s=2013.4
Target Milestone: --- → 2013Q1
| Assignee | ||
Comment 2•12 years ago
|
||
This looks fixed now.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•