Issue 554 in gdata-python-client: AttributeError: 'DocsClient' object has no attribute 'GetDocList'

209 views
Skip to first unread message

gdata-pyt...@googlecode.com

unread,
Oct 22, 2011, 10:26:37 AM10/22/11
to gdata-python-client-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 554 by hcv...@gmail.com: AttributeError: 'DocsClient' object has
no attribute 'GetDocList'
http://code.google.com/p/gdata-python-client/issues/detail?id=554

What steps will reproduce the problem?
1. Upgrade to 2.0.15 from 2.0.14
2. Access 'GetDocList' method of gdata.docs.client.DocsClient

What is the expected output? What do you see instead?
I used to get a doc list now this error:
AttributeError: 'DocsClient' object has no attribute 'GetDocList'
Was this deprecated? If so, how would I have found out?

What version of the product are you using?
2.0.15 - after downgrade to 2.0.14 it works again (Python 2.7)

Please provide any additional information below.
Sample:
client = gdata.docs.client.DocsClient(source='hcvst-spreadsheetexport-v1')
client.ssl = True
client.ClientLogin('username', 'password', client.source)
feed =
client.GetDocList(uri='/feeds/default/private/full?title=ABC&title-exact=true&max-results=1')

gdata-pyt...@googlecode.com

unread,
Oct 22, 2011, 11:42:00 AM10/22/11
to gdata-python-client-...@googlegroups.com
Updates:
Status: Invalid

Comment #1 on issue 554 by vicfry...@google.com:

AttributeError: 'DocsClient' object has no attribute 'GetDocList'
http://code.google.com/p/gdata-python-client/issues/detail?id=554

This is mentioned in the changelog. Upgrading to the latest version is not
backwards compatible with the Docs client. You'll have to update your
method use (in this case client.GetResources...)

gdata-pyt...@googlecode.com

unread,
Nov 22, 2011, 6:49:20 PM11/22/11
to gdata-python-client-...@googlegroups.com

Comment #2 on issue 554 by sato...@chromium.org:
AttributeError: 'DocsClient' object has no attribute 'GetDocList'
http://code.google.com/p/gdata-python-client/issues/detail?id=554

FWIW, I also got bitten by this because the doc at
http://code.google.com/apis/documents/docs/3.0/developers_guide_python.html
is not updated. The doc still says:

feed = client.GetDocList(uri='/feeds/us...@yourdomain.com/private/full')
PrintFeed(feed) # PrintFeed() defined below

gdata-pyt...@googlecode.com

unread,
Nov 22, 2011, 7:01:26 PM11/22/11
to gdata-python-client-...@googlegroups.com

Comment #3 on issue 554 by vicfry...@google.com:
AttributeError: 'DocsClient' object has no attribute 'GetDocList'
http://code.google.com/p/gdata-python-client/issues/detail?id=554

Yep! Sorry, but we are updating the guide too as part of a bigger change.

gdata-pyt...@googlecode.com

unread,
Feb 8, 2012, 2:11:05 AM2/8/12
to gdata-python-client-...@googlegroups.com

Comment #4 on issue 554 by makobu.m...@gmail.com:
AttributeError: 'DocsClient' object has no attribute 'GetDocList'
http://code.google.com/p/gdata-python-client/issues/detail?id=554

Just got bit by this when trying out the "Retrieving a list of documents"
example in the docs
http://code.google.com/apis/documents/docs/3.0/developers_guide_python.html

gdata-pyt...@googlecode.com

unread,
Feb 8, 2012, 7:43:17 AM2/8/12
to gdata-python-client-...@googlegroups.com

Comment #5 on issue 554 by afs...@google.com: AttributeError: 'DocsClient'

Yes, sorry, that documentation is out of date. Please use GetResources.

gdata-pyt...@googlecode.com

unread,
Feb 9, 2012, 6:45:23 AM2/9/12
to gdata-python-client-...@googlegroups.com

Comment #6 on issue 554 by makobu.m...@gmail.com:
AttributeError: 'DocsClient' object has no attribute 'GetDocList'
http://code.google.com/p/gdata-python-client/issues/detail?id=554

I used GetResources, but now I need to use Copy() and Move(), but those are
not working either. Which methods should I use?

gdata-pyt...@googlecode.com

unread,
Feb 26, 2012, 7:48:09 PM2/26/12
to gdata-python-client-...@googlegroups.com

Comment #7 on issue 554 by yang...@gmail.com: AttributeError: 'DocsClient'

When the document could be updated? I worry there are a lot of changed not
match the document.

gdata-pyt...@googlecode.com

unread,
Feb 28, 2012, 10:53:02 PM2/28/12
to gdata-python-client-...@googlegroups.com

Comment #8 on issue 554 by al...@codeforamerica.org:
AttributeError: 'DocsClient' object has no attribute 'GetDocList'
http://code.google.com/p/gdata-python-client/issues/detail?id=554

Just got hit by this too!!! These docs are way out of date!! At the least,
put a warning in there!

gdata-pyt...@googlecode.com

unread,
Feb 28, 2012, 10:57:05 PM2/28/12
to gdata-python-client-...@googlegroups.com

Comment #9 on issue 554 by al...@codeforamerica.org:
AttributeError: 'DocsClient' object has no attribute 'GetDocList'
http://code.google.com/p/gdata-python-client/issues/detail?id=554

Just got hit by this too!!! Please update these docs!

gdata-pyt...@googlecode.com

unread,
Mar 3, 2012, 9:52:55 PM3/3/12
to gdata-python-client-...@googlegroups.com

Comment #10 on issue 554 by rattray....@gmail.com:
AttributeError: 'DocsClient' object has no attribute 'GetDocList'
http://code.google.com/p/gdata-python-client/issues/detail?id=554

Yeah please update docs... or at least tell people they're current as of
2.0.14?

gdata-pyt...@googlecode.com

unread,
Mar 9, 2012, 3:09:24 PM3/9/12
to gdata-python-client-...@googlegroups.com

Comment #11 on issue 554 by ariel.l...@discernica.com:
AttributeError: 'DocsClient' object has no attribute 'GetDocList'
http://code.google.com/p/gdata-python-client/issues/detail?id=554

As a new user this also confused the crap out of me. Please update the
documentation...

gdata-pyt...@googlecode.com

unread,
Nov 3, 2012, 8:29:51 AM11/3/12
to gdata-python-client-...@googlegroups.com

Comment #12 on issue 554 by wjh...@gmail.com: AttributeError: 'DocsClient'
Apparently I just got hurt by this too... please please please update the
docs!

And mark the current ones as outdated in something big enough to not miss!!

gdata-pyt...@googlecode.com

unread,
Mar 12, 2013, 6:57:33 AM3/12/13
to gdata-python-client-...@googlegroups.com

Comment #13 on issue 554 by nkachr...@gmail.com:
AttributeError: 'DocsClient' object has no attribute 'GetDocList'
http://code.google.com/p/gdata-python-client/issues/detail?id=554

Is getResources backwards compatible to pre 2.0.15 ?

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