salimoha / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Retry for server errors. #228

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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:
   * Base
   * Blogger
   * Calendar
   * Code Search
   * Contacts
   * Document List
   * Google Apps Provisioning
   * Notebook
   * Picasa Web Albums
   * Spreadsheets
   * YouTube
 .
 The Google data Python client library provides a library and source
 code that make it easy to access data through Google data APIs.
Homepage: http://code.google.com/p/gdata-python-client
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

Please provide any additional information below.

Original issue reported on code.google.com by winm...@gmail.com on 16 Jul 2010 at 2:55

GoogleCodeExporter commented 9 years ago
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!

Original comment by tom.h.mi...@gmail.com on 29 Oct 2010 at 9:09