org-caldav
org-caldav copied to clipboard
diary-float entry not synced
Hello,
I'd like to schedule entries for my daughter English classes - all the weeks in July, Mon-Fri, 8:00-12:00 and have the following entry (just for Monday) in my org file:
** ljetni kamp
<%%(diary-float 7 1 1)>
** Rijeka
<2016-06-24 Pet 07:30-22:00>
However, after invoking org-caldav-sync I get:
CalDAV Sync finished.
== Sync errors:
None.
== Successful syncs:
UID: ff11aa29-241f-4885-99f2-edd26d1d6fbe
Status: deleted-in-org Action: removed-from-cal
Calendar: gour-calendar
UID: fe628acb-9b1a-455d-94a7-eb28d670e141
Title: Rijeka
Status: new-in-org Action: org->cal
Calendar: gour-calendar
and although the entry 'ljetni kamp' is generated in my Agenda it's not synced, although it gets UID, but only regular entry 'Rijeka' is properly synced.
Before that I was trying with:
<%%(org class ...)>
but it didn't work as well..
Another concern is that I'd like to get entry for the time-range when the class is scheduled and if I modify my entry like:
** ljetni kamp 08:00-12:00
<%%(diary-float 7 1 1)>
then I get the following error:
Debugger entered--Lisp error: (error "Error while getting eventlist from https://mydomain.tld/remote.php/caldav/calendars/calid/gour-calendar/. Got status code: 400.")
signal(error ("Error while getting eventlist from https://mydomain.tld.net/remote.php/caldav/calendars/calid/gour-calendar/. Got status code: 400."))
error("Error while getting eventlist from %s. Got status code: %d." "https://mydomain.tld/remote.php/caldav/calendars/calid/gour-calendar/" 400)
org-caldav-get-event-etag-list()
org-caldav-update-eventdb-from-cal()
org-caldav-sync-calendar((:calendar-id "gour-calendar" :files ("~/emacs/org/gour.org") :inbox "~/emacs/org/gour-calendar.org" :url "https://mydomain.tldremote.php/caldav/calendars/calid"))
org-caldav-sync()
call-interactively(org-caldav-sync record nil)
command-execute(org-caldav-sync record)
execute-extended-command(nil "org-caldav-sync")
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)
so I wonder if there is a way to sync diary-float-generated events as well as to get time range for the events' duration as well?
I have this same issue, though I don't get an error when I put a timestamp in the entry like your "ljetni kamp" example.
The README is a little confusing where it says "If they are inside an Org entry, there's a good chance they will be exported (see below) and have an ID property, so they can be found by org-caldav. We can sync the title, but syncing the timestamp with the s-expression is just infeasible, so this will generate a sync error." First of all, I don't get a sync error with my diary-float entry. And if the title is synced, but the timestamp isn't, I don't understand the consequences of that. How can an entry exist in a calendar without a timestamp?