Created
September 19, 2016 14:12
-
-
Save mayhem/10d3af332ca085714e0290428272a83f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2016-09-19 14:11:59,721] ERROR in app: Exception on /login/metabrainz/post [GET] | |
Traceback (most recent call last): | |
File "/home/office/office/venv/lib/python3.4/site-packages/flask/app.py", line 1988, in wsgi_app | |
response = self.full_dispatch_request() | |
File "/home/office/office/venv/lib/python3.4/site-packages/flask/app.py", line 1641, in full_dispatch_request | |
rv = self.handle_user_exception(e) | |
File "/home/office/office/venv/lib/python3.4/site-packages/flask/app.py", line 1544, in handle_user_exception | |
reraise(exc_type, exc_value, tb) | |
File "/home/office/office/venv/lib/python3.4/site-packages/flask/_compat.py", line 33, in reraise | |
raise value | |
File "/home/office/office/venv/lib/python3.4/site-packages/flask/app.py", line 1639, in full_dispatch_request | |
rv = self.dispatch_request() | |
File "/home/office/office/venv/lib/python3.4/site-packages/flask/app.py", line 1625, in dispatch_request | |
return self.view_functions[rule.endpoint](**req.view_args) | |
File "./office/login/__init__.py", line 39, in decorated | |
return f(*args, **kwargs) | |
File "./office/views/login.py", line 41, in metabrainz_post | |
mb_username, mb_email = metabrainz_login.get_user(code) | |
File "./office/login/metabrainz_login.py", line 36, in get_user | |
}, decoder=json.loads) | |
File "/home/office/office/venv/lib/python3.4/site-packages/rauth/service.py", line 556, in get_auth_session | |
session = self.get_session(self.get_access_token(method, **kwargs)) | |
File "/home/office/office/venv/lib/python3.4/site-packages/rauth/service.py", line 542, in get_access_token | |
access_token, = process_token_request(r, decoder, key) | |
File "/home/office/office/venv/lib/python3.4/site-packages/rauth/service.py", line 20, in process_token_request | |
data = decoder(r.content) | |
File "/usr/lib/python3.4/json/__init__.py", line 312, in loads | |
s.__class__.__name__)) | |
TypeError: the JSON object must be str, not 'bytes' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment