emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: problem with org-caldav and ox-icalendar: UID property wrapping
Date: Wed, 7 May 2014 15:07:35 +0100	[thread overview]
Message-ID: <87vbthd6mw.fsf@pinto.chemeng.ucl.ac.uk> (raw)

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

             reply	other threads:[~2014-05-07 14:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-07 14:07 Eric S Fraga [this message]
2014-05-07 15:45 ` problem with org-caldav and ox-icalendar: UID property wrapping 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vbthd6mw.fsf@pinto.chemeng.ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).