This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Akonadi - Google Contact Sync does not work

Tags: None
(comma "," separated)
kameluel
Registered Member
Posts
3
Karma
0
Hi,

I wanted to have my Google Contact in Kontact and I tried to add a Akonadi Resource for syncing gmail contacts with kontact.

But after adding the resource for google contacts, nothing happens. I did not manage to retrieve any error message. Everything seems okay, but google contacts still don't appear, meanwhile owncloud sync is working.

Do you know how to fix that, or how to get an error log? I have no Idea, maybe I tried the wrong terms using google... ;)

Kontact is 4.13.3, I am using kubuntu 14.04.

Thanks :)
User avatar
progdan
KDE Developer
Posts
90
Karma
0
OS
Hi,

please run Akonadi Console tool (you might need to install it first, depends on distribution), go to "Agents" tab, find the "Google Contacts" resource there, right-click it and select Configure -> Configure Natively. That should open configuration interface for the resource. Normally this should happen automatically, but it's possible that something went wrong :-) After that you will be asked for credentials etc. and everything should work. If not, we can look into it deeper.


Daniel Vrátil | www.dvratil.cz | dvratil@kde.org
IRC: dvratil on Freenode (#kde, #kontact, #akonadi, #fedora-kde)
kameluel
Registered Member
Posts
3
Karma
0
Hi,

thanks for the tip opening Akonadi Console.
Syncing contacts still does not work, but enabling the debugger, i managed to get the following error message:

Code: Select all
AgentBase(akonadi_googlecontacts_resource_11): Could not create collection Starred in Android resourceId: 34


Reading google result, this seems to be a bug in Akonadi. But maybe the problem is in front of the computer in my Case...

Thanks,

kameluel
User avatar
progdan
KDE Developer
Posts
90
Karma
0
OS
Right, this a known issue. You have two contact groups with the same name in Google Contacts: both called "Starred in Android". It's not permitted in Akonadi that two folders with the same parent have the same name, and so the initial sync fails.

Log into Google Contacts web interface please, and get rid of one of the "Starred in Android" duplicates, then the Google resource should be able to sync just fine. I think I worked around this at some time during KDE 4.14.


Daniel Vrátil | www.dvratil.cz | dvratil@kde.org
IRC: dvratil on Freenode (#kde, #kontact, #akonadi, #fedora-kde)
kameluel
Registered Member
Posts
3
Karma
0
Hi,

I did not try your solution, today I did a ubuntu release upgrade and everythink works fine. Thank you! Great support here! :)

Samuel


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]