dengste / org-caldav

Caldav sync for Emacs orgmode
GNU General Public License v3.0
724 stars 105 forks source link

Sync not working anymore after org-caldav-delete-everything #237

Open fapdash opened 3 years ago

fapdash commented 3 years ago

I ran org-caldav-sync with org-caldav-inbox not configured, so it put my entries into the wrong file. After that I deleted the synced file via org-caldav-delete-everything and restarted emacs. Now every time I try to sync it says:

CalDAV Sync finished.

Nothing was done.

After sync I have a file in my org-caldav-save-directory:

;; This is the sync state from org-caldav
;; calendar-id: fabian.pfaff@vogella.com
;; Do not modify this file.

(setq org-caldav-event-list
'nil)

(setq org-caldav-previous-files '("~/org/appointments.org"))

~/org/appointments.org doesn't exist.

My config:

(use-package org-caldav
  :ensure t
  :init
  (setq org-caldav-url 'google
          org-caldav-calendar-id "fabian.pfaff@vogella.com"
          org-icalendar-timezone "Europe/Berlin"
          org-caldav-sync-direction 'cal->org
          org-caldav-inbox (concat org_todo "/vogella_caldav_gcal.org")
          org-caldav-save-directory org_todo)
  (load-library "~/repos/dotfiles/emacs/org-gcal-secrets.el.gpg"))

What I've tried so far:

But still the same problem. Does org-caldav cache some additional information somwhere that I'm not aware of?

tigger04 commented 1 year ago

Same problem

tigger04 commented 1 year ago

I've tried to get org-caldav working 3 times over the last year, each time ending in disappointment and lengthy fishing out of those superfluous property box IDs littered all over my org files. A compromise I could live with if the thing ever worked.

I've been around the houses looking for some way of syncing orgmode with caldav over the last 2 years and I think I'm about to give up on orgmode entirely. It's just too old of a technology and Ive literally spend hundreds of hours writing elisp and bash scripts to get it in to my workflow. Perhaps it's time to give up and admit this old beast just doesn't want to integrate with modern tooling despite the best efforts of these well-meaning OSS projects.

Any recommendations for some note-taking app that plays nicely with caldav for tasks and calendar events?