org-caldav
org-caldav copied to clipboard
org-caldav-fix-todo-priority: Search failed: "PRIORITY:"
Description
I tried to use org-caldav for the first time. So I've created new calendar in Nextcloud (26.0.3) and tried to create new task using TODO.
**** TODO test
:PROPERTIES:
:ID: 12b1d71b-91ea-40a5-b887-11ad0bfcbaf9
:END:
<2023-08-10 чт>
And it returned this in *Messages*
:
"diary.org" 24L, 441C written
Wrote /tmp/org-caldav-gLJRxr
org-caldav-fix-todo-priority: Search failed: "PRIORITY:"
Config
I'm using Doom Emacs v3.0.0-pre
Here's my ~/doom.d/config.el
:
(use-package! org-caldav
:custom
(org-caldav-save-directory "~/org/.caldav_sync")
(org-caldav-url "https://cloud.********/remote.php/dav/calendars/qugalet")
(org-caldav-calendars
'((:calendar-id "1" :files ("~/org/diary.org")
:inbox "~/org/from_calendar.org")
))
(org-icalendar-include-todo t)
)
/tmp/org-caldav-gLJRxr
:
BEGIN:VEVENT
DTSTAMP:20230810T194858Z
UID:12b1d71b-91ea-40a5-b887-11ad0bfcbaf9
DTSTART;VALUE=DATE:20230810
DTEND;VALUE=DATE:20230811
SUMMARY:test
DESCRIPTION:
CATEGORIES:diary
END:VEVENTBEGIN:VTODO
What Emacs and org versions are you using?
Hij @jackkamm, I am experiencing the same issue with org version 9.7 and emacs version 29.1, although I am attempting to sync TODO’s with google calendar
EDIT: Also using the latest version of DOOM
@djs42012 google calendar does not support iCalendar todos, so you shouldn't try to sync the todos as such -- instead you need to sync them as regular calendar events (not using org-icalendar-include-todo
).
@Andrmist it looks like the exported tmp file is mangled -- first of all it is exported as VEVENT instead of VTODO, but then ends with a "BEGIN:VTODO" immediately after. I don't know why it happens in your case, but I did notice that your config is missing some variables for syncing TODOs properly, namely the org-caldav-sync-todo
variable. Try setting that variable to see if it helps -- see the section in the Readme on syncing TODOs.