libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saumya Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LIBCLOUD-931) Unable to download object as stream using download_object_as_stream method for OpenStack Swift.
Date Thu, 13 Jul 2017 05:07:00 GMT

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

Saumya Gupta commented on LIBCLOUD-931:
---------------------------------------

Any update or patch regarding the solution to the issue mentioned.

> Unable to download object as stream using download_object_as_stream method for OpenStack
Swift.
> -----------------------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-931
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-931
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Storage
>         Environment: The running environment is Windows Server 2008 R2 using PyCharm
IDE with Python 2.7 and Python 3.6 configured on the machine.
>            Reporter: Saumya Gupta
>              Labels: patch, performance, windows
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> HI,
> I am unable to download object as stream from the OpenStack Swift storage as when i try
to run the "download_object_as_stream" method by passing object_instance and chunk size, on
Python 2.7 environment, and when i try to iterate the generator object returned it is giving
me an error message as:
> "HttpLibResponseProxy' object has no attribute 'next'".
> And when i change the execution environment to Python 3.6, it is giving me the error
as:
> "'HttpLibResponseProxy' object is not an iterator"
> And as per my understanding the read_in_chunk callback method is throwing this exception,
but don't know the reason exactly, whether it a problem with execution environment or anything
else.
> Please try to provide a solution/patch/approach to resolve this issue.
> Regads,
> Saumya gupta



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message