Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't list contacts #265

Closed
wjhendr opened this issue Sep 5, 2017 · 4 comments
Closed

Can't list contacts #265

wjhendr opened this issue Sep 5, 2017 · 4 comments

Comments

@wjhendr
Copy link

wjhendr commented Sep 5, 2017

Hello,

I just cloned (version 0.9.15) and installed. When prompted at first run, I entered:

Please specify user: *********@gmail.com
Please specify title: contacts

I then got my auth code from a browser, pasted it in, and it got accepted:

Successfully retrieved access token

I cannot list contacts, though:

google contacts list

The above command gives the error:

AttributeError: 'ContactsService' object has no attribute 'GetContacts'

What is the problem? Probably something I'm doing/not doing, but googling and searching here yielded nothing.

Thanks

@vinitkumar
Copy link
Owner

@wjhendr thanks for reporting this issue. The underlying library has been upgraded but not all code is updated in this tool. It's a problem at our end. I will try to fix this. Please look out for this issue, when done, I will put the update here.

@vinitkumar
Copy link
Owner

vinitkumar commented Sep 5, 2017

@bjornpagen
Copy link

Similar problems here:

~/download/googlecl master 
❯ python2 src/google.py docs list

Refreshing access_token
Traceback (most recent call last):
  File "src/google.py", line 956, in <module>
    main()
  File "src/google.py", line 942, in main
    run_once(options, args)
  File "src/google.py", line 735, in run_once
    raise run_error
AttributeError: 'DocsService' object has no attribute 'get_folder'

@vinitkumar
Copy link
Owner

@wjhendr Bug from my side to get the oauth2 getting to work somehow. The new rewrite will resolve this. Keep an eye on #274.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants