org-caldav
org-caldav copied to clipboard
WARNING: 1 duplicate IDs found
I am trying out org-caldav on a sample google calendar with a single event. After setting everything up and calling org-caldav-sync I get the warning
Warning (emacs): WARNING: 1 duplicate IDs found, check *Messages* buffer
in Messages I see
Contacting host: apidata.googleusercontent.com:443
Duplicate ID "275c7768-0c4c-4bb8-9425-c28abb03d5c0"
2 files scanned, 2 files contains IDs and in total 44 IDs found.
progn: Could not find UID [email protected].
However, my single event in the calendar is in my org file and the UID is there
* Test
:PROPERTIES:
:ID: [email protected]
:END:
<2020-05-18 Mon 11:00-12:00>
Moreover, the temporary file shows the same event
BEGIN:VEVENT
DTSTAMP:20200516T222343Z
UID:[email protected]
DTSTART;TZID=Europe/London:20200518T110000
DTEND;TZID=Europe/London:20200518T120000
SUMMARY:Test
DESCRIPTION:<2020-05-18 Mon 11:00>–<2020-05-18 Mon 12:00>
CATEGORIES:caldav
END:VEVENT
Is there a way to troubleshoot this?
Did you save your test file after running org-caldav-sync? It doesn't save the file by itself, so you must do it manually If you don't, org-caldav won't see the UID on its next run, which could explain the error.
I did save the file after running org-caldav-sync. Even the first time I run org-caldav-sync I get
CalDAV Sync finished.
== Sync errors:
None.
== Successful syncs:
UID: [email protected]
Title: (Could not find UID)
Status: new-in-cal Action: cal->org
Then, after saving the file, the next run of org-caldav-sync gives
progn: Could not find UID [email protected].
Another run of org-caldav-sync given a confirmation to continue an aborted sync and the cycle repeats.
@haji-ali I see the same error and subsequent behaviour. Were you able to solve this?
See also https://github.com/dengste/org-caldav/issues/230.