Author Topic: gContactSync no longer works; no sync of any kind  (Read 11086 times)

fivefour

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
gContactSync no longer works; no sync of any kind
« on: September 23, 2010, 10:38:39 AM »
I found that none of the changes to my gmail contact list (new entries, new groups, edits) were being sync'd to thunderbird (3.14 on windows 7 x64). I updated gContactSync from 0.2.17 to 0.2.18 in the hopes that it might solve something but no. So right now gContactSync does basically nothing. It did sync at some point, but I'm not sure when it stopped working. I try to manually sync to and it updates the 'last sync' time but never pulls any changes from gmail. I first installed gContactSync maybe 5 months ago, and have done little tweeking other than setting up the one gmail account to sync to.

I found that when I checked the properties it listed the account/email address but not the address book. After I clicked "Change Address Book" and then OK it pulled in the name of the address book (which is the same as the email address). Just providing that as detail.

This is a google apps email account.

BTW, the thunderbird check for updates does not find the 0.2.18 update from .17, I did it manually.

Josh Geenen

  • gContactSync Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 720
  • Karma: +5/-0
    • Pi Rules.org
Re: gContactSync no longer works; no sync of any kind
« Reply #1 on: September 23, 2010, 11:19:01 AM »
Hello,

Can you go to the gContactSync Preferences dialog then check "Enable verbose logging" on the Interface tab.  Close the Address Book window, open it again, click Sync, then click on the status bar text "Synchronization finished at..." to view the log.  That log should give you an idea about what is going on.

It sounds like the preference that tells gContactSync which address book is synchronize was removed so gContactSync isn't try to synchronize anything.  If that is the case, click the Change Address Book button again then type the name of the address book you want to synchronize.

Quote
BTW, the thunderbird check for updates does not find the 0.2.18 update from .17, I did it manually.

gContactSync hasn't been reviewed by addons.mozilla.org so it won't update automatically.  Once 0.3.0 is ready I will put it up there and try to get it reviewed.
gContactSync: info FAQs

fivefour

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: gContactSync no longer works; no sync of any kind
« Reply #2 on: September 23, 2010, 12:38:45 PM »
I don't really know how to read the log file in detail of course. But in the verbose log file I just looked at it does contain changed data; ie data that was entered in gmail but has never appeared in tb contacts. And it still does not appear in tb contacts. This new data is in one of the detail sections after <entry gd>. However in another section where the modified entry is listed along with all others it says " * Neither contact has changed"

As a test I modified a note for an older contact. I sync'd and  for that contact it says " * Neither contact has changed" in the one section, and in the other section it has the new data. Yet the new data is not shown in tb address book

I have no idea how that makes sense. It is finding new data but not integrating it. As I mentioned before in the config area it has my@address.com and my@address.com for email and addr, and it is finding that data so I don't think it's a connection issue.

Josh Geenen

  • gContactSync Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 720
  • Karma: +5/-0
    • Pi Rules.org
Re: gContactSync no longer works; no sync of any kind
« Reply #3 on: September 23, 2010, 01:40:54 PM »
Could you send me the log file or part of the log file for a specific contact?

Does the timezone on your computer match the timezone for your Google Account? (https://www.google.com/accounts/EditUserInfo)
gContactSync: info FAQs

fivefour

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: gContactSync no longer works; no sync of any kind
« Reply #4 on: September 23, 2010, 03:55:33 PM »
Yes same time zone.

Here is a contact for which I've updated most info recently.

Code: [Select]
Matt J
 * Found a match Last Modified Dates:  -  1285256129670 - 1285258020
 * Google ID: http://www.google.com/m8/feeds/contacts/myemail%40mydomain.com/base/4614ec710f4fd16e
 * Neither contact has changed
 
<entry gd:etag='&quot;SHg8eDVSLyp7ImA9Wx5WEkgMRgY.&quot;'>
<id>http://www.google.com/m8/feeds/contacts/myemail%40mydomain.com/base/4614ec710f4fd16e</id>
<updated>2010-09-23T15:35:29.670Z</updated>
<app:edited xmlns:app='http://www.w3.org/2007/app'>2010-09-23T15:35:29.670Z</app:edited>
<category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/contact/2008#contact'/>
<title>Matt J</title>
<content>Matt J
 
RTCo
123 Main St Citytown CA USA
 
ex:
Home page: http://rtco.xyz

<link rel='http://schemas.google.com/contacts/2008/rel#photo' type='image/*' href='https://www.google.com/m8/feeds/photos/media/myemail%40mydomain.com/4614ec710f4fd16e'/>
<link rel='self' type='application/atom+xml' href='https://www.google.com/m8/feeds/contacts/myemail%40mydomain.com/full/4614ec710f4fd16e'/>

<link rel='edit' type='application/atom+xml' href='https://www.google.com/m8/feeds/contacts/myemail%40mydomain.com/full/4614ec710f4fd16e'/>
<gd:organization rel='http://schemas.google.com/g/2005#work'>
<gd:orgName>RTCo</gd:orgName>
<gd:orgTitle>None Really</gd:orgTitle>
</gd:organization>
<gd:email rel='http://schemas.google.com/g/2005#other' address='Matt.J@rtco.xyz' primary='true'/>
<gd:phoneNumber rel='http://schemas.google.com/g/2005#work_fax'>(888) 888-8888</gd:phoneNumber>
<gd:phoneNumber rel='http://schemas.google.com/g/2005#work'>(888) 888-8888</gd:phoneNumber>
<gd:phoneNumber rel='http://schemas.google.com/g/2005#mobile'>(888) 888-8888</gd:phoneNumber>
<gd:postalAddress rel='http://schemas.google.com/g/2005#work'>123 Main St Citytown CA USA</gd:postalAddress>
<gContact:groupMembershipInfo deleted='false' href='http://www.google.com/m8/feeds/groups/myemail%40mydomain.com/base/6'/>

<gContact:groupMembershipInfo deleted='false' href='http://www.google.com/m8/feeds/groups/myemail%40mydomain.com/base/742747ed88bc25d1'/>
</entry>

Josh Geenen

  • gContactSync Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 720
  • Karma: +5/-0
    • Pi Rules.org
Re: gContactSync no longer works; no sync of any kind
« Reply #5 on: September 23, 2010, 04:19:30 PM »
That log shows the contact as having been updated in TB Thu Sep 23 2010 11:35:29 GMT-0400 (EST) and Google at Thu Sep 23 2010 12:07:00 GMT-0400 (EST).  How soon after you modified the contact through Google did you try to synchronize?  Sometimes if you sync too quickly Google doesn't tell gContactSync that anything changed until that time has passed then it gets missed.

For example:
Say you update a contact at 12:00:00 then sync at 12:00:10.  gContactSync asks Google for your contacts, Google sends all of them but sends an older version of that contact.  gContactSync doesn't see any update and it sets the last sync date and time to 12:00:15 or so.  You notice that the contact wasn't updated in Thunderbird so you sync again at 12:05.  Google sends the updated contact, but it's last modified date is 12:00:00 so gContactSync doesn't think that the contact changed since the last sync (it compares each contact's last modified date with the last sync date).

Can you try updating a contact through Gmail then wait a few hours and sync to see if Thunderbird's contact is updated?
gContactSync: info FAQs

fivefour

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: gContactSync no longer works; no sync of any kind
« Reply #6 on: September 23, 2010, 06:19:52 PM »
Possibly because this add in is not 100%, I've never been sure what the lag time is; ie when new or revised data might be available to sync. However in this case, it's not a timeing thing. In the case of the example contact, the updates were hours ago now and a new sync finds nothing. And groups, and contacts, which I added days/weeks ago are missing in tb contacts.

Josh Geenen

  • gContactSync Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 720
  • Karma: +5/-0
    • Pi Rules.org
Re: gContactSync no longer works; no sync of any kind
« Reply #7 on: September 23, 2010, 08:05:25 PM »
Quote
Possibly because this add in is not 100%, I've never been sure what the lag time is;
The add-on should work pretty well; it does for thousands of people ;).  Google just doesn't immediately expose changes you make through Gmail in their API immediately (it varies) and I can't really determine the cause of what you are seeing without a log.

Can you try version 0.3 which uses the newest version of Google's API?  If it consistently doesn't work after you've given it enough time then please e-mail me the log file (joshgeenen, gmail) so I can figure out what is going on.
gContactSync: info FAQs

fivefour

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: gContactSync no longer works; no sync of any kind
« Reply #8 on: September 24, 2010, 09:39:13 AM »
I've got the latest 0.3 installed now and kind of surprised to see it follows the same pattern. See the attached.

When setting this up, I chose the address book and selected "all groups and contacts", then saved. It does show the new groups in the list; but they are not added to contacts after the sync. No new items or edits come across.

I think there are 336 contacts total; the screenshot ref's 331 no changed.

Have you tested with google apps? That's what this account is. I've not tested with a regular gmail account.


Josh Geenen

  • gContactSync Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 720
  • Karma: +5/-0
    • Pi Rules.org
Re: gContactSync no longer works; no sync of any kind
« Reply #9 on: September 24, 2010, 09:48:45 AM »
Can you right-click the Address Book that you synchronize, choose "Reset (replace from server)" then restart Thunderbird and sync again?  That should pull in the latest changes from Google and future updates should work.

Google Apps accounts should work the same as regular Google accounts (I know several people who use them and tested a trial myself several months ago).  The only issue is that Google shows the default groups (My Contacts, Friends, Family, and Coworkers) are in Google Apps accounts when they aren't (or weren't) visible through Gmail.

Quote
I think there are 336 contacts total; the screenshot ref's 331 no changed.

Thunderbird counts mailing lists as "contacts" in the count you see.  Your probably have 5 groups.
gContactSync: info FAQs

fivefour

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: gContactSync no longer works; no sync of any kind
« Reply #10 on: September 24, 2010, 12:27:21 PM »
That got it going. I've been able to sync both ways. There are now 400+ contacts in tb, including maybe 12 groups.

There is no sync icon in the address book header area, I'm sure you know that.

Thanks for your help with this and for the plug in.

Josh Geenen

  • gContactSync Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 720
  • Karma: +5/-0
    • Pi Rules.org
Re: gContactSync no longer works; no sync of any kind
« Reply #11 on: September 24, 2010, 03:11:27 PM »
That's good to hear, sorry about the problems you were seeing; I haven't heard of anything like that before.

gContactSync 0.3 adds a button the correct way now which means you need to go to View -> Toolbars -> Customize, find the Sync button and drag it onto the toolbar.  You can do this in the Address Book window and from the main TB window now.
gContactSync: info FAQs

fivefour

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: gContactSync no longer works; no sync of any kind
« Reply #12 on: October 22, 2010, 07:00:11 PM »
I've just now found what may be another issue. That is, that after rearranging a contact's phone numbers in tb, they're not adjusted in gmail.

What I mean is, what was listed as First (and category Work 2 for some reason) was obsolete. So I changed the number in the edit contact dialog so that First has a new number and is Work; Second is Mobile, Third is other. But, in gmail, after a sync a while ago, no changes. A simple mod of email address for a different contact did make it from tb to gmail.