ialbert/biostar-central — Issue #78: Unable to login via openid
Author: keithj
Created: 2012-03-02 08:21:23+00:00
State: open

I get this message:

AttributeError at /openid/complete/

'NoneType' object has no attribute 'strip'

Traceback:
File "/home/ialbert10/webapps/biostar_test_app/lib/python2.7/django/core/handlers/base.py" in get_response
111. response = callback(request, *callback_args, **callback_kwargs)
File "/home/ialbert10/webapps/biostar_test_app/lib/python2.7/django/views/decorators/csrf.py" in wrapped_view
39. resp = view_func(*args, **kwargs)
File "/home/ialbert10/webapps/biostar_test_app/lib/python2.7/django/views/decorators/csrf.py" in wrapped_view
52. return view_func(*args, **kwargs)
File "/home/ialbert10/webapps/biostar_test_app/biostar-central/libs/django_openid_auth/views.py" in login_complete
267. user = authenticate(openid_response=openid_response)
File "/home/ialbert10/webapps/biostar_test_app/lib/python2.7/django/contrib/auth/__init__.py" in authenticate
55. user = backend.authenticate(**credentials)
File "/home/ialbert10/webapps/biostar_test_app/biostar-central/libs/django_openid_auth/auth.py" in authenticate
78. user = self.create_user_from_openid(openid_response)
File "/home/ialbert10/webapps/biostar_test_app/biostar-central/libs/django_openid_auth/auth.py" in create_user_from_openid
261. user = User.objects.create_user(username, email, password=None)
File "/home/ialbert10/webapps/biostar_test_app/lib/python2.7/django/contrib/auth/models.py" in create_user
125. email_name, domain_part = email.strip().split('@', 1)

Exception Type: AttributeError at /openid/complete/
Exception Value: 'NoneType' object has no attribute 'strip'