What ever org-roam command the I run I get the following error Error running timer: (error "Selecting deleted buffer")
.
This Doom Emacs install is on a fresh Ubuntu 22.04.3 LTS, and I have also tried Ubuntu 23.10.1 (Mantic Minotaur) and still the same error.
This is my org-roam configuration:
(use-package! org-roam
:ensure t
:init
(setq org-roam-v2-ack t)
:custom
(org-roam-directory "~/RoamNotes")
(org-roam-completion-everywhere t)
(org-roam-dailies-capture-templates
'(("d" "default" entry "* %<%I:%M %p>: %?"
:if-new (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>\n"))))
:bind (("C-c n l" . org-roam-buffer-toggle)
("C-c n f" . org-roam-node-find)
("C-c n i" . org-roam-node-insert)
:map org-mode-map
("C-M-i" . completion-at-point)
:map org-roam-dailies-map
("Y" . org-roam-dailies-capture-yesterday)
("T" . org-roam-dailies-capture-tomorrow))
:bind-keymap
("C-c n d" . org-roam-dailies-map)
:config
(require 'org-roam-dailies) ;; Ensure the keymap is available
(org-roam-db-autosync-mode))
This is the backtrace of the error:
set-buffer(#)
(save-current-buffer (set-buffer buf) (org-reveal '(4)))
(closure ((buf . #)) nil (save-current-buffer (set-buffer buf) (org-reveal '(4))))()
apply((closure ((buf . #)) nil (save-current-buffer (set-buffer buf) (org-reveal '(4)))) nil)
timer-event-handler([t 25958 838 237811 nil (closure ((buf . #)) nil (save-current-buffer (set-buffer buf) (org-reveal '(4)))) nil nil 85000 nil])
I have tried the following:
- Delete the
org-roam-db
and then runorg-roam-db-sync
. - Going into emacsql directory >> sqlite and running
make
.
Thank you all in advance.