← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1213106] Re: TypeError: an integer is required

 

Reviewed:  https://review.openstack.org/50664
Committed: http://github.com/openstack/keystone/commit/c14ebd668f00b1d0c0f3c94fa331b2080d5ec053
Submitter: Jenkins
Branch:    milestone-proposed

commit c14ebd668f00b1d0c0f3c94fa331b2080d5ec053
Author: Jamie Lennox <jamielennox@xxxxxxxxxx>
Date:   Wed Oct 9 11:49:58 2013 +1000

    Don't use default value in LimitingReader
    
    We can't simply pass the None default on to the read operation as this
    default is handled differently between different wsgi implementations.
    
    Change-Id: I337e797b8dee3dfcf9299fe361cf197a176c8fe2
    Fixes: bug 1213106


** Changed in: keystone
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1213106

Title:
  TypeError: an integer is required

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  2013-08-16 13:20:10    ERROR [keystone.common.wsgi] an integer is required
  Traceback (most recent call last):
    File "/opt/keystone/keystone/common/wsgi.py", line 372, in __call__
      response = self.process_request(request)
    File "/opt/keystone/keystone/middleware/core.py", line 111, in process_request
      params_json = request.body
    File "/usr/lib/python2.7/dist-packages/webob/request.py", line 677, in _body__get
      self.make_body_seekable() # we need this to have content_length
    File "/usr/lib/python2.7/dist-packages/webob/request.py", line 922, in make_body_seekable
      self.copy_body()
    File "/usr/lib/python2.7/dist-packages/webob/request.py", line 938, in copy_body
      self.body = self.body_file_raw.read()
    File "/opt/keystone/keystone/common/utils.py", line 261, in read
      result = self.data.read(i)
  TypeError: an integer is required

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1213106/+subscriptions