Crash if Google login doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygpal |
Confirmed
|
Medium
|
Adam J. Lincoln |
Bug Description
If Google's servers don't respond right, pygpal crashes with:
Traceback (most recent call last):
File "./pygpal.py", line 341, in ?
pygpal = Pygpal()
File "./pygpal.py", line 61, in __init__
curses.
File "/usr/lib/
return func(stdscr, *args, **kwds)
File "./pygpal.py", line 130, in interactive_
calendar_
File "/home/
return self.remotewrap
File "/home/
feed = self.service.
File "/usr/local/
return self.Get(uri, converter=
File "/usr/local/
encoding=
File "/usr/local/
raise RequestError, {'status': server_
gdata.service.
This is probably best solved by creating a "local-only" or offline mode separately, then catching this exception and forcing offline mode when it's seen.