question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fails to create new daily note

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
liamcaincommented, Nov 20, 2020

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!

0reactions
clamydocommented, Nov 19, 2020

Ah, right. That sounds plausible. Sorry, I wasn’t aware that Obsidian swallows the file extensions in its file viewer. Thanks for fixing this!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found