salimoha / googlecl

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

All services stopped working #184

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A few days ago, I was able to access all services for the first few days after 
installation.  Now it suddenly results in the "KeyError" listed below.  I'm 
using gdata-2.0.10, googlecl-0.9.7, python 2.5, and Crgwin on windows XP.

$ google calendar add "test tomorrow"
Traceback (most recent call last):
  File "/usr/bin/google", line 463, in <module>
    main()
  File "/usr/bin/google", line 457, in main
    run_once(options, args)
  File "/usr/bin/google", line 324, in run_once
    token = googlecl.read_access_token(service, options.user)
  File "/usr/lib/python2.5/site-packages/googlecl/__init__.py", line 143, in read_access_token
    token_dict = pickle.load(token_file)
  File "/usr/lib/python2.5/pickle.py", line 1370, in load
    return Unpickler(file).load()
  File "/usr/lib/python2.5/pickle.py", line 858, in load
    dispatch[key](self)
KeyError: '\xdb'

Any ideas why this may have suddenly stopped working?  I've reinstalling gdata, 
googlecl, and python to no avail.

Thanks,
-Andrew

Original issue reported on code.google.com by andrewma...@gmail.com on 28 Jun 2010 at 6:23

GoogleCodeExporter commented 9 years ago
Looks like configuration is broken. Try to remove .googlecl directory in your 
home. It should work after that.

Original comment by bart...@gmail.com on 28 Jun 2010 at 7:26

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
That fixed it.  Thanks for your help.

Original comment by andrewma...@gmail.com on 28 Jun 2010 at 11:05

GoogleCodeExporter commented 9 years ago
Strange. I'll add a catch for something like this in the next revision.

Original comment by tom.h.mi...@gmail.com on 29 Jun 2010 at 5:21

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r311.

Original comment by tom.h.mi...@gmail.com on 29 Jun 2010 at 5:46

GoogleCodeExporter commented 9 years ago
r311 should make this occurrence less problematic.

Original comment by tom.h.mi...@gmail.com on 29 Jun 2010 at 5:47