[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] org-caldav problem; used to work
From: |
Detlef Steuer |
Subject: |
[O] org-caldav problem; used to work |
Date: |
Thu, 13 Nov 2014 15:41:44 +0100 |
Hi!
Finally I want to put my org-calendar into owncloud for easy access
everywhere.
I tried before, but had difficulties with UIDs maybe a year before
and gave up.
Nevertheless: Last time I tried the basics were easy and I had
a script working for small files. Now I get an error and am running out
of steam after a few hours of trying:
==
testtodo.org looks like this:
* Test1
SCHEDULED: <2014-11-20 Mi 19:00-20:00>
==
If now I enter M-x org-caldav-sync
I get the following in *Messages*
Contacting host: CORPORATESERVER:443
auth-source-search: found 1 results (max 1) matching (:max 1 :host
"CORPORATESERVER:443" :port "https")
auth-source-search: found 1 CACHED results matching (:max 1 :host
"CORPORATESERVER:443" :port "https")
Contacting host: CORPORATESERVER:443
org-check-agenda-file: Wrong type argument: stringp, nil
gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly
terminated.
And in *org-caldav-debug*
========== Started sync.
Check connection for
https://cloud.unibw-hamburg.de/owncloud/remote.php/caldav/calendars/steuer/testtodo/.
Generating ICS file /tmp/org-caldav-70960sU.
The ICS file is empty.
My minimal init.el used for these experiments:
;;;; Org Mode ;;;
(setq load-path (cons "~/.emacs.d/org-mode/lisp" load-path))
(setq load-path (cons "~/.emacs.d/org-mode/contrib/lisp" load-path))
(require 'org)
;; The following lines are always needed. Choose your own keys.
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(add-hook 'org-mode-hook 'turn-on-font-lock)
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
(setq org-directory "~/Test/Orgmodetest/CaldavKalender")
(setq org-default-notes-file (concat org-directory "/inbox.org"))
(define-key global-map "\C-cc" 'org-capture)
(setq org-agenda-files
(quote("~/Test/Orgmodetest/CaldavKalender/testtodo.org")))
(require 'auth-source)
(setq auth-sources '((:source "~/.netrc" :host t :protocol t)))
(setq auth-source-debug t)
; for org-caldav
;;(setq org-icalendar-include-todo t)
;;(setq org-icalendar-use-deadline '(todo-due))
;;(setq org-icalendar-use-scheduled '(event-if-not-todo))
(setq org-icalendar-timezone "Europe/Berlin")
(setq load-path (cons "~/.emacs.d/org-caldav" load-path))
(setq org-caldav-url
"https://CORPORATESERVER/owncloud/remote.php/caldav/calendars/steuer")
(setq org-caldav-calendar-id "testtodo")
(setq org-caldav-files '("~/Test/Orgmodetest/CaldavKalender/testtodo.org") )
(setq org-caldav-inbox "~/Test/Orgmodetest/CaldavKalender/caldav-inbox.org")
(require 'org-caldav)
---
emacs is invoked as
emacs -Q -l init.el testtodo.org
emacs-24.4.1
org 8.3beta from today
The server (and the paths) works. At least I can sync my mobile.
Any obvious mistake on my side?
Where does org-check-agenda-file happen?
How can I debug any further?
Any help appreciated!
Detlef
- [O] org-caldav problem; used to work,
Detlef Steuer <=