libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LIBCLOUD-639) Python 3 Error: "Invalid argument %r for b()" when using upload_object_via_stream
Date Tue, 09 Dec 2014 12:42:12 GMT

    [ https://issues.apache.org/jira/browse/LIBCLOUD-639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14239358#comment-14239358
] 

ASF subversion and git services commented on LIBCLOUD-639:
----------------------------------------------------------

Commit 8fe3e4055d8479c2ccaebff45bf0071890639f8c in libcloud's branch refs/heads/trunk from
[~pzrq]
[ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=8fe3e40 ]

[LIBCLOUD-639] Fix upload_object_via_stream so it works correctly
under Python 3.x if user manually passes an iterator to the method.

Closes #408

Signed-off-by: Tomaz Muraus <tomaz@apache.org>


> Python 3 Error: "Invalid argument %r for b()" when using upload_object_via_stream
> ---------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-639
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-639
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Storage
>            Reporter: Peter Schmidt
>            Priority: Minor
>         Attachments: 639_bytes_iterator.patch
>
>
> Workaround is to use upload_object() after saving the file to the local filesystem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message