dengste / org-caldav

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

org-caldav-url-dav-get-properties void 'buffer' variable #240

Closed dschwilk closed 3 years ago

dschwilk commented 3 years ago

I cannot figure out what causes this error on org-caldav-sync. The error happens every other sync attempt. When I try again and choose "y" after the message: "Last sync seems to have been aborted . . .", then the second attempt works. The next sync fails with the same error.

I'm using Nextcloud 21.0.3

Debugger entered--Lisp error: (void-variable buffer)
  org-caldav-url-dav-get-properties("https://nextcloudurl.org/remote.php/dav/calendars/user/calendarid/" "getetag")
  org-caldav-get-event-etag-list()
  org-caldav-update-eventdb-from-cal()
  #f(compiled-function () #<bytecode 0x17c7161>)()
  funcall(#f(compiled-function () #<bytecode 0x17c7161>))
  (let ((org-caldav-skip-conditions (quote (nottimestamp))) (org-caldav-inbox (quote "~/org/personal-cal-inbox.org")) (org-caldav-files (quote ("~/org/filel.org" "~/org/refile.org"))) (org-caldav-calendar-id (quote "calendarid"))) (funcall (quote #f(compiled-function () #<bytecode 0x17c7161>))))
  eval((let ((org-caldav-skip-conditions (quote (nottimestamp))) (org-caldav-inbox (quote "~/org/cal-inbox.org")) (org-caldav-files (quote ("~/org/file.org" "~/org/refile.org"))) (org-caldav-calendar-id (quote "calendarid"))) (funcall (quote #f(compiled-function () #<bytecode 0x17c7161>)))))
  org-caldav-sync-calendar((:calendar-id "calendarid" :files ("~/org/file.org" "~/org/refile.org") :inbox "~/org/cal-inbox.org" :skip-conditions (nottimestamp)))
  org-caldav-sync()
dschwilk commented 3 years ago

I'll close this. I did not fully figure out the cause but I'm managed to get rid of the error.