Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There are bits and pieces of information all over the place but I'm trying to put it all together so that GoogleCL finally accesses more than the initial 7 services. Does anyone know of a step-by-step?

Right now any attempt outside these result in the error message:

google tasks list

Did you specify the service correctly? Must be one of 'picasa', 'blogger', 'youtube', 'docs', 'contacts', 'calendar', 'finance'

I installed GoogleCL from the Ubuntu repos, authenticated a few bundled services like contacts, docs etc. and those work great, giving me access to do certain operations like upload from the command line.

I would really like to get it going to support tasks and all the other elegible Google services shown at

Here are some guides/partial steps I've found:

(indicates needing to check it out updated GoogleCL from the subversion repository.)

easy_install --upgrade google-api-python-client


$ google
> discovery list
Traceback (most recent call last):
  File "/usr/bin/google", line 488, in run_interactive
    run_once(options, args)
  File "/usr/bin/google", line 540, in run_once
  File "/usr/bin/google", line 364, in import_service
    force_gdata_v1 = config.lazy_get(package.SECTION_HEADER,
AttributeError: 'module' object has no attribute 'SECTION_HEADER'
share|improve this question

This workaround involves NOT using the .deb packaged GoogleCL:

/usr/local/src/googlecl-read-only/build/scripts-2.7/google tasks tasks list

was the alternative binary from svn that supported Services Discovery API. The example above tests the "Google Tasks" cli which is beyond the initial seven services supported by the Ubuntu distro GoogleCL.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.