Summary: | KOrganizer deletes events in calendar without prompting | ||
---|---|---|---|
Product: | [Frameworks and Libraries] libkgapi | Reporter: | holl.dita |
Component: | calendar | Assignee: | Daniel Vrátil <dvratil> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | brendon, gjditchfield, i, kalatehas, kdepim-bugs, kishore96, MurzNN, quentin.aymard21, sh+kde, voncloft |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Error popups - they appear at one place, I have moved them so all are visible
Attachment corresponding to the journalctl -xe and grep output Caldav resource configuration |
Description
holl.dita
2020-04-06 10:07:44 UTC
I also experience this problem for several times before. In the journalctl logs, there are a lot of lines such as the following (deduplication are done for ease of read): * akonadiserver[2516]: org.kde.pim.akonadiserver: Error while handling command DeleteCollection on connection akonadi_google_resource_0 (0x**SOME_HEX_VALUE**) * akonadiserver[2516]: org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection ETMCalendar (0x**SOME_HEX_VALUE**) : Item query returned empty result set * korgac[2469]: "Item query returned empty result set" * korgac[2469]: "No items found" * akonadi_indexing_agent[2595]: org.kde.pim.akonadi_indexer_agent: Xapian error in indexer: Document 135 not found * akonadiserver[2516]: org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection korgac-**SOME_NUMBER** (0x**SOME_HEX_VALUE**) * korgac[2469]: "No items found" * akonadiserver[2516]: org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection plasmashell-**SOME_NUMBER** (0x**SOME_HEX_VALUE**) : Operations based on remote identifiers require a resource or collection context Also I noticed that Korganizer does not display my calendar until I restarted my "Google Groupware" calendar. I'm using "Better Inline Clock" [1] widget which can display my calendar events. 1. https://store.kde.org/p/1245902 I also got hit by the same bug today (a large number of error popups identical with those in the initial report), but this was in a Google calendar accessible only by me, and I do not live in a region that uses Daylight Saving Time. Unfortunately, I do not know how to find out if (and how many) events were actually deleted from the calendar (but my recent events seem to be intact). SOFTWARE VERSIONS: Operating System: Arch Linux KDE Plasma Version: 5.22.2 KDE Frameworks Version: 5.83.0 Qt Version: 5.15.2 Kernel Version: 5.10.47-1-lts (64-bit) I am displaying the calendar in both Korganizer and in the 'Digital Clock' Plasmoid. I have been experiencing this error approx for an year now, if not more. I use KMail and KOrganizer for work and personal stuff. For work i have Gmail and i think it happens because of that too, because previous work place used outlook and then these errors did not show up. uname -r 5.12.13-300.fc34.x86_64 plasmashell --version plasmashell 5.22.2 kf5-config --version Qt: 5.15.2 KDE Frameworks: 5.83.0 kf5-config: 1.0 KDE Plasma Version: 5.18.3 KDE Frameworks Version: 5.68.0 Qt Version: 5.14.1 journalctl -xe |grep -e 'No items found' -e 'org.kde.pim.akonadiserver: Error'| cut -d ':' -f4- org.kde.pim.akonadiserver: Error while handling command FetchCollections on connection ETMCalendar (0x559384c658f0) org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) "No items found" org.kde.pim.akonadiserver: Error while handling command DeleteItems on connection plasmashell-1906746824 (0x559384d030f0) Created attachment 139950 [details]
Attachment corresponding to the journalctl -xe and grep output
If anyone has ~100 items in their calendar and plasma prints all those errors there's a dirty workaround to clear all the messages, so you dont have to strain your hands. type into krunner: kquitapp5 plasmashell; kstart5 plasmashell Is there anything we can do, to speed this along? This bug makes the Google Calendar Integration unusable.. At worst, it freezes the whole shell, at best it "just" floods my screen with 100s of the described error messages. For anybody experiencing the same issue and their system freezes: i had some luck killing `korgac` in a different tty (via Ctrl+Alt+F2), switching back to plasma and then disabling compositing (via Alt+Shift+F12), which unfroze plasma and allowed me to dismiss all of the error windows.. Especially helpful, when you're in a video call and don't want to hard reset your computer.. Any update on this? My Korganizer calendar will completely delete everything from the application and will not sync to google at all over time....I have to "restart" the calendar in KOrganizer. Created attachment 149060 [details]
Caldav resource configuration
(In reply to kalatehas from comment #8) > Created attachment 149060 [details] > Caldav resource configuration As a workaround, try this. Cannot find the original source. It seems this bug is still very much alive. I discovered today that KOrganizer seems to silently delete random shared events from Google Workspace with no prompt whatsoever. I learned so when a colleague stated that his meeting from the afternoon disappeared from the calendar. When browsing through Google Workspace logs I saw I was the one causing it. Using various filters I identified at least a dozen of similar deletions in the past few months, none of which have been reported by my colleagues. Investigating the cause of the deletion was not easy : I have obviously no memory of what I was doing for past events, but for the one of today I am absolutely certain I was not using the calendar at time of deletion. Plus, the User Agent logged by Google does not correspond to what my Firefox advertise. I then explored the possibility that one of my desktop/mobile calendar app was causing the problem. Thunderbird is locked in read-only mode for shared calendars (in order to avoid mistakes) so unlikely. However KOrganizer was always running in the background. I stopped using KDE PIM for work a few month ago due to a high number of bugs, unexpected behaviors, etc so at that time I removed my Google Workspace account from Kmail. However, it seems that doing so did not also remove my Google account from KOrganizer. Since I still have a KOrganizer instance running in the background for local-only events, it seems to have persisted deleting random stuff from time to time, until I noticed it today. I removed my Google Account from KOrganizer and set up an alert on similar events in Google's security center. This issue caused quite the confusion, I hope to see it gone now, but I thought it should be adequate to update this old bug to provide the info that similar symptoms are still very much happening today. |