Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logger raises error on AuthFailed #305

Closed
vitalyvolkov opened this issue Apr 3, 2012 · 1 comment
Closed

logger raises error on AuthFailed #305

vitalyvolkov opened this issue Apr 3, 2012 · 1 comment

Comments

@vitalyvolkov
Copy link

Hello

If user refuses access for network, e.g. linkedin, social auth raises exception instead of redirect user to url.

My environment is py27, django 1.4

I alse have attached traceback so you can easy define where error occurs.

Traceback (most recent call last):

  File "/var/www/.virtualenvs/mft/local/lib/python2.7/site-packages/django/core/han=
dlers/base.py", line 111, in get_response
    response =3D callback(request, *callback_args, **callback_kwargs)

  File "/var/www/.virtualenvs/mft/local/lib/python2.7/site-packages/django/views/de=
corators/csrf.py", line 39, in wrapped_view
    resp =3D view_func(*args, **kwargs)

  File "/var/www/.virtualenvs/mft/local/lib/python2.7/site-packages/django/views/de=
corators/csrf.py", line 52, in wrapped_view
    return view_func(*args, **kwargs)

  File "/var/www/.virtualenvs/mft/local/lib/python2.7/site-packages/social_auth/vie=
ws.py", line 56, in wrapper
    log('error', unicode(e), exc_info=3DTrue, extra=3D{

  File "/var/www/.virtualenvs/mft/local/lib/python2.7/site-packages/social_auth/bac=
kends/exceptions.py", line 44, in __unicode__
    msg =3D super(AuthFailed, self).__unicode__()

TypeError: super(type, obj): obj must be an instance or subtype of type
@omab omab closed this as completed in 3a3eb02 Apr 3, 2012
@omab
Copy link
Owner

omab commented Apr 3, 2012

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants