org-roam-ui icon indicating copy to clipboard operation
org-roam-ui copied to clipboard

[BUG] Cannot open load file: No such file or directory, org-roam-dailies

Open fleimgruber opened this issue 3 years ago • 7 comments

Describe the bug

org-roam-dailies is not available as dependency in latest org-roam, error origin here.

To Reproduce

  1. org-roam from master
  2. org-roam-ui from master

Loading it in Spacemacs layer via use-package like so

(defun my-org-roam/init-org-roam-ui ()
  (use-package org-roam-ui
    :after org-roam
    :config
    (setq org-roam-ui-sync-theme t
          org-roam-ui-follow t
          org-roam-ui-update-on-save t
          org-roam-ui-open-on-start nil)))

Expected behavior org-roam-ui can be loaded.

fleimgruber avatar Dec 05 '21 15:12 fleimgruber

Ah thanks for letting me know! I will remove that requirement.

tefkah avatar Dec 09 '21 14:12 tefkah

Hmm I'm actually not sure what you mean with "is not available as a dependency in the latest org-roam": it seems to me to still be available https://github.com/org-roam/org-roam/blob/66e10df943e49ca45e39788627c67e3506c84bfb/extensions/org-roam-dailies.el

Not requiring it is leading to some problems, so I will add it back for the time being, could you let me know if it breaks again?

tefkah avatar Jan 03 '22 15:01 tefkah

Sure, will test it again then.

fleimgruber avatar Jan 03 '22 15:01 fleimgruber

Thanks!

tefkah avatar Jan 03 '22 16:01 tefkah

I looked into this and found the reason for the error. I am loading org-roam from Github with the Spacemacs layer system. In the layer in question, the fetcher needs to know that org-roam-dailies.el lives in the extensions subdirectory upstream.

So something like:

(defconst my-org-roam-packages
  '((org-roam :location
              (recipe :fetcher github :repo "org-roam/org-roam" :files (:defaults "extensions/org-roam-dailies.el")))
    (org-roam-ui :location
                 (recipe :fetcher github :repo "org-roam/org-roam-ui"))))

So this is resolved for me. I'll leave it up to you if you want to document this somewhere, otherwise can be closed from my side.

fleimgruber avatar Jan 04 '22 17:01 fleimgruber

I can confirm I am still getting this error when compiling org-roam-ui

arichiardi avatar Sep 28 '22 17:09 arichiardi

same problem here :(

ygol avatar Oct 13 '22 06:10 ygol