Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [...]
- Traceback (most recent call last):
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
- return self.wsgi_app(environ, start_response)
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/werkzeug/wsgi.py", line 639, in __call__
- return app(environ, start_response)
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
- return self.wsgi_app(environ, start_response)
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
- response = self.make_response(self.handle_exception(e))
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
- reraise(exc_type, exc_value, tb)
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
- response = self.full_dispatch_request()
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
- reraise(exc_type, exc_value, tb)
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
- rv = self.dispatch_request()
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
- return self.view_functions[rule.endpoint](**req.view_args)
- File "/home/cristian/extra/wtosm/dev/app/wiki.py", line 312, in preview
- if mwoauth.get_current_user(False) is None:
- File "build/bdist.linux-x86_64/egg/flask_mwoauth/__init__.py", line 151, in get_current_user
- data = self.request({'action': 'query', 'meta': 'userinfo'})
- File "build/bdist.linux-x86_64/egg/flask_mwoauth/__init__.py", line 144, in request
- content_type="text/plain").data
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/Flask_OAuthlib-0.9.3-py2.7.egg/flask_oauthlib/client.py", line 397, in post
- return self.request(*args, **kwargs)
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/Flask_OAuthlib-0.9.3-py2.7.egg/flask_oauthlib/client.py", line 457, in request
- url, http_method=method, body=data, headers=headers
- File "build/bdist.linux-x86_64/egg/oauthlib/oauth1/rfc5849/__init__.py", line 283, in sign
- CONTENT_TYPE_FORM_URLENCODED))
- ValueError: Body contains parameters but Content-Type header was text/plain instead of application/x-www-form-urlencoded
- 127.0.0.1 - - [05/Jul/2016 20:25:11] "GET /app/login?next=%2Fwtosm%2Fapp%2Flogin%2Fsuccess HTTP/1.1" 302 -
- 127.0.0.1 - - [05/Jul/2016 20:25:14] "GET /?oauth_verifier=2ec2ed4b4931037e6893fd22399eac54&oauth_token=dad76b2c5205a52a4b957090aa21b8eb HTTP/1.1" 302 -
- 127.0.0.1 - - [05/Jul/2016 20:25:15] "GET /app/oauth-callback?oauth_verifier=2ec2ed4b4931037e6893fd22399eac54&oauth_token=dad76b2c5205a52a4b957090aa21b8eb HTTP/1.1" 500 -
- Traceback (most recent call last):
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
- return self.wsgi_app(environ, start_response)
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/werkzeug/wsgi.py", line 639, in __call__
- return app(environ, start_response)
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
- return self.wsgi_app(environ, start_response)
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
- response = self.make_response(self.handle_exception(e))
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
- reraise(exc_type, exc_value, tb)
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
- response = self.full_dispatch_request()
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
- reraise(exc_type, exc_value, tb)
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
- rv = self.dispatch_request()
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
- return self.view_functions[rule.endpoint](**req.view_args)
- File "build/bdist.linux-x86_64/egg/flask_mwoauth/__init__.py", line 90, in oauth_authorized
- username = self.get_current_user(False)
- File "build/bdist.linux-x86_64/egg/flask_mwoauth/__init__.py", line 151, in get_current_user
- data = self.request({'action': 'query', 'meta': 'userinfo'})
- File "build/bdist.linux-x86_64/egg/flask_mwoauth/__init__.py", line 144, in request
- content_type="text/plain").data
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/Flask_OAuthlib-0.9.3-py2.7.egg/flask_oauthlib/client.py", line 397, in post
- return self.request(*args, **kwargs)
- File "/home/cristian/.virtualenvs/wtosm/lib/python2.7/site-packages/Flask_OAuthlib-0.9.3-py2.7.egg/flask_oauthlib/client.py", line 457, in request
- url, http_method=method, body=data, headers=headers
- File "build/bdist.linux-x86_64/egg/oauthlib/oauth1/rfc5849/__init__.py", line 283, in sign
- CONTENT_TYPE_FORM_URLENCODED))
- ValueError: Body contains parameters but Content-Type header was text/plain instead of application/x-www-form-urlencoded
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement