michael-adler / sync-google-contacts

Automatically exported from code.google.com/p/sync-google-contacts
18 stars 12 forks source link

feature request or question - photos? #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. installed as described
2. tested, works perfectly EXCEPT
3. contact photos don't sync - is there any way to enable contacts to sync?

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by dkel...@pdx.iyhusa.com on 9 Jun 2014 at 8:31

GoogleCodeExporter commented 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

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

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