Closed Bug 671129 Opened 13 years ago Closed 13 years ago

[traceback] UndefinedError: 'addons' is undefined

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: krupa.mozbugs, Unassigned)

References

()

Details

steps to reproduce: 1. User is not logged in 2. Load https://addons.allizom.org/z/en-US/firefox/i/ traceback details: 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/views.py", line 428, in impala_home 'src': 'homepage', 'collections': collections}) File "/data/amo_python/www/preview/zamboni/vendor/src/jingo/jingo/__init__.py", line 79, in render rendered = render_to_string(request, template, context) File "/data/amo_python/www/preview/zamboni/vendor/src/jingo/jingo/__init__.py", line 97, 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/impala/home.html", line 8, in top-level template code {% set view_all = { File "/data/amo_python/www/preview/zamboni/templates/impala/base.html", line 141, in top-level template code {% block main_content %} File "/data/amo_python/www/preview/zamboni/templates/impala/base.html", line 146, in block "main_content" {% block content %}{% endblock %} File "/data/amo_python/www/preview/zamboni/apps/addons/templates/addons/impala/home.html", line 38, in block "content" {% cache popular %} 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 285, in cached_with return cached(f, key, timeout) File "/data/amo_python/www/preview/zamboni/vendor/src/django-cache-machine/caching/base.py", line 265, in cached val = function() File "/data/amo_python/www/preview/zamboni/apps/addons/templates/addons/impala/home.html", line 68, in template {{ personas|impala_persona_grid }} File "/data/amo_python/www/preview/zamboni/vendor/src/jingo/jingo/__init__.py", line 147, 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/impala/persona_grid.html", line 1, 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 276, in cached_with else obj.cache_key) UndefinedError: 'addons' is undefined
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
No tracebacks anymore.
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.