Issue 463 in googlecl: don't work with Google Documents on Mac OS X Lion 10.7.3

91 views
Skip to first unread message

goog...@googlecode.com

unread,
Feb 25, 2012, 6:45:58 AM2/25/12
to google...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

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

goog...@googlecode.com

unread,
Feb 25, 2012, 3:26:53 PM2/25/12
to google...@googlegroups.com

Comment #1 on issue 463 by jh...@google.com: don't work with Google

python gdata 2.0.15 had major undocumented changes. 2.0.14 should work for
you.

goog...@googlecode.com

unread,
Feb 28, 2012, 11:06:26 AM2/28/12
to google...@googlegroups.com

Comment #2 on issue 463 by samco...@gmail.com: don't work with Google

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?


goog...@googlecode.com

unread,
Feb 28, 2012, 11:10:32 AM2/28/12
to google...@googlegroups.com

Comment #3 on issue 463 by samco...@gmail.com: don't work with Google

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

goog...@googlecode.com

unread,
Feb 28, 2012, 2:00:11 PM2/28/12
to google...@googlegroups.com

Comment #4 on issue 463 by samco...@gmail.com: don't work with Google

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


goog...@googlecode.com

unread,
Feb 28, 2012, 2:29:45 PM2/28/12
to google...@googlegroups.com

Comment #5 on issue 463 by jh...@google.com: don't work with Google

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.

goog...@googlecode.com

unread,
Mar 25, 2012, 2:22:56 PM3/25/12
to google...@googlegroups.com

Comment #6 on issue 463 by marc...@gmail.com: don't work with Google

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

goog...@googlecode.com

unread,
Mar 30, 2012, 12:18:06 PM3/30/12
to google...@googlegroups.com

Comment #7 on issue 463 by lett...@gmail.com: don't work with Google

I'm seeing the same issue with "docs" using 2.0.16.

goog...@googlecode.com

unread,
Aug 17, 2012, 3:32:26 PM8/17/12
to google...@googlegroups.com

Comment #8 on issue 463 by orton.n...@gmail.com: don't work with Google
Seeing the same issue using gdata-2.0.17 and googlecl-0.9.13

goog...@googlecode.com

unread,
Aug 29, 2012, 5:11:59 PM8/29/12
to google...@googlegroups.com

Comment #9 on issue 463 by h...@braincorporation.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

I'm also seeing this is OS X Mountain Lion 10.8.0 with gdata-2.0.17 and
googlecl 0.9.13

goog...@googlecode.com

unread,
Aug 29, 2012, 8:17:53 PM8/29/12
to google...@googlegroups.com

Comment #10 on issue 463 by jh...@google.com: don't work with Google
python gdata 2.0.15 had major undocumented changes. See if 2.0.14 works
for you.

goog...@googlecode.com

unread,
Aug 29, 2012, 8:28:46 PM8/29/12
to google...@googlegroups.com

Comment #11 on issue 463 by h...@braincorporation.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

I also tried with 2.0.14 but got the same problem.

goog...@googlecode.com

unread,
Sep 20, 2012, 5:06:54 PM9/20/12
to google...@googlegroups.com

Comment #12 on issue 463 by stu.andrews: don't work with Google Documents
See related issue 449 that has been fixed

goog...@googlecode.com

unread,
Nov 27, 2012, 4:04:52 PM11/27/12
to google...@googlegroups.com

Comment #13 on issue 463 by m...@morearty.com: don't work with Google
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 uninstall googlecl
$ sudo pip install http://googlecl.googlecode.com/svn/trunk/

goog...@googlecode.com

unread,
Mar 19, 2013, 5:20:50 PM3/19/13
to google...@googlegroups.com

Comment #14 on issue 463 by d...@pinterest.com: don't work with Google
Awesome! Sadly ..

$ sudo pip install gdata
Downloading gdata-2.0.17.zip ..
...
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
Reply all
Reply to author
Forward
0 new messages