Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
The running environment is Windows Server 2008 R2 using PyCharm IDE with Python 2.7 and Python 3.6 configured on the machine.
-
Important
Description
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