Skip to content

Error when using oauthlib 0.6.3 #1

Description

@adrianmo

Error: argument of type 'NoneType' is not iterable: #012Traceback (most recent call last):#012 File "/home/swift/swift/swift/common/middleware/catch_errors.py", line 37, in handle_request#012 resp = self._app_call(env)#012 File "/home/swift/swift/swift/common/wsgi.py", line 388, in _app_call#012 resp = self.app(env, self._start_response)#012 File "/home/swift/swift/swift/common/middleware/healthcheck.py", line 57, in call#012 return self.app(env, start_response)#012 File "/home/swift/swift/swift/common/middleware/proxy_logging.py", line 268, in call#012 iterable = self.app(env, my_start_response)#012 File "/home/swift/swift/swift/common/middleware/memcache.py", line 67, in call#012 return self.app(env, start_response)#012 File "/home/swift/swift/swift/common/swob.py", line 1188, in _wsgify_self#012 return func(self, Request(env))(env, start_response)#012 File "/home/swift/swift/swift/common/middleware/slo.py", line 458, in call#012 return self.app(env, start_response)#012 File "/home/swift/swift/swift/common/middleware/ratelimit.py", line 266, in call#012 return self.app(env, start_response)#012 File "/home/swift/swift/swift/common/middleware/crossdomain.py", line 81, in call#012 return self.app(env, start_response)#012 File "/usr/local/lib/python2.7/dist-packages/python_keystoneclient-0.9.0-py2.7.egg/keystoneclient/middleware/auth_token.py", line 686, in call#012 return self.app(env, start_response)#012 File "/home/swift/swift/swift/common/middleware/keystoneauth.py", line 116, in call#012 return self.app(environ, start_response)#012 File "build/bdist.linux-x86_64/egg/stacksync_auth_swift/auth.py", line 67, in call#012 return self.app(environ, start_response)#012 File "/home/swift/swift/swift/common/middleware/staticweb.py", line 460, in call#012 return self.app(env, start_response)#012 File "/home/swift/swift/swift/common/swob.py", line 1188, in _wsgify_self#012 return func(self, Request(env))(env, start_response)#012 File "/home/swift/swift/swift/common/swob.py", line 1188, in _wsgify_self#012 return func(self, Request(env))(env, start_response)#012 File "/home/swift/swift/swift/common/middleware/proxy_logging.py", line 268, in call#012 iterable = self.app(env, my_start_response)#012 File "/home/swift/swift/swift/common/swob.py", line 1188, in _wsgify_self#012 return func(self, Request(env))(env, start_response)#012 File "build/bdist.linux-x86_64/egg/stacksync_api_swift/api.py", line 23, in call#012 response = self.authorize(req)#012 File "build/bdist.linux-x86_64/egg/stacksync_api_swift/api.py", line 53, in authorize#012 resp = req.environ'swift.authorize'#012 File "build/bdist.linux-x86_64/egg/stacksync_auth_swift/auth.py", line 74, in authorize#012 response = self.__request_token(req)#012 File "build/bdist.linux-x86_64/egg/stacksync_auth_swift/auth.py", line 87, in __request_token#012 headers=req.headers)#012 File "build/bdist.linux-x86_64/egg/oauthlib/oauth1/rfc5849/endpoints/request_token.py", line 95, in create_request_token_response#012 request = self._create_request(uri, http_method, body, headers)#012 File "build/bdist.linux-x86_64/egg/oauthlib/oauth1/rfc5849/endpoints/base.py", line 73, in _create_request#012 CONTENT_TYPE_FORM_URLENCODED in headers["Content-Type"]):#012TypeError: argument of type 'NoneType' is not iterable (txn: tx688d7ba74d4c4284ba268-00539f2d80)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions