emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Detlef Steuer <detlef.steuer@gmx.de>
To: emacs-orgmode@gnu.org
Cc: David Engster <deng@randomsample.de>
Subject: Re: org-caldav problem; used to work
Date: Sun, 16 Nov 2014 23:15:31 +0100	[thread overview]
Message-ID: <20141116231531.43e7141f@linux-w3xx> (raw)
In-Reply-To: <87a93qvmm0.fsf@engster.org>

Am Sun, 16 Nov 2014 22:53:11 +0100
schrieb David Engster <deng@randomsample.de>:

> Detlef Steuer writes:
> > org-check-agenda-file: Wrong type argument: stringp, nil
> 
> 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.
> 
> -David
> 

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\b!\210r\303\b!q\210	\203\x13  #[(file)
"\300\301\215\207" [nextfile (byte-code "\302\b!\210r\303\b!q\210
\203\x13  mapconcat(#[(file) "\300\301\215\207" [nextfile (byte-code
"\302\b!\210r\303\b!q\210	\203\x13  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= org-icalendar-timezone "UTC"))
":%Y%m%dT%H%M%SZ") (org-icalendar-timezone ";TZID=%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)


> 

Does that help?

Detlef

  reply	other threads:[~2014-11-16 22:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-13 14:41 org-caldav problem; used to work Detlef Steuer
2014-11-16 21:53 ` David Engster
2014-11-16 22:15   ` Detlef Steuer [this message]
2014-11-16 22:24     ` Rasmus
2014-11-16 23:00       ` Detlef Steuer
2014-11-16 22:37     ` David Engster
2014-11-16 22:58       ` Detlef Steuer
2014-11-16 23:12         ` Nicolas Goaziou

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=20141116231531.43e7141f@linux-w3xx \
    --to=detlef.steuer@gmx.de \
    --cc=deng@randomsample.de \
    --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).