simonw / django-openid

A modern library for integrating OpenID with Django - incomplete, but really nearly there (promise)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in do_pick method in auth.py

claudep opened this issue · comments

I don't know exactly what's happening, but I'm getting this error from time to time:

Traceback (most recent call last):
File "/usr/local/www/gnomeweb/python-packages/django/core/handlers/base.py", line 100, in get_response
response = callback(request, _callback_args, *_callback_kwargs)
File "/var/www/djamnedlies/django_openid/consumer.py", line 157, in call
return router(request, path_override = rest_of_url)
File "/var/www/djamnedlies/django_openid/utils.py", line 67, in call
return self.handle(request, path_override)
File "/var/www/djamnedlies/django_openid/utils.py", line 64, in handle
return callback(request, _callback_args, *_callback_kwargs)
File "/var/www/djamnedlies/../djamnedlies/django_openid/auth.py", line 172, in do_pick
if not request.openid:

AttributeError: 'WSGIRequest' object has no attribute 'openid'