emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* problem with org-caldav and ox-icalendar: UID property wrapping
@ 2014-05-07 14:07 Eric S Fraga
  2014-05-07 15:45 ` Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Eric S Fraga @ 2014-05-07 14:07 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I have been using org-caldav for quite a while now and everything has
been fine with it until a few weeks ago.  All of a sudden, org-caldav
fails to sync with the following error:

,----
| (error "Could not find UID 0400[...]00.")
|   signal(error ("Could not find UID 0400[...]00."))
`----
  
(I have truncated the IDs for clarity and obfuscation using [...].)

The strange thing is that there is no such UID anywhere in my org
files.  However, there is one ID that has this UID as the prefix.  That
is, the ID matches this one but then has more characters.

I have tracked this down to org-icalendar outputing wrapped lines even
for UID entries:

,----
| BEGIN:VEVENT
| DTSTAMP:20140507T114443Z
| UID:0400[...]00
|  00[...]6
| DTSTART;TZID=Europe/London:20120403T060000
`----


Have the recent (in April) changes to ox-icalendar.el affected how IDs
are written out?  If so, could this be reverted?  Mind you, the output
is currently probably more conformant...

Ideally, org-caldav should be fixed to unwrap ID lines.  I can try to do
this but I need some help with regexps, specifically to match across two
lines: "\n ".

thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-937-g60502a

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-06-07 11:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-07 14:07 problem with org-caldav and ox-icalendar: UID property wrapping Eric S Fraga
2014-05-07 15:45 ` Nicolas Goaziou
2014-05-07 20:45   ` David Engster
2014-05-08  8:36     ` Eric S Fraga
2014-06-03 19:54     ` David Engster
2014-06-04  9:56       ` Eric S Fraga
2014-06-05 20:28         ` David Engster
2014-06-07 11:30           ` Eric S Fraga

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).