google-code-export / gdata-python-client

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

gd_client.GetContacts(uri=next.href) get_feed() got multiple values for keyword argument 'uri' error #534

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run contacts_example.py
2. Input Y at Continue [Y/n]?

What is the expected output? What do you see instead?
The script is supposed to show additional 25 contacts, but I've got the 
following error:

/home/joon/workspace/python/google-contacts.py in ListAllContacts(self)
    127     """Retrieves a list of contacts and displays name and primary email."""
    128     feed = self.gd_client.GetContacts()
--> 129     self.PrintPaginatedFeed(feed, self.PrintContactsFeed)
    130 
    131 

/home/joon/workspace/python/google-contacts.py in PrintPaginatedFeed(self, 
feed, print_method)
     98           # Another feed is available, and the user has given us permission

     99           # to fetch it

--> 100           feed = self.gd_client.GetContacts(uri=next.href)
    101           #feed = self.gd_client.GetFeed(uri=next.href)

    102         else:

/home/joon/programs/epd-7.1-1-rh5-x86_64/lib/python2.7/site-packages/gdata/conta
cts/client.pyc in get_contacts(self, desired_class, auth_token, **kwargs)
    197     """
    198     return self.get_feed(self.GetFeedUri(), auth_token=auth_token,
--> 199                          desired_class=desired_class, **kwargs)
    200 
    201   GetContacts = get_contacts

TypeError: get_feed() got multiple values for keyword argument 'uri'

What version of the product are you using?
2.0.14

Original issue reported on code.google.com by joonp...@gmail.com on 5 Aug 2011 at 6:34

GoogleCodeExporter commented 9 years ago
Hello,

This issue has been fixed in the repository. Please sync you client with the 
project repository as fixes are first pushed there before making it into a 
release:
http://code.google.com/p/gdata-python-client/source/checkout

Best,
Alain

Original comment by ala...@google.com on 5 Aug 2011 at 6:42