aluxnimm / outlookcaldavsynchronizer

Sync Outlook with Google, SOGo, Nextcloud or any other CalDAV/CardDAV server
GNU Affero General Public License v3.0
921 stars 97 forks source link

Some Calendar entries deleted, others duplicated in each sync process on all devices #405

Open ImNotAProgramer opened 11 months ago

ImNotAProgramer commented 11 months ago

Versions as of 16.10.2023: CalDavSynchronizer Version: 4.4.1.0 Windows 11 Home, 22H2, build 22621.2428 Outlook: Microsoft 365 MSO (Version 2309 Build 16.0.16827.20166) 64 Bit

Syncing a Google calendar between PC Outlook and two Android "Google Workspace Calendar"

Is this only me, or does anyone else have this issue? All entries are being duplicated each sync. A lot of new entries are missing. This just started to happen/ I just noticed it.

I am definitely missing a calendar entry on the 23.10. And there are more.

Example Screenshot: CalDAV Calendar issue

fitus85 commented 10 months ago

I have the same problems with: CalDavSynchronizer Version: 4.4.1.0 2x Outlook on Office Desk PC and on Homeoffice Notebook: Microsoft 365 MSO (Version 2310 Build 16.0.16924.20054) 32 Bit Outlook is connected to Kopano via Z-Push CalDav Server to sync with is Nextcloud 27.1.4

I could not find any rule on which items getting doubled or more. Definitely will items get deleted randomly.

rmeissn commented 4 months ago

My friend also tried to sync Outlook with a shared google calender and ended up having thousands of duplicated entries in her calendar with no visible reason or switch for it. She used v4.4.1.0

rmeissn commented 4 months ago

Just for anyone in need of it: I've created two python scripts, based on https://github.com/VladislavEkimtcov/PythonICSDuplicateRemover/tree/master

The first processes an exported ICS file through a calendar library and removes every event after a specific date (duplicated events got this "after date XYZ"). The second one processes the input ICS line by line and also removes everything after a specific date. The latter script might be better in terms of events it can handle, as the calendar library got some drawbacks.

Just edit the files (regarding input filename & date after which events are deleted) and execute these with python <program>.py to produce a ICS file with deduplicated events.

ICS duplicate remover.zip