carolinux / gdata-python-client

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

contacts_example.py BUG? #536

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. hg clone https://code.google.com/p/gdata-python-client/
2. ./setup.py build;./setup.py install
3. samples/contacts_example.py
./contacts_example.py  --user gxing.luntan@gmail.com
Password: 

Contacts Sample
1) List all of your contacts.
2) Create a contact.
3) Query contacts on updated time.
4) Modify a contact.
5) Delete a contact.
6) List all of your contact groups.
7) Query your groups on updated time.
8) Exit.

> 1

1 ....
2 ....
....
25 .....
Continue [Y/n]? y
Traceback (most recent call last):
  File "./contacts_example.py", line 352, in <module>
    main()
  File "./contacts_example.py", line 348, in main
    sample.Run()
  File "./contacts_example.py", line 294, in Run
    self.ListAllContacts()
  File "./contacts_example.py", line 137, in ListAllContacts
    self.PrintPaginatedFeed(feed, self.PrintContactsFeed)
  File "./contacts_example.py", line 112, in PrintPaginatedFeed
    feed = self.gd_client.GetContacts(uri=next.href)
  File "/usr/lib/python2.6/site-packages/gdata/contacts/client.py", line 199, in get_contacts
    desired_class=desired_class, **kwargs)
TypeError: get_feed() got multiple values for keyword argument 'uri'

What is the expected output? What do you see instead?
it should continue to print netxt 25 contacts

Please use labels and text to provide additional information.

Original issue reported on code.google.com by gang.x...@gmail.com on 6 Aug 2011 at 2:34

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
after reinstall :  ./setup.py build;./setup.py install

every thing is fine

please close this issue.

thanks

Original comment by gang.x...@gmail.com on 6 Aug 2011 at 2:42

GoogleCodeExporter commented 9 years ago

Original comment by ala...@google.com on 8 Aug 2011 at 3:59

GoogleCodeExporter commented 9 years ago
2.0.14 do have this issue

Original comment by gang.x...@gmail.com on 8 Aug 2011 at 4:51