Skip to content

KeyError at /complete/facebook/ when trying to sign in without verifying e-mail address #40

@mlowicki

Description

@mlowicki
Traceback:
File "/Users/mlowicki/Projects/buildout/eggs/Django-1.5.4-py2.7.egg/django/core/handlers/base.py" in get_response
  115.                         response = callback(request, *callback_args, **callback_kwargs)
File "/Users/mlowicki/Projects/buildout/eggs/Django-1.5.4-py2.7.egg/django/views/decorators/csrf.py" in wrapped_view
  77.         return view_func(*args, **kwargs)
File "/Users/mlowicki/Projects/buildout/eggs/python_social_auth-0.1.13-py2.7.egg/social/apps/django_app/utils.py" in wrapper
  32.             return func(request, backend, *args, **kwargs)
File "/Users/mlowicki/Projects/buildout/eggs/python_social_auth-0.1.13-py2.7.egg/social/apps/django_app/views.py" in complete
  25.                        redirect_name=REDIRECT_FIELD_NAME, *args, **kwargs)
File "/Users/mlowicki/Projects/buildout/eggs/python_social_auth-0.1.13-py2.7.egg/social/actions.py" in do_complete
  54.                                  *args, **kwargs)
File "/Users/mlowicki/Projects/buildout/eggs/python_social_auth-0.1.13-py2.7.egg/social/strategies/base.py" in complete
  71.         return self.backend.auth_complete(*args, **kwargs)
File "/Users/mlowicki/Projects/buildout/eggs/python_social_auth-0.1.13-py2.7.egg/social/backends/facebook.py" in auth_complete
  68.             'code': self.data['code']
File "/Users/mlowicki/Projects/buildout/eggs/Django-1.5.4-py2.7.egg/django/utils/datastructures.py" in __getitem__
  23.         raise KeyError

Exception Type: KeyError at /complete/facebook/
Exception Value: 

self.data is set to:

{u'redirect_state': u'[snap]', u'state': u'[snap]', u'error_message': u'Potwierd\u017a adres e-mail: Podany przez Ciebie adres e-mail zosta\u0142 ju\u017c zarejestrowany, ale Twoje konto nie zosta\u0142o jeszcze potwierdzone. Wkr\xf3tce otrzymasz wiadomo\u015b\u0107 e-mail z informacjami na temat sposobu potwierdzania konta.', u'error_code': u'1348058'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions