-
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 note #25
Comments
Yes I am also having this issue (also v 1.6.2 on Windows 10). Any idea of a fix/workaround? For the moment I am setting to review on a date that doesn't yet have a note and then copying to the note I really want but this is not a permanent solution |
Hm. Sorry for the trouble. I'm struggling to reproduce this issue, however. Can someone pull up the console (cmd/ctrl+alt/opt+i, then click the Console tab at the top) and reproduce the issue to see if any errors are reported? Thanks! |
Thanks @ryanjamurphy -- I'm quite new to Obsidian and that key combination isn't doing anything...is there another way to get to the console? |
What operating system are you using, @pwal2425? Note that if it's macOS, the key command should be cmd+opt+i. If Windows, it's ctrl+alt+i. |
Windows 10 and Obsidian v.0.12.3. cmd+opt+i isn't doing anything... |
D'oh, sorry, I had it wrong! It looks like it's ctrl+shift+i on Windows. |
Ah great. This is what the console said when i set '- [ ] Test line' for review today (which already has a daily note called '2021.05.12 Wednesday «Plan»' Checking for block: |
And this is when I set 'Test line 2' for review on a date that does not yet have a note: Checking for block: |
Thanks. It's not clear why this is happening. Still, I just tried a couple of things—update to 1.6.3 and let me know if you see the issue again. |
Using Version 1.6.3 With Obsidian v0.12.3 (In Linux) |
A question for everyone here: What is the format for your daily note filename? @pwal2425, I've located your error: you cannot use periods ( |
Ah. Thanks. Yes I use YYYY.MM.DD for my daily note. Do you know why this only just started happening?
|
The timing's hard to pin down, as there's a number of things that could have changed. Ultimately, though, I'm not sure why it ever would have worked. I think this function is handled by the Daily Notes Interface created by @liamcain—Liam, do you have any quick guesses as to why users can no longer use |
@ryanjamurphy, hmmm looks like that could be an issue on my end. I can take a look. |
@ryanjamurphy I'm using DD-MM-YY format for my daily notes. The first time when I add a note for review it works. New note get created with review section below my template. But if I tried to add another note to same day it shows Do you want me to open a new issue, Since mine seems to be a different issue ? |
Hmm. @samthom what's your console saying when it fails? What is the folder path for your files? |
@ryanjamurphy I am currently using the Daily Note core plugin, as opposed to the one through the periodic notes plugin (though I do use the periodic notes plugin to create weekly notes). So far this approach has not caused problems, but perhaps it is part of the issue here? |
@pwal2425 You could try disabling the Daily Note core plugin and using only Periodic Notes (the functionality is equivalent). I don't think it's your issue, but it's worth a shot. @samthom The plugin (1) checks for a file that matches the filename of the daily note. (2) If it finds no such file, it creates one. (3) If it does find a file, it appends to it. So the problem's likely in (1). Something about your set up is causing the plugin to fail to find the existing note. Is this problem new for you? Did it work previously? If so, when did it change/any guesses as to what might have changed? |
|
This is my template file |
I have the same error log reported here and according to this note I looked at how the target file name is picked -> enabling debug logs it seems that the plugin looks for a file with The problem however is in my Natural language Dates plugin's configuration, where the "Date format" entry was set to "dd.mm.yyyy" instead than "yyyy-mm-dd", so it was impossible for Review plugin to find the proper file name. If this is confirmed by the others, I believe we can close the issue since it's not due to Review plugin. |
@ryanjamurphy @CarloLoTelit |
Amazing! Thanks for your detective work, @CarloLoTelit, and thanks all for your diligence here. @pwal2425 Have you had any luck? I would love to close this issue. |
Yes! Resolved. I had actually checked this as one of the very first possible issues and to the naked eye there seemed not to be a difference, but I copy-pasted for good measure and now it seems to work. Perhaps there was a trailing space or something that I hadn't noticed. |
Related to this though, would it be possible to modify the input coming from natural language dates for review? The situation for me is this:
But maybe too tricky to do? Please let me know if you would prefer me to open another thread for this. |
Closing this thread! @liamcain just to summarize, it's not an issue with the interface. Sorry for the distraction! Thanks all! |
In version 1.6.2 on Windows 10 if a daily note already exists, the plugin is unable to add a new review item
The text was updated successfully, but these errors were encountered: