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
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><intern alReason>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."
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 xmlns='http://schemas.google.com/g/2005'><error><domain>GData</domain><code>ServiceForbiddenException</code><intern alReason>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."
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
For anyone looking for specific instructions on what commands to execute in
order to get the fix even though "pip install googlecl" doesn't have the
fix yet, this worked for me:
$ sudo pip install gdata
Downloading gdata-2.0.17.zip ..
$ sudo pip install http://googlecl.googlecode.com/svn/trunk/ ...
Requirement already satisfied (use --upgrade to upgrade): gdata>=1.2.4 in
/usr/local/lib/python2.7/site-packages (from googlecl==0.9.14)
...
Successfully installed googlecl
Cleaning up...
$ google docs upload foo.tsv
$ google docs upload foo.tsv
Traceback (most recent call last):
File "/usr/local/bin/google", line 4, in <module>
import pkg_resources
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python /pkg_resources.py",
line 2603, in <module>
working_set.require(__requires__)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python /pkg_resources.py",
line 666, in require
needed = self.resolve(parse_requirements(requirements))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python /pkg_resources.py",
line 565, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: googlecl==0.9.13
-- You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings