Closed Bug 644434 Opened 15 years ago Closed 13 years ago

[traceback] TypeError: install_button() takes exactly 2 arguments (3 given)

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stephend, Unassigned)

References

()

Details

https://addons.allizom.org/z/en-US/firefox/addons/smorgasbord bombs out with: Traceback (most recent call last): File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/data/amo_python/www/preview/zamboni/apps/addons/buttons.py", line 375, in smorgasbord {'addons': addons, 'beta': beta}) 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/smorgasbord.html", line 16, in top-level template code <blockquote>{{ addon.summary }}</blockquote> File "/data/amo_python/www/preview/zamboni/templates/base_side_categories.html", line 1, in top-level template code {% extends "base.html" %} File "/data/amo_python/www/preview/zamboni/templates/base.html", line 99, in top-level template code {% block main_content %} File "/data/amo_python/www/preview/zamboni/templates/base_side_categories.html", line 9, in block "main_content" {% block content %}{% endblock %} File "/data/amo_python/www/preview/zamboni/apps/addons/templates/addons/smorgasbord.html", line 24, in block "content" {{ item(addon) }} File "/data/amo_python/www/preview/zamboni/apps/addons/templates/addons/smorgasbord.html", line 12, in template {{ install_button(addon, version) }} TypeError: install_button() takes exactly 2 arguments (3 given)
Severity: normal → major
Flags: in-testsuite?
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.