Kami opened a new pull request #1427: Ignore "[Errno 29] Illegal seek" errors 
which may arise when using "upload_object_via_stream"
URL: https://github.com/apache/libcloud/pull/1427
 
 
   This pull request updates ``upload_object_via_stream`` method so any 
``[Errno 29] Illegal seek`` error which is thrown by the 
``_hash_buffered_stream`` function is ignored.
   
   ## Background
   
   It looks like this regression has been inadvertently introduced in 
4053779e700e8674856876ee85e6ac954cf2df14 (#1326 - cc @gvengel - just a heads 
up).
   
   Some iterators such as PIPEs don't support seeking and in such case ``[Errno 
29] Illegal seek`` exception is thrown.
   
   In this context such exception is harmless so we should ignore it and 
proceed with hashing - this change does just that.
   
   Thanks to @perbu for reporting this issue.
   
   Closes #1424.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to