[ 
https://issues.apache.org/jira/browse/LIBCLOUD-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jed Smith resolved LIBCLOUD-43.
-------------------------------

    Resolution: Fixed

Resolved in r965538.

> Crash in putheader() due to integer Content-Length
> --------------------------------------------------
>
>                 Key: LIBCLOUD-43
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-43
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.3.0
>         Environment: Python 2.7
>            Reporter: Jed Smith
>            Assignee: Jed Smith
>            Priority: Critical
>             Fix For: 0.3.0
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to