New issue 463 by Ivan.Lez...@gmail.com: don't work with Google Documents on
Mac OS X Lion 10.7.3
http://code.google.com/p/googlecl/issues/detail?id=463
don't work with Google Documents on Mac OS X Lion 10.7.3
1. installed from Macports: googlecl @0.9.13, py27-gdata @2.0.15_0 (active)
2. #google docs list
Traceback (most recent call last):
File "/opt/local/bin/google", line 488, in run_interactive
run_once(options, args)
File "/opt/local/bin/google", line 540, in run_once
options.config)
File "/opt/local/bin/google", line 373, in import_service
service_module = import_at_runtime('googlecl.' + service + '.client')
File "/opt/local/bin/google", line 332, in import_at_runtime
return __import__(module, globals(), fromlist=['0'])
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/googlecl/docs/client.py",
line 47, in <module>
googlecl.client.BaseClientCL):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/googlecl/docs/client.py",
line 55, in DocsClientCL
DOCLIST_FEED_URI = gdata.docs.client.DOCLIST_FEED_URI
AttributeError: 'module' object has no attribute 'DOCLIST_FEED_URI'
3. work with Calendar, Contacs, YouTube, Blogger, Picasa, Finance
python gdata 2.0.15 had major undocumented changes. 2.0.14 should work for
you.
sudo port uninstall -f py27-gdata @2.0.15_0 got me so I can use #google
docs list
but when I try to use #google docs upload --no-convert /Users/me/my.pdf
I get
"Failed to upload
/Users/computerservices/Documents/scornn/2012/02-29-12-scornn.pdf: Server
responded with: 403, <errors
xmlns='http://schemas.google.com/g/2005'><error><domain>GData</domain><code>ServiceForbiddenException</code><internalReason>Files
must be uploaded using the resumable upload
mechanism.</internalReason></error></errors>
Only Apps Premier users can upload arbitrary file types without using the
Google Docs web uploader."
any ideas?
sudo port uninstall -f py27-gdata @2.0.15_0 got me so I can use #google
docs list
but when I try to use #google docs upload --no-convert /Users/me/my.pdf
I get
"Failed to upload /Users/me/my.pdf : Server responded with: 403, <errors
found it replace
/Library/Python/2.7/site-packages/googlecl-0.9.13-py2.7.egg/googlecl/docs/client.py
with file downloaded from
http://code.google.com/p/googlecl/source/browse/trunk/src/googlecl/docs/client.py?spec=svn593&r=589
Yes, it's fixed in svn. Sorry, we haven't done a new release yet. Some of
the discovery API code created other bugs (relating to command line
argument parsing) that haven't been fixed yet and that are holding us up.
I have the following packages installed using python-gdata 2.0.14 and it
isn't working for me. Please advise.
ms@ny:~$ dpkg --list | grep gdata
ii libgdata-commo 0.9.1-0ubuntu2 Library for accessing GData webservices -
co
rc libgdata-googl 2.30.3-2ubuntu Client library for accessing Google POA
thro
rc libgdata1.2-1 2.30.3-2ubuntu Client library for accessing Google POA
thro
ii libgdata1.7-ci 1.7.0.1-1build Google GData CLI client library
rc libgdata11 0.8.0-0ubuntu1 Library for accessing GData webservices -
sh
ii libgdata13 0.9.1-0ubuntu2 Library for accessing GData webservices -
sh
rc libgdata7 0.6.4-2 Library for accessing GData webservices -
sh
ii python-gdata 2.0.14-2 Google Data Python client library
I'm seeing the same issue with "docs" using 2.0.16.