Issue 566 in googlecl: Cannot use docs service on Mac OS X Mavericks

8 views
Skip to first unread message

goog...@googlecode.com

unread,
Nov 8, 2014, 4:19:27 PM11/8/14
to google...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 566 by r...@remystjames.com: Cannot use docs service on Mac OS X
Mavericks
https://code.google.com/p/googlecl/issues/detail?id=566

What steps will reproduce the problem?
1. $ google docs list
-- or --
2. $ google help docs

What is the expected output? What do you see instead?
Expect a list of google docs or a request to authenticate user account.
Instead receive AttributeError with Traceback:
1. $google docs list
Traceback (most recent call last):
File "/usr/local/bin/google", line 839, in <module>
main()
File "/usr/local/bin/google", line 825, in main
run_once(options, args)
File "/usr/local/bin/google", line 530, in run_once
options.config)
File "/usr/local/bin/google", line 364, in import_service
service_module = import_at_runtime('googlecl.' + service + '.client')
File "/usr/local/bin/google", line 323, in import_at_runtime
return __import__(module, globals(), fromlist=['0'])
File "/usr/local/lib/python2.7/site-packages/googlecl/docs/client.py",
line 47, in <module>
googlecl.client.BaseClientCL):
File "/usr/local/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'

2. $google help docs
Traceback (most recent call last):
File "/usr/local/bin/google", line 839, in <module>
main()
File "/usr/local/bin/google", line 825, in main
run_once(options, args)
File "/usr/local/bin/google", line 524, in run_once
options.config)
File "/usr/local/bin/google", line 364, in import_service
service_module = import_at_runtime('googlecl.' + service + '.client')
File "/usr/local/bin/google", line 323, in import_at_runtime
return __import__(module, globals(), fromlist=['0'])
File "/usr/local/lib/python2.7/site-packages/googlecl/docs/client.py",
line 47, in <module>
googlecl.client.BaseClientCL):
File "/usr/local/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'

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

Mac OS X 10.9.5 Mavericks
Python 2.7.8 installed with Homebrew
gdata (2.0.18) installed with pip
googlecl (0.9.12) installed with pip

Please provide any additional information below.
I had the same problem as
"Issue 352: install problem: authentication fails with inability to locate
files in ~/.local/share/googlecl"
so I created the "googlecl" directory in ~/.local/share.
That made contacts and calendar services functional. But docs returns the
errors above, even the help subcommand (help works on its on and when
referencing other services).


--
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

goog...@googlecode.com

unread,
Nov 8, 2014, 4:23:46 PM11/8/14
to google...@googlegroups.com

Comment #1 on issue 566 by r...@remystjames.com: Cannot use docs service on
Also should mention that I am trying to access docs under a Google Apps
account, and that my Google Drive contents are synced to my computer
through the Google Drive app for Mac.
Reply all
Reply to author
Forward
0 new messages