vinitkumar / googlecl

GoogleCL rewrite in __progress__
Other
324 stars 48 forks source link

Retry for server errors. #236

Closed vinitkumar closed 10 years ago

vinitkumar commented 10 years ago

From winm...@gmail.com on July 16, 2010 20:25:44

What steps will reproduce the problem? 1. Upload many files (picasa) What is the expected output? What do you see instead? Retry failed uploads.

Failed to upload de.09.02.07/slides/de.09.02.07 415.jpg. (500: Internal Server Error) Failed to upload IMG_3654.JPG. (500: Internal Server Error)

I also see 4XX errors as well, no retry. What version of the product are you using? On what operating system? What version of gdata-python-client (aka python-gdata)? googlecl_0.9.8-1_all.deb

apt-cache show python-gdata

Package: python-gdata Priority: extra Section: universe/python Installed-Size: 2040 Maintainer: Ubuntu Core Developers ubuntu-devel-discuss@lists.ubuntu.com Original-Maintainer: Gustavo Franco stratus@debian.org Architecture: all Version: 1.2.4-0ubuntu2 Depends: python, python-support (>= 0.90.0), python (>= 2.5) | python-celementtree | python-elementtree Filename: pool/universe/p/python-gdata/python-gdata_1.2.4-0ubuntu2_all.deb Size: 337940 MD5sum: acdc47fc2d2450121401c2ff182eb67c SHA1: e084331b46d3022cd827ae529e4ee13adb17aedb SHA256: 2776ffa9ea38f631a053397f9d63abe110cf3895503e1fe7b06c8313fe49b7f6 Description: Google Data Python client library The GData (Google data) APIs provide a simple protocol for reading and writing data on the web. . Each of the following Google services provides a Google data API:

Original issue: http://code.google.com/p/googlecl/issues/detail?id=228

vinitkumar commented 10 years ago

From tom.h.mi...@gmail.com on October 29, 2010 14:09:24

I believe r486 and r482 fix this problem. As of r487 , 500, 503, and 302 errors will be automatically retried, using the same process described in Issue 167 .

4xx issues are tricky, since they usually indicate a problem on GoogleCL's end, so a retry is a bad idea.

If you have any further problems, please let us know!

Status: Fixed