ivan-lednev / obsidian-day-planner

An Obsidian plugin for day planning with a clean UI and a simple task format
MIT License
1.93k stars 485 forks source link

Onload Error #426

Open moooooo16 opened 2 months ago

moooooo16 commented 2 months ago

Describe the bug Below error shows during on-load, and lead to all funciton freeze.

app.js:1 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'children')
    at t.getSideLeaf (app.js:1:2222985)
    at t.getRightLeaf (app.js:1:2221766)
    at DayPlanner.initTimelineLeafSilently (plugin:obsidian-day-planner:49154:32)
    at async DayPlanner.onload (plugin:obsidian-day-planner:49193:5)

To Reproduce Steps to reproduce the behavior:

  1. Create new vault
  2. Download community plugin Day planner
  3. refresh obsidian
  4. Error display in console

Expected behavior No error

Screenshots Screenshot 2024-04-10 at 06 30 18

kjarnot commented 2 months ago

I'm having the same issue. This may be related to an issue I've been having where the day planner interface stops responding/updating.

sepatel commented 2 months ago

I'm having the same issue. This may be related to an issue I've been having where the day planner interface stops responding/updating.

I just created a bug report for why that stopping issue was happening for me https://github.com/ivan-lednev/obsidian-day-planner/issues/438

It might be the same for you I don't know. But while this particular this is annoying, I haven't yet figured out what the collateral damage of this issue is. But I would still like to see this one get fixed.