bernigaud / googlecl

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

oauth changes broke my install #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
$ ./google calendar today
Did not find config / preferences file at /home/[redacted]/.googlecl/config
Traceback (most recent call last):
  File "./google", line 339, in <module>
    main()
  File "./google", line 319, in main
    util.load_preferences()
  File "googlecl/util.py", line 682, in load_preferences
    with open(pref_path, 'w') as pref_file:
NameError: global name 'pref_path' is not defined

Original issue reported on code.google.com by credenti...@gmail.com on 9 Jun 2010 at 11:24

GoogleCodeExporter commented 9 years ago
Apparently need to improve the error message and handling. Rename 
/home/<name>/.googlecl/prefs to /home/<name>/.googlecl/config and you should be 
good.

Original comment by tom.h.mi...@gmail.com on 10 Jun 2010 at 1:54

GoogleCodeExporter commented 9 years ago
I was wrong - there is (was) a bug in the code. r164 squashes it.

Original comment by tom.h.mi...@gmail.com on 10 Jun 2010 at 2:06