Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-43

Crash in putheader() due to integer Content-Length

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.3.0
    • 0.3.0
    • Core
    • None
    • Python 2.7

    Description

      Traceback:
      images = self.list_images()
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/apache_libcloud-0.4.0-py2.7.egg/libcloud/drivers/rackspace.py", line 193, in list_images
      return self._to_images(self.connection.request('/images/detail').object)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/apache_libcloud-0.4.0-py2.7.egg/libcloud/drivers/rackspace.py", line 147, in request
      method=method, headers=headers
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/apache_libcloud-0.4.0-py2.7.egg/libcloud/base.py", line 433, in request
      headers=headers)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 946, in request
      self._send_request(method, url, body, headers)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 986, in _send_request
      self.putheader(hdr, value)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 924, in putheader
      str = '%s: %s' % (header, '\r\n\t'.join(values))
      TypeError: sequence item 0: expected string, int found

      Attachments

        Activity

          People

            jsmith James Smith
            jsmith James Smith
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: