google-code-export / gdata-python-client

Automatically exported from code.google.com/p/gdata-python-client
1 stars 0 forks source link

AttributeError: 'DocsClient' object has no attribute 'GetDocList' #554

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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&ma
x-results=1')

Original issue reported on code.google.com by hcv...@googlemail.com on 22 Oct 2011 at 2:26

GoogleCodeExporter commented 9 years ago
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...)

Original comment by vicfry...@google.com on 22 Oct 2011 at 3:41

GoogleCodeExporter commented 9 years ago
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/user@yourdomain.com/private/full')
PrintFeed(feed)  # PrintFeed() defined below

Original comment by sato...@chromium.org on 22 Nov 2011 at 11:48

GoogleCodeExporter commented 9 years ago
Yep!  Sorry, but we are updating the guide too as part of a bigger change.

Original comment by vicfry...@google.com on 23 Nov 2011 at 12:00

GoogleCodeExporter commented 9 years ago
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

Original comment by makobu.mwambiriro@gmail.com on 8 Feb 2012 at 7:10

GoogleCodeExporter commented 9 years ago
Yes, sorry, that documentation is out of date. Please use GetResources.

Original comment by afs...@google.com on 8 Feb 2012 at 12:42

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

Original comment by makobu.mwambiriro@gmail.com on 9 Feb 2012 at 11:45

GoogleCodeExporter commented 9 years ago
When the document could be updated? I worry there are a lot of changed not 
match the document.

Original comment by yangm.cn@gmail.com on 27 Feb 2012 at 12:47

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Just got hit by this too!!! Please update these docs!

Original comment by al...@codeforamerica.org on 29 Feb 2012 at 3:54

GoogleCodeExporter commented 9 years ago
Yeah please update docs... or at least tell people they're current as of 
2.0.14? 

Original comment by rattray....@gmail.com on 4 Mar 2012 at 2:52

GoogleCodeExporter commented 9 years ago
As a new user this also confused the crap out of me. Please update the 
documentation...

Original comment by ariel.l...@discernica.com on 9 Mar 2012 at 8:08

GoogleCodeExporter commented 9 years ago
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!!

Original comment by wjh...@gmail.com on 3 Nov 2012 at 12:29

GoogleCodeExporter commented 9 years ago
Is getResources backwards compatible to pre 2.0.15 ?

Original comment by nkachr...@gmail.com on 12 Mar 2013 at 10:57