Closed Bug 628920 Opened 14 years ago Closed 14 years ago

[traceback] TypeError: 'unicode' object is not callable

Categories

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

defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED
5.12.7

People

(Reporter: stephend, Assigned: jbalogh)

References

()

Details

(Keywords: regression)

https://addons.allizom.org/en-US/firefox/personas/?sort=rating bombs out due to: 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/browse/views.py", line 287, in personas 'search_cat': 'personas'}) 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/browse/templates/browse/personas/grid.html", line 1, in top-level template code {% extends "browse/personas/base.html" %} File "/data/amo_python/www/preview/zamboni/apps/browse/templates/browse/personas/base.html", line 19, in top-level template code {{ secondary_categories(_('Personas'), 'browse.personas', categories, filter) }} 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/browse/templates/browse/personas/grid.html", line 13, in block "content" {{ persona_grid(addons.object_list) }} 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/persona_grid.html", line 2, in top-level template code {% cache addons %} File "/data/amo_python/www/preview/zamboni/apps/amo/ext.py", line 22, in _cache_support return sup(key, obj, timeout, extra, caller) File "/data/amo_python/www/preview/zamboni/vendor/src/django-cache-machine/caching/ext.py", line 74, in _cache_support return caching.base.cached_with(obj, caller, key, timeout) File "/data/amo_python/www/preview/zamboni/vendor/src/django-cache-machine/caching/base.py", line 282, in cached_with return cached(f, key, timeout) File "/data/amo_python/www/preview/zamboni/vendor/src/django-cache-machine/caching/base.py", line 262, in cached val = function() File "/data/amo_python/www/preview/zamboni/apps/addons/templates/addons/persona_grid.html", line 5, in template {{ persona_preview(addon.persona, size='small', details=True) }} 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/persona_preview.html", line 40, in top-level template code <a href="{{ url('reviews.list', addon.slug) }}"> TypeError: 'unicode' object is not callable
Assignee: nobody → jbalogh
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Verified FIXED; thanks, Jeff.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.