From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlef Steuer Subject: Re: org-caldav: Syncing Error: Could not find UID... Date: Tue, 10 Dec 2013 11:01:23 +0100 Message-ID: <20131210110123.3a570d6f@gaia.unibw-hamburg.de> References: <3zob4umb2o.fsf@mourningsun.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqK8L-0005D6-Lj for emacs-orgmode@gnu.org; Tue, 10 Dec 2013 05:01:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VqK8F-0002le-PL for emacs-orgmode@gnu.org; Tue, 10 Dec 2013 05:01:41 -0500 Received: from plane.gmane.org ([80.91.229.3]:36927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqK8F-0002lV-I5 for emacs-orgmode@gnu.org; Tue, 10 Dec 2013 05:01:35 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VqK8D-0002sB-Qy for emacs-orgmode@gnu.org; Tue, 10 Dec 2013 11:01:33 +0100 Received: from gaia.unibw-hamburg.de ([139.11.181.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Dec 2013 11:01:33 +0100 Received: from detlef.steuer by gaia.unibw-hamburg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Dec 2013 11:01:33 +0100 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 Hi! I spent most of yesterday afternoon on toying with org-caldav. It came out as a more or less frustrating afternoon. A while (a year?) ago I had setup a _working_ script to export multiple calendars to owncloud. Owncloud wasn=C2=B4t stable enough at that time, so I stopped using it. Now I=C2=B4m trying to setup a "department cloud" and use it again.=20 Two (small) of my three org files are exported fine as expected. That means it works in principle. The third (large) file gives a lot of problems. 1. I had the same error message as Daniel. I remember my critical UID beginning with TS10...., too. Strange.=20 2. _All_ headlines get IDs. Not only those with an active time stamp. The note to self "Do experiments on copies only" now has red color and an increased font size. =20 3. While stepping through my script line by line I saw some R and lisp Code executed by org-babel while exporting calendar data. That was unexpected for me and I *believe* that was related to the UID error. I am not sure, but at one point it *once* exported my ToDos, afterwards returning the good old UID error. (org-caldav-delete-everything) didn=C2=B4t change a thing here, too. =20 All components used were recent git pulls. Because I tried more an more things with increasing levels of impatience I have no useful logs, but I at least want to confirm Daniels problems.=20 Here is my setup for export (HOSTNAME replaced): =3D=3D=3D Todo.el (add-to-list 'load-path "~/GIT/org-mode/lisp/") (require 'org) (setq org-icalendar-include-todo t) (setq org-icalendar-use-deadline '(todo-due)) (setq org-icalendar-use-scheduled '(event-if-not-todo)) (require 'auth-source) (setq auth-sources '((:source "~/.netrc" :host t :protocol t))) (setq auth-source-debug t) (add-to-list 'load-path "~/GIT/org-caldav/") (setq org-caldav-url "https://HOSTNAME/owncloud/remote.php/caldav/calendars/steuer") (setq org-caldav-calendar-id "todo")=20 (setq org-caldav-files '("~/.pim/todo.org") )=20 (setq org-caldav-inbox "~/.pim/caldav-inbox.org")=20 (require 'org-caldav)=20 (org-caldav-sync) =3D=3D=3D This is called with: emacs --batch --load ${HOME}/Scripts/Todo.el inside a larger script. When I find time I=C2=B4ll construct a minimal example, but not today. Any hints very appreciated. Detlef Am Fri, 06 Dec 2013 13:13:35 +0100 schrieb Daniel Thom : > Hi, >=20 > because of this error i switched from owncloud to baikal. But the > error stays the same.... >=20 > Every sync aborts with the message: > Could not find UID TS10-aa7e8257-c44f-47ef-b8ac-eb72130b8156. >=20 > The Message Buffer says: > Duplicate ID "29b80a9d-597d-459e-bea5-f5f671b59ea5", also in file > ..... > ..... > .... > WARNING: 28 duplicate IDs found, check Messages buffer > progn: Could not find UID TS10-aa7e8257-c44f-47ef-b8ac-eb72130b8156. >=20 > I have also run "C-u M-x org-caldav-delete-everything" but it changed > nothing. :-( >=20 > How can i solve this error? >=20 > Emacs Version: GNU Emacs 24.3.50.1 > orgmode Version: Org-mode version 8.2.1 > org-caldav: fresh install (git clone) >=20