Summary: | Data of Akonadi Google are not synced | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Vojtěch Zeisek <Vojtech.Zeisek> |
Component: | Google Resource | Assignee: | Daniel Vrátil <dvratil> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | major | CC: | cruzki123, kde, kdepim-bugs, web |
Priority: | NOR | ||
Version: | 4.13 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Vojtěch Zeisek
2014-05-06 12:01:05 UTC
Can confirme this bug on Kubuntu 14.04. It works, you reboot and it stops working. In akonadiconsole -> raw payload, i can see event with an id and no remote id. Restarting akonadi fix issue temporaly: AgentBase(akonadi_googlecalendar_resource_2): Invalid item payload. AgentBase(akonadi_googlecalendar_resource_2): Invalid item payload. 0x2081a60 * OK Akonadi Almost IMAP Server [PROTOCOL 37] korganizer-1431355191 (0x2071870) 2 UID TAGFETCH 1:* (UID) korganizer-1431355191 (0x2071870) 2 OK UID TAGFETCH completed 0x2081a60 0 LOGIN "contactsCompletionSession" contactsCompletionSession (0x2081a60) 0 OK User logged in korganizer-1431355191 (0x2071870) 3 LIST 0 1 (MIMETYPE (text/calendar application/x-vnd.akonadi.calendar.event)) (STATISTICS true ANCESTORS INF) korganizer-1431355191 (0x2071870) * 25 0 (NAME "Dates de naissance et anniversaires" MIMETYPE (application/x-vnd.akonadi.calendar.event) REMOTEID "akonadi_birthdays_resource" REMOTEREVISION "" RESOURCE "akonadi_birthdays_resource" VIRTUAL 0 MESSAGES 9 UNSEEN 9 SIZE 6518 CACHEPOLICY (INHERIT true INTERVAL -1 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS (ALL)) ANCESTORS ((0 "")) ENTITYDISPLAY "(\"\" \"view-calendar-birthday\" \"\" ())" AccessRights "") korganizer-1431355191 (0x2071870) 3 OK List completed contactsCompletionSession (0x2081a60) 1 CAPABILITY (NOTIFY 3 NOPAYLOADPATH AKAPPENDSTREAMING SERVERSEARCH) contactsCompletionSession (0x2081a60) 1 OK CAPABILITY completed korganizer-1431355191 (0x2071870) 4 LIST 0 INF (MIMETYPE (text/calendar application/x-vnd.akonadi.calendar.event)) (STATISTICS true ANCESTORS INF) korganizer-1431355191 (0x2071870) * 25 0 (NAME "Dates de naissance et anniversaires" MIMETYPE (application/x-vnd.akonadi.calendar.event) REMOTEID "akonadi_birthdays_resource" REMOTEREVISION "" RESOURCE "akonadi_birthdays_resource" VIRTUAL 0 MESSAGES 9 UNSEEN 9 SIZE 6518 CACHEPOLICY (INHERIT true INTERVAL -1 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS (ALL)) ANCESTORS ((0 "")) ENTITYDISPLAY "(\"\" \"view-calendar-birthday\" \"\" ())" AccessRights "") korganizer-1431355191 (0x2071870) * 24 22 (NAME "Calendrier" MIMETYPE (application/x-vnd.akonadi.calendar.journal application/x-vnd.akonadi.calendar.todo application/x-vnd.akonadi.calendar.event inode/directory application/x-vnd.akonadi.calendar.freebusy) REMOTEID "https://adishatz.org/cal/caldav.php/gnumdk/calendar/" REMOTEREVISION "" RESOURCE "akonadi_davgroupware_resource_0" VIRTUAL 0 MESSAGES 62 UNSEEN 62 SIZE 107724 CACHEPOLICY (INHERIT true INTERVAL 10 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS (ALL)) ANCESTORS ((22 "akonadi_davgroupware_resource_0") (0 "")) AccessRights "a" davprotocol "0") korganizer-1431355191 (0x2071870) * 22 0 (NAME "akonadi_davgroupware_resource_0" MIMETYPE (inode/directory) REMOTEID "akonadi_davgroupware_resource_0" REMOTEREVISION "" RESOURCE "akonadi_davgroupware_resource_0" VIRTUAL 0 MESSAGES 0 UNSEEN 0 SIZE 0 CACHEPOLICY (INHERIT false INTERVAL 10 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS (ALL)) ANCESTORS ((0 "")) ENTITYDISPLAY "(\"Davical\" \"folder-remote\" \"\" ())" AccessRights "WCD") korganizer-1431355191 (0x2071870) * 54 53 (NAME "sn4s0p0dt231m0c4ihkhoccf6g@group.calendar.google.com" MIMETYPE (application/x-vnd.akonadi.calendar.event) REMOTEID "sn4s0p0dt231m0c4ihkhoccf6g@group.calendar.google.com" REMOTEREVISION "1400681739" RESOURCE "akonadi_googlecalendar_resource_2" VIRTUAL 0 MESSAGES 33 UNSEEN 33 SIZE 13059 CACHEPOLICY (INHERIT true INTERVAL 60 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS ()) ANCESTORS ((53 "RootCollection") (0 "")) ENTITYDISPLAY "(\"Nous\" \"view-calendar\" \"\" ())" defaultReminders "[ ]" AccessRights "wcdW" BlockAlarmsAttribute " korganizer-1431355191 (0x2071870) * 53 0 (NAME "gnumdk@gmail.com" MIMETYPE (inode/directory) REMOTEID "RootCollection" REMOTEREVISION "" RESOURCE "akonadi_googlecalendar_resource_2" VIRTUAL 0 MESSAGES 0 UNSEEN 0 SIZE 0 CACHEPOLICY (INHERIT false INTERVAL 60 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS ()) ANCESTORS ((0 "")) ENTITYDISPLAY "(\"gnumdk@gmail.com\" \"im-google\" \"\" ())" AccessRights "C") korganizer-1431355191 (0x2071870) 4 OK List completed korganizer-1431355191 (0x2071870) 5 X-AKAPPEND 54 0 (\MimeType[application/x-vnd.akonadi.calendar.event] "\\Gid[5bdffb63-5f48-4002-b609-7cbbe84f3445]") ( PLD:RFC822 {374} korganizer-1431355191 (0x2071870) + Ready for literal data (expecting 374 bytes) korganizer-1431355191 (0x2071870) 5 [UIDNEXT 9201 DATETIME "22-May-2014 10:17:26 +0000"] korganizer-1431355191 (0x2071870) 5 OK Append completed ETMCalendar (0x20175c0) 43 LSUB 54 0 () (ANCESTORS INF) ETMCalendar (0x200f1d0) 43 LSUB 54 0 () (ANCESTORS INF) ETMCalendar (0x200f1d0) * 54 53 (NAME "sn4s0p0dt231m0c4ihkhoccf6g@group.calendar.google.com" MIMETYPE (application/x-vnd.akonadi.calendar.event) REMOTEID "sn4s0p0dt231m0c4ihkhoccf6g@group.calendar.google.com" REMOTEREVISION "1400681739" RESOURCE "akonadi_googlecalendar_resource_2" VIRTUAL 0 CACHEPOLICY (INHERIT true INTERVAL 60 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS ()) ANCESTORS ((53 "RootCollection") (0 "")) ENTITYDISPLAY "(\"Nous\" \"view-calendar\" \"\" ())" defaultReminders "[ ]" AccessRights "wcdW" BlockAlarmsAttribute " ETMCalendar (0x200f1d0) 43 OK List completed ETMCalendar (0x20175c0) * 54 53 (NAME "sn4s0p0dt231m0c4ihkhoccf6g@group.calendar.google.com" MIMETYPE (application/x-vnd.akonadi.calendar.event) REMOTEID "sn4s0p0dt231m0c4ihkhoccf6g@group.calendar.google.com" REMOTEREVISION "1400681739" RESOURCE "akonadi_googlecalendar_resource_2" VIRTUAL 0 CACHEPOLICY (INHERIT true INTERVAL 60 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS ()) ANCESTORS ((53 "RootCollection") (0 "")) ENTITYDISPLAY "(\"Nous\" \"view-calendar\" \"\" ())" defaultReminders "[ ]" AccessRights "wcdW" BlockAlarmsAttribute " ETMCalendar (0x20175c0) 43 OK List completed ETMCalendar (0x20175c0) 44 UID FETCH 9201 FULLPAYLOAD ALLATTR EXTERNALPAYLOAD (UID COLLECTIONID FLAGS SIZE REMOTEID REMOTEREVISION DATETIME ATR:ENTITYDISPLAY) ETMCalendar (0x200f1d0) 44 UID FETCH 9201 FULLPAYLOAD ALLATTR EXTERNALPAYLOAD (UID COLLECTIONID FLAGS SIZE REMOTEID REMOTEREVISION DATETIME ATR:ENTITYDISPLAY) ETMCalendar (0x20175c0) * 9201 FETCH (UID 9201 REV 0 REMOTEID "" MIMETYPE "application/x-vnd.akonadi.calendar.event" COLLECTIONID 54 SIZE 374 DATETIME "22-May-2014 10:17:26 +0000" FLAGS () PLD:RFC822 {374} BEGIN:VCALENDAR PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN VERSION:2.0 X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0 BEGIN:VEVENT DTSTAMP:20140522T101721Z CREATED:20140522T101721Z UID:5bdffb63-5f48-4002-b609-7cbbe84f3445 LAST-MODIFIED:20140522T101721Z SUMMARY:test DTSTART;VALUE=DATE:20140522 DTEND;VALUE=DATE:20140523 TRANSP:OPAQUE END:VEVENT END:VCALENDAR) ETMCalendar (0x200f1d0) * 9201 FETCH (UID 9201 REV 0 REMOTEID "" MIMETYPE "application/x-vnd.akonadi.calendar.event" COLLECTIONID 54 SIZE 374 DATETIME "22-May-2014 10:17:26 +0000" FLAGS () PLD:RFC822 {374} BEGIN:VCALENDAR PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN VERSION:2.0 X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0 BEGIN:VEVENT DTSTAMP:20140522T101721Z CREATED:20140522T101721Z UID:5bdffb63-5f48-4002-b609-7cbbe84f3445 LAST-MODIFIED:20140522T101721Z SUMMARY:test DTSTART;VALUE=DATE:20140522 DTEND;VALUE=DATE:20140523 TRANSP:OPAQUE END:VEVENT END:VCALENDAR) ETMCalendar (0x20175c0) 44 OK UID FETCH completed ETMCalendar (0x200f1d0) 44 OK UID FETCH completed akonadi_baloo_indexer (0x209c800) 96 UID FETCH 9201 FULLPAYLOAD CACHEONLY IGNOREERRORS ANCESTORS 1 EXTERNALPAYLOAD (UID COLLECTIONID FLAGS SIZE DATETIME) akonadi_baloo_indexer (0x209c800) * 9201 FETCH (UID 9201 REV 0 MIMETYPE "application/x-vnd.akonadi.calendar.event" COLLECTIONID 54 SIZE 374 DATETIME "22-May-2014 10:17:26 +0000" FLAGS () ANCESTORS ((54 "sn4s0p0dt231m0c4ihkhoccf6g@group.calendar.google.com")) PLD:RFC822 {374} BEGIN:VCALENDAR PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN VERSION:2.0 X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0 BEGIN:VEVENT DTSTAMP:20140522T101721Z CREATED:20140522T101721Z UID:5bdffb63-5f48-4002-b609-7cbbe84f3445 LAST-MODIFIED:20140522T101721Z SUMMARY:test DTSTART;VALUE=DATE:20140522 DTEND;VALUE=DATE:20140523 TRANSP:OPAQUE END:VEVENT END:VCALENDAR) akonadi_baloo_indexer (0x209c800) 96 OK UID FETCH completed ETMCalendar (0x2032460) 14 LSUB 54 0 () (ANCESTORS INF) ETMCalendar (0x2032460) * 54 53 (NAME "sn4s0p0dt231m0c4ihkhoccf6g@group.calendar.google.com" MIMETYPE (application/x-vnd.akonadi.calendar.event) REMOTEID "sn4s0p0dt231m0c4ihkhoccf6g@group.calendar.google.com" REMOTEREVISION "1400681739" RESOURCE "akonadi_googlecalendar_resource_2" VIRTUAL 0 CACHEPOLICY (INHERIT true INTERVAL 60 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS ()) ANCESTORS ((53 "RootCollection") (0 "")) ENTITYDISPLAY "(\"Nous\" \"view-calendar\" \"\" ())" defaultReminders "[ ]" AccessRights "wcdW" BlockAlarmsAttribute " ETMCalendar (0x2032460) 14 OK List completed ETMCalendar (0x2032460) 15 UID FETCH 9201 FULLPAYLOAD ALLATTR EXTERNALPAYLOAD (UID COLLECTIONID FLAGS SIZE REMOTEID REMOTEREVISION DATETIME ATR:ENTITYDISPLAY) ETMCalendar (0x2032460) * 9201 FETCH (UID 9201 REV 0 REMOTEID "" MIMETYPE "application/x-vnd.akonadi.calendar.event" COLLECTIONID 54 SIZE 374 DATETIME "22-May-2014 10:17:26 +0000" FLAGS () PLD:RFC822 {374} BEGIN:VCALENDAR PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN VERSION:2.0 X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0 BEGIN:VEVENT DTSTAMP:20140522T101721Z CREATED:20140522T101721Z UID:5bdffb63-5f48-4002-b609-7cbbe84f3445 LAST-MODIFIED:20140522T101721Z SUMMARY:test DTSTART;VALUE=DATE:20140522 DTEND;VALUE=DATE:20140523 TRANSP:OPAQUE END:VEVENT END:VCALENDAR) ETMCalendar (0x2032460) 15 OK UID FETCH completed ETMCalendar (0x200f1d0) 45 STATUS 54 (MESSAGES UNSEEN SIZE) ETMCalendar (0x200f1d0) * STATUS "gnumdk@gmail.com/sn4s0p0dt231m0c4ihkhoccf6g@group.calendar.google.com" (MESSAGES 34 UNSEEN 34 SIZE 13433) ETMCalendar (0x200f1d0) 45 OK STATUS completed AkonadiConsole Browser Widget (0x21839b0) 4 STATUS 54 (MESSAGES UNSEEN SIZE) AkonadiConsole Browser Widget (0x21839b0) * STATUS "gnumdk@gmail.com/sn4s0p0dt231m0c4ihkhoccf6g@group.calendar.google.com" (MESSAGES 34 UNSEEN 34 SIZE 13433) AkonadiConsole Browser Widget (0x21839b0) 4 OK STATUS completed ETMCalendar (0x20175c0) 45 STATUS 54 (MESSAGES UNSEEN SIZE) ETMCalendar (0x20175c0) * STATUS "gnumdk@gmail.com/sn4s0p0dt231m0c4ihkhoccf6g@group.calendar.google.com" (MESSAGES 34 UNSEEN 34 SIZE 13433) ETMCalendar (0x20175c0) 45 OK STATUS completed ETMCalendar (0x2032460) 16 STATUS 54 (MESSAGES UNSEEN SIZE) ETMCalendar (0x2032460) * STATUS "gnumdk@gmail.com/sn4s0p0dt231m0c4ihkhoccf6g@group.calendar.google.com" (MESSAGES 34 UNSEEN 34 SIZE 13433) ETMCalendar (0x2032460) 16 OK STATUS completed >UID 9201 REV 0 REMOTEID ""
REMOTEID seems to be empty in logs...
For information, it works with Davcal and https://support.google.com/calendar/answer/99358 When I restart Akonadi, I see in console records like that: akonadi_googlecalendar_resource_56(3575)/LibKGAPI KGAPI2::Job::Private::_k_replyReceived: Unauthorized. Access token has expired or is invalid. When I remove the resource or I remove the record in KWallet, it works. Once. Next reboot it stops working. With Kubuntu 14.04, I cannot push the updates back to Google. Here is what akonadiconsole yields: akonadi_googlecalendar_resource_6(6658)/LibKGAPI KGAPI2::Job::Private::_k_replyReceived: Bad request, Google replied ' "{ "error": { "errors": [ { "domain": "global", "reason": "required", "message": "Missing end time." } ], "code": 400, "message": "Missing end time." } } " ' This was most probably caused by bug 334320 (regression in KDE 4.13). Please re-test with 4.13.2 once it's ou. Jean, your problem is caused by something else, please open a new bug report. After upgrade to 4.13.2 I had to remove and add the resource again. I added calendar, works fine so far, then I added contacts, I was not asked to allow access and when trying to sync I get an error, that the resource is not configured to access Google. I tried several times to remove it and give it access somehow, no luck... Does not sync with 4.14.6 libgcal-0.9.6-x86_64-1_SBo akonadi-googledata-1.2.0-x86_64-1_SBo This bug has never been confirmed for a Kontact version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the opportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it. Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life. Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input. |