-
-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to create a new daily note. File list retrieval error in the background #1398
Comments
As a proof of concept, replacing the aforementioned lines with following function (followed by recompiling and reloading the library) works for me ;;; Navigation
(defun org-roam-dailies--list-files (&rest extra-files)
"List all files in `org-roam-dailies-directory'.
EXTRA-FILES can be used to append extra files to the list."
(let ((dir (org-roam-dailies-directory--get-absolute-path)))
(append (directory-files-recursively dir "\\.org$")
extra-files))) |
juergenhoetzel
added a commit
to juergenhoetzel/org-roam
that referenced
this issue
Jan 28, 2021
juergenhoetzel
added a commit
to juergenhoetzel/org-roam
that referenced
this issue
Jan 28, 2021
juergenhoetzel
added a commit
to juergenhoetzel/org-roam
that referenced
this issue
Jan 28, 2021
juergenhoetzel
added a commit
to juergenhoetzel/org-roam
that referenced
this issue
Jan 28, 2021
jethrokuan
pushed a commit
that referenced
this issue
Jan 28, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
M-x org-roam-dailies-find-date
fails with an error messageNot an Org time string: dataset.cpython-38
.Looks like there is a problem with the implementation of org-roam-dailies--list-files. It searches the
org-roam-dailies-directory
recursively, and removes a hardcoded blacklist. Instead, may I suggest that recursive search be done only for*.org
as a hardcoded whitelist and later ignore adefcustom
based blacklist.Steps to Reproduce
__pycache__
; say something likeemacs -Q
)M-x org-roam-dailies-find-date
Backtrace
Expected Results
to choose a date from calendar and follow it up with org-roam-dailies specific find-file.
Actual Results
Error message
Not an Org time string: dataset.cpython-38
with backtrace as above.Environment
Copy info below this line into issue:
Emacs: GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.22, cairo version 1.17.3)
of 2020-08-28
Framework: N/A
Org: Org mode version 9.3.8 (9.3.8-1-g13dfab-elpaplus @ /home/bvr/.emacs.d/elpa/org-plus-contrib-20200914/)
Org-roam: 1.2.3
Org-roam commit:
org-roam/org-roam-dailies.el
Lines 276 to 287 in 2a1c73c
The text was updated successfully, but these errors were encountered: