Closed Bug 759607 Opened 12 years ago Closed 12 years ago

[traceback] AttributeError: 'NoneType' object has no attribute 'is_anonymous'

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2012-06-14

People

(Reporter: krupa.mozbugs, Assigned: cvan)

References

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 "addons/decorators.py", line 32, in wrapper return f(request, addon, *args, **kw) File "mkt/ratings/views.py", line 73, in review_list return jingo.render(request, 'ratings/listing.html', 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-dev.allizom.org/zamboni/mkt/ratings/templates/ratings/listing.html", line 4, in top-level template code {% set title = _('Reviews for {0}')|f(product.name) %} File "/data/www/addons-dev.allizom.org/zamboni/mkt/templates/mkt/base.html", line 42, in top-level template code data-user="{{ user_data(amo_user)|json }}" File "users/helpers.py", line 96, in user_data anonymous, currency, pre_auth = amo_user.is_anonymous(), 'USD', False AttributeError: 'NoneType' object has no attribute 'is_anonymous'
Priority: -- → P3
Assignee: nobody → cvan
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2012-06-14
You need to log in before you can comment on or make changes to this bug.