From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlef Steuer Subject: Re: org-caldav problem; used to work Date: Sun, 16 Nov 2014 23:15:31 +0100 Message-ID: <20141116231531.43e7141f@linux-w3xx> References: <20141113154144.3c3e9d20@gaia> <87a93qvmm0.fsf@engster.org> 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]:43938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xq86j-0000uo-EK for emacs-orgmode@gnu.org; Sun, 16 Nov 2014 17:15:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xq86e-0004iI-1m for emacs-orgmode@gnu.org; Sun, 16 Nov 2014 17:15:45 -0500 Received: from mout.gmx.net ([212.227.15.15]:55861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xq86d-0004i5-HX for emacs-orgmode@gnu.org; Sun, 16 Nov 2014 17:15:39 -0500 In-Reply-To: <87a93qvmm0.fsf@engster.org> 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 Cc: David Engster Am Sun, 16 Nov 2014 22:53:11 +0100 schrieb David Engster : > Detlef Steuer writes: > > org-check-agenda-file: Wrong type argument: stringp, nil >=20 > Do M-x toggle-debug-on-error before the sync and you should get a > backtrace for the error. Just post that here and we might be able to > see what's going on. >=20 > -David >=20 Thx David! Here it is: Debugger entered--Lisp error: (wrong-type-argument stringp nil) file-exists-p(nil) org-check-agenda-file(nil) byte-code("\302=08!\210r\303=08!q\210 \203=13 #[(file) "\300\301\215\207" [nextfile (byte-code "\302=08!\210r\303=08!q\210 \203=13 mapconcat(#[(file) "\300\301\215\207" [nextfile (byte-code "\302=08!\210r\303=08!q\210 \203=13 org-icalendar--combine-files(nil "~/Test/Orgmodetest/CaldavKalender/testtodo.org" "~/Test/Orgmodetest/CaldavKalender/caldav-inbox.org") apply(org-icalendar--combine-files nil ("~/Test/Orgmodetest/CaldavKalender/testtodo.org" "~/Test/Orgmodetest/CaldavKalender/caldav-inbox.org")) (if (featurep (quote ox-icalendar)) (apply (quote org-icalendar--combine-files) nil orgfiles) (apply (quote org-export-icalendar) t orgfiles)) (let ((icalendar-file (if (featurep (quote ox-icalendar)) (quote org-icalendar-combined-agenda-file) (quote org-combined-agenda-icalendar-file))) (orgfiles (append org-caldav-files (list org-caldav-inbox))) (org-icalendar-store-UID t) (org-icalendar-include-bbdb-anniversaries nil) (icalendar-uid-format "orgsexp-%h") (org-icalendar-date-time-format (cond ((and org-icalendar-timezone (string=3D org-icalendar-timezone "UTC")) ":%Y%m%dT%H%M%SZ") (org-icalendar-timezone ";TZID=3D%Z:%Y%m%dT%H%M%S") (t ":%Y%m%dT%H%M%S")))) (set icalendar-file (make-temp-file "org-caldav-")) (org-caldav-debug-print 1 (format "Generating ICS file %s." (symbol-value icalendar-file))) (if (featurep (quote ox-icalendar)) (apply (quote org-icalendar--combine-files) nil orgfiles) (apply (quote org-export-icalendar) t orgfiles)) (find-file-noselect (symbol-value icalendar-file))) org-caldav-generate-ics() (setq org-caldav-ics-buffer (org-caldav-generate-ics)) (if (and org-caldav-event-list (y-or-n-p "Last sync seems to have been aborted. Should I try to resume? ")) nil (setq org-caldav-ics-buffer (org-caldav-generate-ics)) (setq org-caldav-event-list nil) (setq org-caldav-sync-result nil) (org-caldav-load-sync-state) (let ((--dolist-tail-- org-caldav-event-list) cur) (while --dolist-tail-- (setq cur (car --dolist-tail--)) (org-caldav-event-set-status cur nil) (setq --dolist-tail-- (cdr --dolist-tail--)))) (org-caldav-update-eventdb-from-org org-caldav-ics-buffer) (org-caldav-update-eventdb-from-cal)) org-caldav-sync() call-interactively(org-caldav-sync record nil) command-execute(org-caldav-sync record) execute-extended-command(nil "org-caldav-sync") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) >=20 Does that help? Detlef