Re: Issue 167 in googlecl: 302 Redirect RequestError -- Moved Temporarily

21 views
Skip to first unread message

goog...@googlecode.com

unread,
Oct 17, 2010, 6:21:25 AM10/17/10
to google...@googlegroups.com

Comment #13 on issue 167 by quindo: 302 Redirect RequestError -- Moved
Temporarily
http://code.google.com/p/googlecl/issues/detail?id=167

Both on my guruplug (debian sid/armel) as on my ubuntu system (10.10 i686).
On both the the same documents have this problem. Via the website these
documents can be accessed without trouble

Version of Gdata : python-gdata 2.0.8-1.1
Version of GoogleCL: googlecl 0.9.11-1
Operating System: Linux guruplug 2.6.33.5, armv5tel GNU/Linux, debian sid
Type of Google account : Apps
Command that triggers the error : google docs get "doctitle"


Version of Gdata : python-gdata 2.0.8-1.1
Version of GoogleCL: googlecl 0.9.11-1
Operating System: 2.6.35-22-generic #34-Ubuntu SMP Sun Oct 10 09:24:00 UTC
2010 i686 GNU/Linux
Type of Google account : Apps
Command that triggers the error : google docs get "doctitle"


goog...@googlecode.com

unread,
Oct 29, 2010, 1:51:19 AM10/29/10
to google...@googlegroups.com
Updates:
Status: Feedback

Comment #14 on issue 167 by tom.h.mi...@gmail.com: 302 Redirect

Attached is a patch against 0.9.11 that will force GoogleCL to retry the
operation when it encounters a 302 error. You can change the number of
attempts with the "max_retries" configuration file option (0 for infinite
attempts), and set a delay between retries with the "retry_delay"
configuration file option (0 for no delay, 0.5 for a half second delay,
etc.).

I don't think this patch will fix everything, definitely not if you have a
100% reproducible error, but I've noticed an improvement in Calendar.
Hopefully it will help with the docs errors as well. Let me know if the
patch helps (or hurts)!

I highly recommend also upgrading to the latest gdata. There's a how-to in
the wiki's FAQ page.

(This patch is also applied in the trunk).

Attachments:
simple_redirect_patch.py 7.8 KB

goog...@googlecode.com

unread,
Mar 2, 2011, 9:35:06 PM3/2/11
to google...@googlegroups.com

Comment #15 on issue 167 by tom.h.mi...@gmail.com: 302 Redirect

Issue 371 has been merged into this issue.

goog...@googlecode.com

unread,
Mar 17, 2011, 8:05:37 PM3/17/11
to google...@googlegroups.com

Comment #16 on issue 167 by david.sh...@gmail.com: 302 Redirect

Version of Gdata (aka gdata-python-client, aka python-gdata)
Version of GoogleCL
Operating System
Type of Google account (regular, Apps, or Premiere. If you don't know, it's
probably regular).
Command that triggers the error (e.g. $ google calendar add --cal
wishlist "Figured out 302 error")

goog...@googlecode.com

unread,
Apr 30, 2012, 1:54:17 AM4/30/12
to google...@googlegroups.com

Comment #17 on issue 167 by mitch.sp...@gmail.com: 302 Redirect
python-gdata 2.0.14 (I think, simply installed from Ubuntu repos for
pangolin)
google 0.9.13
Linux (Ubuntu 12.04)
regular account

google calendar --cal MM2 add "Mitch Humpherys 13 Mar yearly" # doesn't do
it every time


goog...@googlecode.com

unread,
Apr 27, 2013, 3:57:44 PM4/27/13
to google...@googlegroups.com

Comment #18 on issue 167 by brooks...@gmail.com: 302 Redirect RequestError
Any chance this is going to be fixed, almost 3 years later?

For what it's worth:
Version of Gdata: Whatever comes with the Windows package.
Version of GoogleCL: 0.9.14
Operating System: Windows
Type of Google account: Regular & Apps.
Command that triggers the error: google.exe calendar --cal Testing
--reminder 1d add "Testing Friday".

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

goog...@googlecode.com

unread,
Apr 30, 2013, 10:11:04 PM4/30/13
to google...@googlegroups.com

Comment #19 on issue 167 by jh...@google.com: 302 Redirect RequestError --
Moved Temporarily
http://code.google.com/p/googlecl/issues/detail?id=167

Has anyone tried Tom's patch and found it to work?

goog...@googlecode.com

unread,
Aug 20, 2013, 4:52:41 PM8/20/13
to google...@googlegroups.com

Comment #20 on issue 167 by torsten....@gmail.com: 302 Redirect
Tom's patch is a mere workaround. There shouldn't be 302er hickups in the
first place.

goog...@googlecode.com

unread,
Aug 29, 2013, 2:02:53 AM8/29/13
to google...@googlegroups.com

Comment #21 on issue 167 by pboulang...@gmail.com: 302 Redirect
Version of Gdata : gdata-2.0.18-py2.7.egg
Version of GoogleCL:
Operating System : Windows XP
Type of Google Account : regular
Command that triggers the error: google.exe calendar --cal Testing
--InsertEvent

goog...@googlecode.com

unread,
Oct 21, 2013, 2:05:52 PM10/21/13
to google...@googlegroups.com

Comment #22 on issue 167 by vivekjus...@gmail.com: 302 Redirect
This really kill me a lot. Is it fixed?

goog...@googlecode.com

unread,
Feb 7, 2014, 8:29:32 PM2/7/14
to google...@googlegroups.com

Comment #23 on issue 167 by aclar...@gmail.com: 302 Redirect RequestError
We're sorry, but your Gmail account is temporarily unavailable. We
apologize for the inconvenience and suggest trying again in a few minutes.
You can view the Apps Status Dashboard for the current status of the
service.

If the issue persists, please visit the Gmail Help Center >>

Try Again Sign Out

Hide Detailed Technical Info
Numeric Code: 167

goog...@googlecode.com

unread,
Mar 31, 2015, 10:08:33 PM3/31/15
to google...@googlegroups.com

Comment #24 on issue 167 by gopal.pa...@gmail.com: 302 Redirect
RequestError -- Moved Temporarily
https://code.google.com/p/googlecl/issues/detail?id=167

is this issue fixed? We have lot of impact on our product with this
annoying issue
Reply all
Reply to author
Forward
0 new messages