Closed
Bug 786765
Opened 13 years ago
Closed 11 years ago
[traceback] TypeError: unsupported operand type(s) for %: 'NoneType' and 'int'
Categories
(addons.mozilla.org Graveyard :: Admin/Editor Tools, defect)
addons.mozilla.org Graveyard
Admin/Editor Tools
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: krupa.mozbugs, Unassigned)
References
()
Details
(Whiteboard: [contribute])
steps to reproduce:
1. Load https://addons.mozilla.org/pl/editors/queue/nominated?page=2
traceback details:
Stacktrace (most recent call last):
File "django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "amo/decorators.py", line 29, in wrapper
return func(request, *args, **kw)
File "editors/views.py", line 71, in wrapper
return f(request, *args, **kw)
File "editors/views.py", line 359, in queue_nominated
return _queue(request, ViewFullReviewQueueTable, 'nominated')
File "editors/views.py", line 316, in _queue
search_form=search_form))
File "jingo/__init__.py", line 80, in render
rendered = render_to_string(request, template, context)
File "jingo/__init__.py", line 98, in render_to_string
return template.render(**get_context())
File "jinja2/environment.py", line 891, in render
return self.environment.handle_exception(exc_info, True)
File "/data/www/addons.mozilla.org/zamboni/apps/editors/templates/editors/queue.html", line 1, in top-level template code
{% extends "editors/base.html" %}
File "/data/www/addons.mozilla.org/zamboni/apps/editors/templates/editors/base.html", line 8, in top-level template code
{% set hide_header = True %}
File "/data/www/addons.mozilla.org/zamboni/templates/base.html", line 112, in top-level template code
{% block main_content %}
File "/data/www/addons.mozilla.org/zamboni/templates/base.html", line 115, in block "main_content"
{% block content %}{% endblock %}
File "/data/www/addons.mozilla.org/zamboni/apps/editors/templates/editors/queue.html", line 154, in block "content"
{% for value in row %}
File "django_tables/base.py", line 347, in __iter__
for value in self.values:
File "django_tables/base.py", line 382, in _get_values
yield self[column.name]
File "django_tables/base.py", line 358, in __getitem__
return render_func(self.data)
File "editors/helpers.py", line 267, in render_waiting_time_min
row.waiting_time_days).format(row.waiting_time_days)
File "tower/__init__.py", line 38, in ungettext
ret = django_nugettext(singular, plural, number)
File "django/utils/translation/__init__.py", line 84, in ungettext
return _trans.ungettext(singular, plural, number)
File "django/utils/translation/trans_real.py", line 316, in ungettext
return do_ntranslate(singular, plural, number, 'ungettext')
File "django/utils/translation/trans_real.py", line 298, in do_ntranslate
return getattr(t, translation_function)(singular, plural, number)
File "python2.6/gettext.py", line 411, in ungettext
tmsg = self._catalog[(msgid1, self.plural(n))]
File "string>", line 1, in <lambda>
sentry:
http://sentry.dmz.phx1.mozilla.com/addons/group/2165/
Updated•12 years ago
|
Whiteboard: [contribute]
Comment 1•11 years ago
|
||
Krupa: the sentry page returns a 404 and I'm not allowed to see the page on amo, any chance to try to reproduce it?
Flags: needinfo?(krupa.mozbugs)
| Reporter | ||
Comment 2•11 years ago
|
||
https://addons.mozilla.org/pl/editors/queue/nominated?page=2 loads just fine.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(krupa.mozbugs)
Resolution: --- → WORKSFORME
| Assignee | ||
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•