Open GoogleCodeExporter opened 9 years ago
seems to occasionally fail with error:
Line 1, Column 1650, element ns1:extendedProperty] exactly one of
g:extendedProperty/@value, XML is required
when updating a contact. exporting the contact to a csv, deleting the contact,
syncing, re-adding the contact, and re-syncing seems to fix. not sure what the
real issue is....
also, doesn't appear to handle contact group deletion.... even deleting a group
manually from all users contacts still doesn't work unless config data is
purged.... really need to be able to delete a contact group. (renaming or
adding a group works fine...)
Please - anyone using this and know enough python to help? I'm just a script
kiddie when it comes to python lol!
dkelley zero four four @ gmail.com for direct replies.
Original comment by dkel...@pdx.iyhusa.com
on 14 Jun 2014 at 5:13
Here's the error I referenced Above:
Contact: update "Johnny Test" (user-acct2)
Traceback (most recent call last):
File "/home/david/contacts-sync.py", line 817, in <module>
main()
File "/home/david/contacts-sync.py", line 814, in main
MergeContacts(users, contacts, pvt_groups)
File "/home/david/contacts-sync.py", line 612, in MergeContacts
new_entry = UpdateContactInUser(contacts[j], entry)
File "/home/david/contacts-sync.py", line 692, in UpdateContactInUser
return contacts.ContactUpdate(entry)
File "/home/david/contacts-sync.py", line 174, in ContactUpdate
entry = self.gd_client.Update(entry)
File "/usr/local/lib/python2.6/dist-packages/gdata/client.py", line 730, in update
desired_class=entry.__class__, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/gdata/client.py", line 319, in request
RequestError)
gdata.client.RequestError: Server responded with: 400, [Line 1, Column 2000,
element ns1:extendedProperty] exactly one of g:extendedProperty/@value, XML is
required
Original comment by dkel...@pdx.iyhusa.com
on 14 Jun 2014 at 7:49
I'm getting a variant of the error above:
$ ./contacts-sync.py --user=paour --user=guillemette
Traceback (most recent call last):
File "./contacts-sync.py", line 817, in <module>
main()
File "./contacts-sync.py", line 798, in main
contacts.append(UserContacts(users[i]))
File "./contacts-sync.py", line 134, in __init__
entry = self.gd_client.Update(entry)
File "/usr/local/lib/python2.7/dist-packages/gdata/client.py", line 730, in update
desired_class=entry.__class__, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/gdata/client.py", line 319, in request
RequestError)
gdata.client.RequestError: Server responded with: 400, <?xml version="1.0"
encoding="UTF-8"?>
<errors xmlns="http://schemas.google.com/g/2005">
<error>
<domain>GData</domain>
<code>invalid</code>
<internalReason>gd:extendedProperty missing value and xml-blob: GCon</internalReason>
</error>
</errors>
Original comment by pa...@paour.com
on 22 Dec 2014 at 8:44
Original issue reported on code.google.com by
dkel...@pdx.iyhusa.com
on 9 Jun 2014 at 8:31