From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: problem with org-caldav and ox-icalendar: UID property wrapping Date: Wed, 7 May 2014 15:07:35 +0100 Message-ID: <87vbthd6mw.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi2Vl-000372-R4 for emacs-orgmode@gnu.org; Wed, 07 May 2014 10:08:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wi2VY-0003nx-FJ for emacs-orgmode@gnu.org; Wed, 07 May 2014 10:07:53 -0400 Received: from mail-db3lp0082.outbound.protection.outlook.com ([213.199.154.82]:56274 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi2VY-0003nd-8x for emacs-orgmode@gnu.org; Wed, 07 May 2014 10:07:40 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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