Closed Bug 751746 Opened 13 years ago Closed 13 years ago

[traceback] UndefinedError: 'None' has no attribute 'is_compatible'

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2012-05-10

People

(Reporter: krupa.mozbugs, Assigned: cvan)

References

()

Details

steps to reproduce: 1. Load https://addons.mozilla.org/en-US/firefox/search/?page=565 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 "mobility/decorators.py", line 23, in wrapper return f(request, *args, **kw) File "django/views/decorators/vary.py", line 19, in inner_func response = func(*args, **kwargs) File "search/views.py", line 691, in search return jingo.render(request, template, ctx) 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/search/templates/search/results.html", line 58, in top-level template code cnt)|f(cnt|numberfmt)|safe }} File "/data/www/addons.mozilla.org/zamboni/templates/impala/base_shared.html", line 4, in top-level template code {% extends 'impala/base.html' %} File "/data/www/addons.mozilla.org/zamboni/templates/impala/base.html", line 186, in top-level template code {% block main_content %} File "/data/www/addons.mozilla.org/zamboni/templates/impala/base.html", line 191, in block "main_content" {% block content %}{% endblock %} File "/data/www/addons.mozilla.org/zamboni/apps/search/templates/search/results.html", line 97, in block "content" {% include "search/results_inner.html" %} File "/data/www/addons.mozilla.org/zamboni/apps/search/templates/search/results_inner.html", line 5, in top-level template code {{ impala_addon_listing_items(pager.object_list, field=query.sort, File "jingo/__init__.py", line 148, in wrapper t = env.get_template(template).render(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/addons/templates/addons/impala/listing/items.html", line 2, in top-level template code {% cache addons %} File "amo/ext.py", line 18, in _cache_support return caller() File "/data/www/addons.mozilla.org/zamboni/apps/addons/templates/addons/impala/listing/items.html", line 35, in template {{ install_button(addon, impala=True, collection=collection) }} File "addons/buttons.py", line 52, in install_button base = _install_button(context, addon, **kwargs) File "addons/buttons.py", line 45, in _install_button t = jingo.render_to_string(request, template, c) 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/addons/templates/addons/impala/button.html", line 74, in top-level template code {% with reasons=version.is_compatible[1] %} File "jinja2/environment.py", line 352, in getitem return obj[argument] UndefinedError: 'None' has no attribute 'is_compatible'
Assignee: nobody → cvan
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → 6.5.3
Target Milestone: 6.5.3 → 6.5.4
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.