Fails to create new daily note
See original GitHub issueWhen clicking on a day without an associated note, and clicking create
, the plugin fails to create a new page with the following error. Using Obsidian Version v0.9.11 on Windows 10 and plugin version v1.2.2.
app.js:1 Uncaught (in promise) TypeError: Cannot read property 'cachedData' of null
at t.<anonymous> (app.js:1)
at app.js:1
at Object.next (app.js:1)
at app.js:1
at new Promise (<anonymous>)
at s (app.js:1)
at t.cachedRead (app.js:1)
at getDailyNoteTemplateContents (eval at <anonymous> (app.js:1), <anonymous>:1091:22)
at createDailyNote (eval at <anonymous> (app.js:1), <anonymous>:1112:36)
at CalendarView._createDailyNote (eval at <anonymous> (app.js:1), <anonymous>:1239:33)
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
s @ app.js:1
t.cachedRead @ app.js:1
getDailyNoteTemplateContents @ template.ts:41
createDailyNote @ template.ts:68
_createDailyNote @ view.ts:134
onAccept @ view.ts:148
eval @ modal.ts:30
async function (async)
eval @ modal.ts:30
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (7 by maintainers)
Top Results From Across the Web
Failed to create daily note - Bug graveyard - Obsidian Forum
Click the Daily Note button in the lefthand tool bar. Expected result. New daily note created in the Daily Notes folder in File...
Read more >Unable to create new file · Issue #66 - GitHub
My weekly note settings: When I select the command "Open Weekly Note" this message appears This message only appears after a weekly note...
Read more >The problem with daily notes : r/ObsidianMD - Reddit
I've been using daily notes since around November, ... I don't make a note every single day, and sometimes use a "daily" note...
Read more >Obsidian Daily Notes Template - YouTube
Web call - https://dannyhatcher.com/contact/ TIMESTAMPS: 0:00 Introduction 0:56 Templater creation TOOLS I USE: OBSIDIAN: ...
Read more >Obsidian 4 Settings for Daily Notes - YouTube
In this video, we take a look at the some settings that I think make Daily Notes a lot more useful in Obsidian.Gear...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just released v1.3.0 which updates the method for finding the daily note template. This should hopefully fix all the issues mentioned in this thread, but I’ll reopen if anyone is still having difficulties!
Ah, right. That sounds plausible. Sorry, I wasn’t aware that Obsidian swallows the file extensions in its file viewer. Thanks for fixing this!