Summary: | Google contacts gone after deleting addressbook | ||
---|---|---|---|
Product: | [Applications] kaddressbook | Reporter: | Ruchir Brahmbhatt <ruchir.brahmbhatt> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | major | CC: | dvratil, rf-kde, tokoe |
Priority: | NOR | ||
Version: | 4.11 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Ruchir Brahmbhatt
2013-09-01 06:44:25 UTC
Can you please open Akonadi Console, go to the Debugger tab, enable the debugger, then try to add the resource again and see, whether any errors are printed in any of the views? 0xcc1880 * OK Akonadi Almost IMAP Server [PROTOCOL 33] 0xcc1880 0 LOGIN "akonadi_googlecontacts_resource_12" akonadi_googlecontacts_resource_12 (0xcc1880) 0 OK User logged in akonadi_googlecontacts_resource_12 (0xcc1880) 1 CAPABILITY (NOTIFY 2) akonadi_googlecontacts_resource_12 (0xcc1880) 1 OK CAPABILITY completed akonadi_googlecontacts_resource_12 (0xcc1880) 2 RESSELECT "akonadi_googlecontacts_resource_12" akonadi_googlecontacts_resource_12 (0xcc1880) 2 OK akonadi_googlecontacts_resource_12 selected akonadi_googlecontacts_resource_12 (0xcc1880) 3 BEGIN akonadi_googlecontacts_resource_12 (0xcc1880) 3 OK Begin completed akonadi_googlecontacts_resource_12 (0xcc1880) 4 LIST 0 INF (RESOURCE akonadi_googlecontacts_resource_12) (ANCESTORS 1) akonadi_googlecontacts_resource_12 (0xcc1880) 4 OK List completed akonadi_googlecontacts_resource_12 (0xcc1880) 5 CREATE "[MY_EMAIL@MY_DOMAIN.COM]" 0 (MIMETYPE (application/x-vnd.akonadi.collection.virtual text/directory) REMOTEID "MyContacts" REMOTEREVISION "" VIRTUAL 0 ENTITYDISPLAY "(\"[MY_EMAIL@MY_DOMAIN.COM]\" \"im-google\" \"\" ())" AccessRights "wcdC" CACHEPOLICY (INHERIT true)) akonadi_googlecontacts_resource_12 (0xcc1880) * 288 0 (NAME "[MY_EMAIL@MY_DOMAIN.COM]" MIMETYPE (text/directory application/x-vnd.akonadi.collection.virtual) REMOTEID "MyContacts" REMOTEREVISION "" RESOURCE "akonadi_googlecontacts_resource_12" VIRTUAL 0 CACHEPOLICY (INHERIT true INTERVAL -1 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS (ALL)) ENTITYDISPLAY "(\"[MY_EMAIL@MY_DOMAIN.COM]\" \"im-google\" \"\" ())" AccessRights "wcdC") akonadi_googlecontacts_resource_12 (0xcc1880) 5 OK CREATE completed akonadi_googlecontacts_resource_12 (0xcc1880) 6 CREATE "Other Contacts" 288 (MIMETYPE (text/directory) REMOTEID "OtherContacts" REMOTEREVISION "" VIRTUAL 0 ENTITYDISPLAY "(\"Other Contacts\" \"view-pim-contacts\" \"\" ())" AccessRights "wcd" CACHEPOLICY (INHERIT true)) akonadi_googlecontacts_resource_12 (0xcc1880) * 289 288 (NAME "Other Contacts" MIMETYPE (text/directory) REMOTEID "OtherContacts" REMOTEREVISION "" RESOURCE "akonadi_googlecontacts_resource_12" VIRTUAL 1 CACHEPOLICY (INHERIT true INTERVAL -1 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS (ALL)) ENTITYDISPLAY "(\"Other Contacts\" \"view-pim-contacts\" \"\" ())" AccessRights "wcd") akonadi_googlecontacts_resource_12 (0xcc1880) 6 OK CREATE completed akonadi_googlecontacts_resource_12 (0xcc1880) 7 CREATE "Personal" 288 (MIMETYPE (text/directory) REMOTEID "http://www.google.com/m8/feeds/groups/MY_EMAIL%40MY_DOMAIN.COM/base/11354bc208526203" REMOTEREVISION "" VIRTUAL 1 ENTITYDISPLAY "(\"Personal\" \"view-pim-contacts\" \"\" ())" AccessRights "wWDlu" CACHEPOLICY (INHERIT true)) akonadi_googlecontacts_resource_12 (0xcc1880) * 290 288 (NAME "Personal" MIMETYPE (text/directory) REMOTEID "http://www.google.com/m8/feeds/groups/MY_EMAIL%40MY_DOMAIN.COM/base/11354bc208526203" REMOTEREVISION "" RESOURCE "akonadi_googlecontacts_resource_12" VIRTUAL 1 CACHEPOLICY (INHERIT true INTERVAL -1 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS (ALL)) ENTITYDISPLAY "(\"Personal\" \"view-pim-contacts\" \"\" ())" AccessRights "wWDlu") akonadi_googlecontacts_resource_12 (0xcc1880) 7 OK CREATE completed akonadi_googlecontacts_resource_12 (0xcc1880) 8 CREATE "Personal" 288 (MIMETYPE (text/directory) REMOTEID "http://www.google.com/m8/feeds/groups/MY_EMAIL%40MY_DOMAIN.COM/base/12a0a9a48a4d2262" REMOTEREVISION "" VIRTUAL 1 ENTITYDISPLAY "(\"Personal\" \"view-pim-contacts\" \"\" ())" AccessRights "wWDlu" CACHEPOLICY (INHERIT true)) akonadi_googlecontacts_resource_12 (0xcc1880) 8 NO Could not create collection Personal resourceId: 21 akonadi_googlecontacts_resource_12 (0xcc1880) 9 ROLLBACK akonadi_googlecontacts_resource_12 (0xcc1880) 9 OK Rollback completed It looks like you have two groups called "Personal" in Google Contacts - can you confirm that please? The problem is that when the resource tries to create the second "Personal" group it runs into name conflict and aborts. That was correct. I had 5-6 groups named "Personal" . I removed all and now google contacts are loading. But I don't know how it appeared. I never created that group manually from gmail or from kmail2. Is it possible that kmail2 created the groups? Can tell for sure. One "Personal" group has been created by Google by default. It is possible that due to a bug in the Google contacts resource the groups have been duplicated. Anyway, I'll keep this open so that I can work on handling duplicate names in the resource. I can confirm this problem. I have multiple groups named 'Starred in Android'. I guess this is because I have multiple Android devices. Therefore the groups appear again shortly after removing them (due to syncing). This means there's no workaround available for my szenario. The log looks similar for me. This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present? If noone confirms this bug for a Framework-based version of kaddressbook (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months. Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input. |