Google calendar not syncing new events
I'm able to set up a Google account. The first time, the google calendars sync perfectly to my phone (Intex Aqua Fish running Sailfish 2.1.0.11).
When I add an event on the phone, syncing doesn't work any more.
Deleting the account or removing /home/nemo/.local/share/system/privileged/Calendar/mkcal/db* allows to sync from scratch. Could anybody give me a hint how to track down the problem?
This is an excerpt from journalctl | grep google.
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [W] unknown:0 - sqlitestorage.cpp: 193 - database "/home/nemo/.local/share/system/privileged/Calendar/mkcal/db" opened
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [D] unknown:0 - connection-manager.cpp 150 init Connected to "libsignon-qt0"
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state: "PendingRegistration" SignOn::IdentityImpl(0xb4f020)
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [D] unknown:0 - authsessionimpl.cpp 94 initInterface
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [D] unknown:0 - authsessionimpl.cpp 94 initInterface
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state: "Ready" SignOn::IdentityImpl(0xb4f020)
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state: "NeedsUpdate" SignOn::IdentityImpl(0xb4f020)
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state: "PendingUpdate" SignOn::IdentityImpl(0xb4f020)
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [D] unknown:0 - identityimpl.cpp 442 infoUpdated SERVER INFO UPDATED. NeedsUpdate " 27 "
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: "Calendars" request with account 19 experienced error: QNetworkReply::NetworkError(ContentGoneError)
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: unable to parse event data from request with account 19 ; got:
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: "{"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"error\": {"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"errors\": ["
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " {"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"domain\": \"calendar\","
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"reason\": \"updatedMinTooLongAgo\","
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"message\": \"The requested minimum modification time lies too far in the past.\","
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"locationType\": \"parameter\","
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"location\": \"updatedMin\""
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " }"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " ],"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"code\": 410,"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"message\": \"The requested minimum modification time lies too far in the past.\""
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " }"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: "}"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: received 410 GONE from server; marking account for clean sync: 19
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: "Calendars" request with account 19 experienced error: QNetworkReply::NetworkError(ContentGoneError)
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: unable to parse event data from request with account 19 ; got:
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: "{"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"error\": {"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"errors\": ["
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " {"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"domain\": \"calendar\","
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"reason\": \"updatedMinTooLongAgo\","
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"message\": \"The requested minimum modification time lies too far in the past.\","
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"locationType\": \"parameter\","
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"location\": \"updatedMin\""
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " }"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " ],"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"code\": 410,"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"message\": \"The requested minimum modification time lies too far in the past.\""
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " }"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: "}"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: received 410 GONE from server; marking account for clean sync: 19
Jun 06 19:57:50 Sailfish com.google.code.AccountsSSO.SingleSignOn[970]: invoker: Invoking execution: '/usr/bin/signond'
Jun 06 19:58:00 Sailfish google-calendars-client[10690]: [W] unknown:0 - sqlitestorage.cpp: 193 - database "/home/nemo/.local/share/system/privileged/Calendar/mkcal/db" opened
Jun 06 19:58:00 Sailfish google-calendars-client[10690]: GLIB WARNING ** accounts-glib - Unable to load account 3
Jun 06 19:58:00 Sailfish google-calendars-client[10690]: [W] unknown:0 - ERROR: existing account with id 3 couldn't be retrieved
UPDATE Jun 7
I flashed the device to factory settings (Sailfish 2.0.1) The problem persists. Also after upgrading to 2.1.0.11, I get the same problem as described above. Syncing events from Google Calendar to the phone seems to work though. Maybe Google changed something in its API?
Google calendar syncing has also stopped working for me in recent weeks - (previously it had worked without problem for at least a year).
I have deleted the account and re-added it, but this has not worked: I've now simply lost all previously synced events too). However, email on this google account does sync properly - just not the calendar.
(My device is a Jolla 1)
pedrox ( 2017-06-07 14:01:02 +0200 )editI can confirm the described behaviour, but I think the problem has been there for a couple of months. It works allright syncing to the phone but not from the phone.
DNG ( 2017-06-08 00:39:46 +0200 )editI can confirm this on my Jolla 1 as well. It just started to cause trouble for me this week. I cannot seem to sync either way
hook ( 2017-06-12 12:01:24 +0200 )editSame problem here on my Jolla 1. I am not able to sync google calendar event from phone to server (upload). It works in opposite direction (download), however.
qeef ( 2017-06-30 17:49:20 +0200 )editmine stopped too, the calendar not showing new events since 10 days. Intex Aquafish / Jolla C. Acalendar, a android app, works ok.
danfin ( 2017-07-03 18:42:58 +0200 )edit