If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

[traceback] TypeError: not enough arguments for format string

VERIFIED FIXED in 5.12.7

Status

addons.mozilla.org Graveyard
Localization
VERIFIED FIXED
7 years ago
2 years ago

People

(Reporter: stephend, Assigned: clouserw)

Tracking

unspecified
5.12.7

Details

(URL)

(Reporter)

Description

7 years ago
(Wil, just filing this so I know when to resume testing via tools.)

https://addons.allizom.org/sl/firefox/addon/adblock-plus/ yields:

Traceback (most recent call last):

  File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/core/handlers/base.py", line 109, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/data/amo_python/www/preview/zamboni/apps/addons/views.py", line 51, in decorated
    return f(request, *args, **kwargs)

  File "/data/amo_python/www/preview/zamboni/apps/addons/decorators.py", line 22, in wrapper
    return f(request, addon, *args, **kw)

  File "/data/amo_python/www/preview/zamboni/apps/addons/views.py", line 73, in addon_detail
    return extension_detail(request, addon)

  File "/data/amo_python/www/preview/zamboni/apps/addons/views.py", line 138, in extension_detail
    return jingo.render(request, 'addons/details.html', data)

  File "/data/amo_python/www/preview/zamboni/vendor/src/jingo/jingo/__init__.py", line 78, in render
    rendered = render_to_string(request, template, context)

  File "/data/amo_python/www/preview/zamboni/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/amo_python/www/preview/zamboni/apps/addons/templates/addons/details.html", line 7, in top-level template code
    {% set previews = addon.previews.all() %}

  File "/data/amo_python/www/preview/zamboni/templates/base.html", line 94, in top-level template code
    {% block main_content %}

  File "/data/amo_python/www/preview/zamboni/templates/base.html", line 99, in block "main_content"
    {% block content %}{% endblock %}

  File "/data/amo_python/www/preview/zamboni/apps/addons/templates/addons/details.html", line 59, in block "content"
    {{ contribution(addon=addon, src='addon-detail') }}

  File "/data/amo_python/www/preview/zamboni/vendor/src/jingo/jingo/__init__.py", line 146, in wrapper
    t = env.get_template(template).render(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/amo_python/www/preview/zamboni/apps/addons/templates/addons/contribution.html", line 13, in top-level template code
    {% trans %}

  File "/usr/lib/python2.6/site-packages/markupsafe/__init__.py", line 98, in __mod__
    return self.__class__(unicode.__mod__(self, arg))

TypeError: not enough arguments for format string
(Assignee)

Comment 1

7 years ago
r81775
Assignee: nobody → clouserw
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

7 years ago
It's a new traceback now, for a different reason.

Verified FIXED.
Status: RESOLVED → VERIFIED
Target Milestone: --- → 5.12.7
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.