vj57 / googlecl

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

0.9.12 version has some authentication problems in ubuntu 10.04 #359

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install 0.9.12 deb
2. try to access google calendar today
3. authentication fails

What is the expected output? What do you see instead?
it should ask me to grant access. After I grant access and go back to terminal 
and hit enter the googlecl fails:
Traceback (most recent call last):
  File "/usr/bin/google", line 839, in <module>
    main()
  File "/usr/bin/google", line 825, in main
    run_once(options, args)
  File "/usr/bin/google", line 605, in run_once
    authenticated = authenticate(auth_manager, options, config, section_header)
  File "/usr/bin/google", line 119, in authenticate
    valid_token = auth_manager.retrieve_access_token(display_name, browser)
  File "/usr/lib/pymodules/python2.6/googlecl/authentication.py", line 180, in retrieve_access_token
    self.client.current_token)
  File "/usr/lib/pymodules/python2.6/googlecl/authentication.py", line 255, in write_access_token
    with open(self.tokens_path, 'wb') as tokens_file:
IOError: [Errno 2] No such file or directory: 
'/home/*****/.local/share/googlecl/access_tok_*******

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?
Ubuntu 10.04

Please provide any additional information below.

I uninstalled and then installed older version 0.9.11 and got it working.

Original issue reported on code.google.com by mika.r.t...@gmail.com on 6 Feb 2011 at 7:18

GoogleCodeExporter commented 9 years ago
I should read other issues before posting. This is probably same problem as 352.

Original comment by mika.r.t...@gmail.com on 6 Feb 2011 at 7:21

GoogleCodeExporter commented 9 years ago
It happens :)

Original comment by tom.h.mi...@gmail.com on 14 Feb 2011 at 2:26