You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "Peter Schmidt (JIRA)" <ji...@apache.org> on 2014/12/09 01:18:13 UTC

[jira] [Updated] (LIBCLOUD-639) Python 3 Error: "Invalid argument %r for b()" when using upload_object_via_stream

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

Peter Schmidt updated LIBCLOUD-639:
-----------------------------------
    Attachment: 639_bytes_iterator.patch

It looks like the github bot doesn't comment here after the first change, so for info I added a regression test and some explanatory comments for the fill_size=True change which is included in the attached patch.

https://github.com/apache/libcloud/pull/408
https://github.com/apache/libcloud/pull/408/files

> 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)