obsidian-calendar-plugin: Fails to create new daily note
When 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
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (7 by maintainers)
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!