When I try to run the sample code from the most recent python library
for gdata, I am unable to list the contacts in my System Groups. I
separately tried to fetch the group feed for 'My Contacts' which
exited with a similar error. I am pasting below the output from
running the sample script. The Group ID of My Contacts is:
http://www.google.com/m8/feeds/groups/karra.etc%40gmail.com/base/6
Any idea what I am doing wrong?
---
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
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 136, in ListAllContacts
feed = self.gd_client.GetContacts()
File "/Users/sriramkarra/Downloads/software/unix/gdata-2.0.17/src/
gdata/contacts/client.py", line 201, in get_contacts
desired_class=desired_class, **kwargs)
File "/Users/sriramkarra/Downloads/software/unix/gdata-2.0.17/src/
gdata/client.py", line 640, in get_feed
**kwargs)
File "/Users/sriramkarra/Downloads/software/unix/gdata-2.0.17/src/
gdata/client.py", line 278, in request
version=get_xml_version(self.api_version))
File "/Users/sriramkarra/Downloads/software/unix/gdata-2.0.17/src/
atom/core.py", line 520, in parse
tree = ElementTree.fromstring(xml_string)
File "<string>", line 106, in XML
cElementTree.ParseError: unbound prefix: line 5, column 1552
--
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/contacts/community/forum.html