salimoha / googlecl

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

GoogleCL cannot locate Discovery services on OS X Lion #424

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1) Install GoogleCL using the instructions here: 
http://code.google.com/p/googlecl/wiki/DiscoveryManual

2) Run the following command line: google help

I would expect to see all of the Discovery services listed, but instead all 
that appears is:

    The available services are 
    'picasa', 'blogger', 'youtube', 'docs', 'contacts', 'calendar', 'finance'

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

OS X Lion 10.7.1, Python 2.7.1, googlecl==0.9.13 (from svn), 
gdata-2.0.14-py2.7.egg, google_api_python_client-1.0beta4-py2.7.egg

Please provide any additional information below.

The problem seems to be that Python 2.7 doesn't include simplejson, so "from 
googlecl.discovery import DiscoveryManager" fails with "ImportError: No module 
named simplejson". But the try/except block at 
http://www.google.com/codesearch#EPUFYSpMhDU/trunk/src/google.py&q=try:%20packag
e:http://googlecl%5C.googlecode%5C.com&type=cs&l=57 swallows the error, so you 
never see it.

Original issue reported on code.google.com by wsful...@gmail.com on 17 Sep 2011 at 1:46