Summary: | Korganizer doesn't send calendar events to Google account | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Tom Kijas <t.kijas> |
Component: | Google Resource | Assignee: | Daniel Vrátil <dvratil> |
Status: | REPORTED --- | ||
Severity: | critical | CC: | damikope, dvratil, groszdanielpub, jesusrop, kde, kdepim-bugs, kishore96, ostroffjh, p.wibberley, peterriesde, sannythebest95, t.kijas, ti, winter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Tom Kijas
2016-01-10 22:19:40 UTC
Strange thing is that every time I delete and re-enable google account in Korganizer, for few hours/days, it does work. After few hours/days, it fails. This is happening to me too! A year and situation is the same, Korganizer is unusable in companies that use google's services. Just switched to Linux from Mac about 3 weeks ago. Also experiencing this. that's crazy, this bug exists for two years... I have sync problems in both directions. Log output in .xsession-errors seems very sparse and not really helpful. There are repeated log lines like these: org.kde.pim.akonadiserver: Error while handling command ModifyCollection on connection akonadi_googlecalendar_resource_0 org.kde.kgapi: Requested resource does not exist The only way to get Google calendar sync temporarily working (for maybe 10 minutes) is by restarting each calendar account in the settings. Not sure if that's related, but the Google access token expires beforehand: KGAPI2::CalendarFetchJob(0x55a957f330f0) "Invalid authentication." org.kde.kgapi: Unauthorized. Access token has expired or is invalid. Maybe the token is not properly refreshed in that case of failure. Seems to still exist with KOrganizer 5.24.0 (23.08.0) on Artix Linux. Not sure if this is the same or related to bugs about not fetching calendar info. @jack: can confirm that it stopped working somewhen during the last days. My Calendar synced fine in both directions but I saw that some newer events were not synced anymore. I tried adding an event to Korganizer as well as Google via browser. Both only stayed where I created them. No sync. PIM mudule says "Ready". I even tried to re-authenticate. No effect. No sync. As said: it worked fine until ~ 4 weeks ago. No clue where to debug. Yes, there seems to be a new bug since a few days or weeks ago. unfortunately not fixed in 23.08.01 which came out today @Jack, @Peter Ries: Note that these recent issues are likely to be Bug 473897. Idk if this Bug 357819 was related. Con no longer explicitly confirm. Perhaps time to close and let someone reopen if it still occurs with KDE6? I am still having this problem: events created in Google Calendar will appear in KOrganizer, but not the other way around (which is the more important for me). This functionality once worked for me, possibly a couple of years ago, and certainly more recently than when this bug report was first raised. Not working now, though. KOrganizer 6.1.2 (24.05.2) Operating System: KDE neon 6.0 KDE Plasma Version: 6.1.2 KDE Frameworks Version: 6.4.0 Qt Version: 6.7.0 Kernel Version: 6.5.0-44-generic (64-bit) Graphics Platform: Wayland Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz Memory: 7.5 GiB of RAM Graphics Processor: Mesa Intel® Xe Graphics Manufacturer: Dell Inc. Product Name: XPS 13 9305 Unfortunately, this issue persist today in KOrganizer version 6.3.1 (24.12.1) on Fedora Linux. If it cannot be fixed soon, then I'd say it's better to just remove Google Calendar support altogether. I'm not currently having this problem, but I won't say KOrganizer interactions with Google are always smooth. To me, the real problem is the occasional inconsistent behavior. I don't know if it would be worth the effort of using gdb and/or wireshark during both successful and unsuccesful creation of events. Hi Rick, Jack, Prompted by your comments, I checked the behaviour of my KOrganizer again, particularly given there have been updates since the bug was reported. What I found was even stranger. I found that I could create an event in my KOrganizer Personal Calendar, and it does not appear in my Google Calendar. However, if, in KOrganizer, I change the Calendar to a calendar created under my Google account email address then it does. However, it seems intermittent: it seems as if it was working if I tried to create the new event in KOrganozer in some of my Google calendars but not others, i.e. the event would be created in KOrganizer, but might or might not appear in my Google Calendar (when viewed using the Google Calendar app). Then it seemed to stop working altogether. This morning it's working again, but I'm half expecting it to stop again. Questions that occur to me are: (1) Are entries in the KOrganizer Personal Calendar not supposed to be synchronised with Google Calendar? I think it used to do this. (2) What diagnostics can we use to get to the bottom of the problem. Also, unless I'm mistaken, the first time I tried changing the calendar, I got the message, "You are not the organiser of this event. Editing it will bring your calendar out of sync with the organiser's calendar. Do you really want to edit it?", which was odd, given I had created the event. I only got this message once, though. Regards Personal Calendars are completely separate from Google Calendars. Personal Calendars on stored on your local drive. To add Google Calendars: - select Configure->KOrganizer menu - in the General settings page, you'll see a Calendars tab. open that - select Add and choose Google Groupware - configure you should see a web browser page open that makes you sign into your Google account and you need to ensure giving permission to Akonadi services. and save those settings For those of you having problems with existing Google calendars you might try - removing the existing one and starting from scratch - modify the existing one -> you should be taken immediately the Google account login page and then the 3rdparty permissions. also, look in the calendar browser in the lower left corner and ensure the Google calendars are selected else they won't be available to you. Is it possible it matters whether or not you are logged into Google through a browser at the time of use? I would not think it should, but I'm well aware Google doesn't care what I think. (In reply to Allen Winter from comment #17) > Personal Calendars are completely separate from Google Calendars. > Personal Calendars on stored on your local drive. > > To add Google Calendars: > - select Configure->KOrganizer menu > - in the General settings page, you'll see a Calendars tab. open that > - select Add and choose Google Groupware > - configure > you should see a web browser page open that makes you sign into your > Google account > and you need to ensure giving permission to Akonadi services. and save > those settings > > For those of you having problems with existing Google calendars you might try > - removing the existing one and starting from scratch > - modify the existing one -> you should be taken immediately the Google > account login page > and then the 3rdparty permissions. > > also, look in the calendar browser in the lower left corner and ensure the > Google calendars are selected > else they won't be available to you. Allen, Thank you for comment. I can understand that the Personal Calendar is stored locally, but the Google Calendar is stored remotely. Is the idea not that events in the Personal Calendar can be synchronised with the Google Calendar, so that they can be seen by other devices that access the Google Calendar? Certainly, this is how I would like it to work, and my recollection is that this is how it used to work. I have previously removed the Google Calendar from KOrganizer and (In reply to Peter from comment #19) > (In reply to Allen Winter from comment #17) > > Personal Calendars are completely separate from Google Calendars. > > Personal Calendars on stored on your local drive. > > > > To add Google Calendars: > > - select Configure->KOrganizer menu > > - in the General settings page, you'll see a Calendars tab. open that > > - select Add and choose Google Groupware > > - configure > > you should see a web browser page open that makes you sign into your > > Google account > > and you need to ensure giving permission to Akonadi services. and save > > those settings > > > > For those of you having problems with existing Google calendars you might try > > - removing the existing one and starting from scratch > > - modify the existing one -> you should be taken immediately the Google > > account login page > > and then the 3rdparty permissions. > > > > also, look in the calendar browser in the lower left corner and ensure the > > Google calendars are selected > > else they won't be available to you. > > Allen, > > Thank you for comment. I can understand that the Personal Calendar is > stored locally, but the Google Calendar is stored remotely. Is the idea not > that events in the Personal Calendar can be synchronised with the Google > Calendar, so that they can be seen by other devices that access the Google > Calendar? Certainly, this is how I would like it to work, and my > recollection is that this is how it used to work. > > I have previously removed the Google Calendar from KOrganizer and ... - Oops hit the 'Save Changes' button - and reinstated it, but without success. And the latest oddity is that I have events in KOrganizer which have been added by my accept a meeting invite. Even if these are in one of the Google Calendar calendars, they don't appear in Google Calendar. In contrast, I can add an event in the same Google Calendar calendar, and it does show up in Google Calendar. Why the difference?! I will apologise for my lack of knowledge in this area, but is there not a systematic way of troubleshooting these problems, beyond the Microsoft switch-it-off-and-switch-it-back-on-again approach? Thanks and regards (In reply to Peter from comment #19) > Thank you for comment. I can understand that the Personal Calendar is > stored locally, but the Google Calendar is stored remotely. Is the idea not > that events in the Personal Calendar can be synchronised with the Google > Calendar, so that they can be seen by other devices that access the Google > Calendar? Not that I know of, if you want it to be synchronized across devices, you have to add events to the Google Calendar directly from KOrganizer. |