Libcloud
  1. Libcloud
  2. LIBCLOUD-43

Crash in putheader() due to integer Content-Length

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.3.0
    • Fix Version/s: 0.3.0
    • Component/s: Core
    • Labels:
      None
    • Environment:

      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

        Activity

        Jed Smith made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jed Smith created issue -

          People

          • Assignee:
            Jed Smith
            Reporter:
            Jed Smith
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development