gnome-shell-google-calendar icon indicating copy to clipboard operation
gnome-shell-google-calendar copied to clipboard

Redirection error

Open seajulien opened this issue 12 years ago • 6 comments

Hi,

I tried your program, but I get an error... I can log, but I get the following return and nothing appears on the calendar


julien@MYCOMPUTER:~/gnome-shell-google-calendar$ ./gnome-shell-google-calendar.py Logging in as '[email protected]'... Traceback (most recent call last): File "./gnome-shell-google-calendar.py", line 457, in myserver = CalendarServer(client) File "./gnome-shell-google-calendar.py", line 197, in init self.calendars = self.get_calendars() File "./gnome-shell-google-calendar.py", line 246, in get_calendars feed = self.client.GetAllCalendarsFeed() File "/usr/lib/pymodules/python2.7/gdata/calendar/client.py", line 177, in get_all_calendars_feed *_kwargs) File "/usr/lib/pymodules/python2.7/gdata/calendar/client.py", line 124, in get_calendars_feed desired_class=desired_class, *_kwargs) File "/usr/lib/pymodules/python2.7/gdata/client.py", line 635, in get_feed *_kwargs) File "/usr/lib/pymodules/python2.7/gdata/client.py", line 299, in request *_kwargs) File "/usr/lib/pymodules/python2.7/gdata/client.py", line 299, in request *_kwargs) File "/usr/lib/pymodules/python2.7/gdata/client.py", line 299, in request *_kwargs) File "/usr/lib/pymodules/python2.7/gdata/client.py", line 299, in request **kwargs) File "/usr/lib/pymodules/python2.7/gdata/client.py", line 305, in request response, RedirectError) gdata.client.RedirectError: Too many redirects from server: 302, <HTML>

Moved Temporarily

Moved Temporarily

The document has moved <A HREF="https://www.google.com/calendar/feeds/default/allcalendars/full?gsessionid=rcgkNUMqMKY8Yx9Q3DdpHw">here</A>.

##

I'm not the only one encountering the issue : http://askubuntu.com/questions/116041/help-with-installing-gnome-shell-google-calendar-extension (see answer at the first comment)

I've no idea on what to do to make it work.

Thanks for your job, nice extension (hope I'll be able to run it)

seajulien avatar Apr 09 '12 20:04 seajulien

Ooops, the HTML is interpreted on github :s

It removed the end of the issue, I was saying that at least another people is experiencing : http://askubuntu.com/questions/116041/help-with-installing-gnome-shell-google-calendar-extension

Hope I'll be able to run it, seems good extension

seajulien avatar Apr 09 '12 20:04 seajulien

I'm sorry, but I have no idea whats going on there and I have no way of recreating this error. I believe that it's gdata module problem.

vintitres avatar May 02 '12 09:05 vintitres

The script worked beautifully for me for about 2 months on Fedora 17 x64, then I began to get this redirection error. I went into Gnome Online Accounts and toggled Calendar syncing off and back on again, and now it appears to work. Perhaps just a hiccup.

rkingsbury avatar Jun 30 '12 11:06 rkingsbury

I confirm the same error in Fedora 17 and the same fix...

paoloantinori avatar Aug 30 '12 10:08 paoloantinori

vintitres, this issue is reproducible by quiting and rerunning the program over and over. I can get it to happen after a few tries.

jayr0d avatar Oct 29 '12 02:10 jayr0d

If you get the redirect error, you need to patch your gdata which is broken in Ubuntu currently: http://code.google.com/p/gdata-python-client/issues/detail?id=268#c18

cloudburst avatar Feb 04 '14 01:02 cloudburst