meedstrom / org-node

A notetaking system like Roam using Emacs Org-mode
GNU General Public License v3.0
163 stars 6 forks source link

No such file or directory .... /org-node #72

Open tbdcit opened 1 day ago

tbdcit commented 1 day ago

When saving an org mode buffer I get the following error:

 Opening directory: No such file or directory, /var/folders/30/d05v9w054t585n6w4xfzc3280000gn/T/org-node

I guess this problem is related to the fact that emacs is installed using nix. What is org-node trying to open?

meedstrom commented 23 hours ago

Not sure. I guess it'd have to be the directory created by (org-node--tmpfile), which would normally be /tmp/org-node/.

FWIW, that function gets much less use in the latest version, and won't run on save. What's your installed version (or when'd you last update)?

tbdcit commented 17 hours ago

Here is the full error message

error in process sentinel: let*: Opening directory: No such file or directory, /var/folders/30/d05v9w054t585n6w4xfzc3280000gn/T/org-node
error in process sentinel: Opening directory: No such file or directory, /var/folders/30/d05v9w054t585n6w4xfzc3280000gn/T/org-node

I am on versions 1.9.5 and 1.6.3 of org-node and org-node-fakeroam, and here are the relevant parts of by config

(use-package org-node
  :straight (org-node :type git :host github :repo "meedstrom/org-node"
                      :tag "1.9.5")
  :custom
  (org-node-alter-candidates t)
  (org-node-ask-directory t)
  (org-node-extra-id-dirs  '("~/Dropbox/org"))
  :config
  (org-node-cache-mode))

(use-package org-node-fakeroam
  :straight (org-node-fakeroam :type git :host github :repo "meedstrom/org-node-fakeroam"
                   :tag "1.6.3")
  :custom
  (org-node-creation-fn #'org-node-fakeroam-new-via-roam-capture)
  (org-node-slug-fn #'org-node-fakeroam-slugify-via-roam)
  (org-node-datestamp-format "%Y%m%d%H%M%S-")
  :config
  (org-node-fakeroam-redisplay-mode)
  (org-node-fakeroam-db-feed-mode)
  (org-node-fakeroam-fast-render-mode)
  (org-node-fakeroam-jit-backlinks-mode) 
  (org-node-fakeroam-db-feed-mode))

(use-package org-roam
  :straight t
  :hook (org-roam . visual-line-mode)
  :custom
  (org-roam-db-location "~/.emacs.d/org-roam.db")
  (org-roam-directory "~/Dropbox/org")
  (org-roam-mode-sections
   (list #'org-roam-backlinks-section
     #'org-roam-reflinks-section
     #'org-roam-unlinked-references-section))
  (org-roam-db-update-on-save nil)
  (org-roam-link-auto-replace nil)
  :config
  (org-link-set-parameters
       "id" :follow #'org-id-open :store #'org-id-store-link-maybe))