-
Notifications
You must be signed in to change notification settings - Fork 9
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
Unable to create new file #29
Comments
I have the exactly same issue with the same console log. |
I can reproduce this. Weird, I swear it used to work. Maybe something changed with the API... I will investigate and fix this. Thanks for the report! |
Pretty sure I've fixed this in 1.6.4. Apologies for the trouble. (It was a dumb mistake. I removed a user-configurable setting for Daily Notes in a recent release but didn't update the code that was using that setting to find your daily notes folder. Sigh.) |
Thank you! |
I just installed the plug-in this morning (from within Obsidian, not manually). It shows to be version 1.6.4, but I am having these same issues. 1.) settings doesn't have a section to set the daily notes folder. 2.) getting the error of unable to create a new file when attempting to add to a daily note that already exits. |
@cashkeith Shoot. Does your console show the same error pictured above, in the original post in this thread? |
Ryan,
Here is a capture from the console and of what I show in settings. I don’t have the option to set the location for my daily notes, however it does create a new one properly just errors if the note already exists. -ck
On Nov 21, 2021, 10:07 AM -0600, ryanjamurphy ***@***.***>, wrote:
@cashkeith Shoot. Does your console show the same error pictured above, in the original post in this thread?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
This issue still exists on my Mac with the same console log, but it works fine on iOS... |
FYI, the old Readme included an erroneous instruction to configure the location of the daily notes folder. That's no longer in the Readme, because it is no longer necessary. This plugin taps directly into the Daily Notes plugin/Periodic Notes plugin. @shaderein Curious, I can't reproduce it. What's the path for your daily notes, and what's your daily note title format? |
@ryanjamurphy Thanks for reminding me about the title format! Just found out that it's due to the different date formats I used in daily notes title (YYYY-MM-DD-ddd) and in the natural language plugin (YYYY-MM-DD). Making them consistent solves this issue. Didn't notice that before since the future notes created using this review plugin also have the day suffix. (So dumb of me... |
Ha, great, glad it's fixed! |
I came here for the same issue. Could I suggest either:
I believe 2 would be a better solution, as it would allow users to have a different format for the date vs. for the daily note filename. |
Hi there, Thanks for the great plugin. I use this format in my daily notes: I see the following in the dev console:
UPDATE: forgot to mention that it does work the first time (or after deleting the future date's note). |
A small update to fixing this in case helpful. If your daily note has a folder structure (e.g. YYYY/MM-MMMM/DD-dddd), the NLP dates app should only be set to the final part (DD-dddd) to work properly. |
That was it then, thanks! Although that leaves the nldates parser ineffective, as the path won't match, neither the alias I was using. Well at least the note will be recognized by the calendar plugin. |
Trying to add a review to a daily note which was created beforehand pops up a notification that says 'Unable to create new file'.
The following is the console log.
Apparently the function does not check whether the daily note is already created or not.
The text was updated successfully, but these errors were encountered: