emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-caldav: VTODO entries without DTSTART
@ 2015-05-22  7:16 Tractatus
  0 siblings, 0 replies; only message in thread
From: Tractatus @ 2015-05-22  7:16 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I am testing syncing my ical files via Radicale CalDAV Server to org
usinf org-caldav. For some files I get an error "Format specifier
doesn't match argument type". [2]

In my ical files generated by Mozilla Icedove are VTODO entries [1]
without a DTSTART field. [1] I think this causes the error.
Since I do not care to sync VTODO'S is there a way to filter them out
before they are processed? Can this error be avoided?

The code seems to try to deal with missing dtstarts:
https://github.com/dengste/org-caldav/blob/master/org-caldav.el#L1198
but the error seems to occur before that:
https://github.com/dengste/org-caldav/blob/master/org-caldav.el#L1175


[1]
BEGIN:VTODO
CREATED:20150522T053330Z
LAST-MODIFIED:20150522T053352Z
DTSTAMP:20150522T053352Z
UID:b3a0257d-cf04-4675-825d-f47b802e5838
SUMMARY:test TODO
X-RADICALE-NAME:b3a0257d-cf04-4675-825d-f47b802e5838.ics
END:VTODO

[2]
Debugger entered--Lisp error: (error "Format specifier doesn't match
argument type") format("%02d:%02d" "nil" nil)
  icalendar--datetime-to-colontime(nil)
  (let* ((calendar-date-style ...) (ical-list ...) (e ...)
(zone-map ...) (dtstart ...) (dtstart-zone ...) (dtstart-dec ...)
(start-d ...) (start-t ...) (dtend ...) (dtend-zone ...)
(dtend-dec ...) (dtend-1-dec ...) end-d end-1-d end-t (summary ...)
(description ...) (rrule ...) (rdate ...) (duration ...)) (if (and
dtstart ...) (setq start-t nil)) (when duration (let ... ... ... ...))
(setq end-d (if dtend-dec ... start-d)) (setq end-1-d (if
dtend-1-dec ... start-d)) (setq end-t (if ... ... start-t)) (list
start-d start-t (if end-t end-d end-1-d) end-t summary description))
org-caldav-convert-event()

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-22  7:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-22  7:16 org-caldav: VTODO entries without DTSTART Tractatus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).