Skip to content
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

DayPlanner timeline empty after new Daily Periodic Note created #384

Closed
mattmcmanus opened this issue Mar 5, 2024 · 9 comments
Closed
Labels
bug Something isn't working

Comments

@mattmcmanus
Copy link

I've run into this every day the last week or two. Obsidian will have been open for a while. I sit down for the day, create my new daily note, and the DayPlanner panel will stay empty until I restart or reload the app.

Steps to reproduce the behavior:

  1. Create a new daily note (I typically do this with the Action URI plugin, which "Actions for Obsidian uses". I haven't tested this with another way yet)
  2. The new note is based on a template with several stock items already in it
  3. See that the sidebar is empty

Screenshots
Screenshot--Obsidian--2024-03-05--09 20 31@2x

An interesting thing to note, the specific DayPlanner error in the console also appears when reloading or restarting the app...so I'm not sure that's the problem. Maybe it's the interaction between creating a new note with the Actions URI plugin? I'll make tomorrow's note internally to confirm

Screenshot--Obsidian--2024-03-05--09 27 11@2x

@mattmcmanus mattmcmanus added the bug Something isn't working label Mar 5, 2024
@mtomas7
Copy link

mtomas7 commented Mar 5, 2024

I second that. Obsidian restart is needed to populate the timeline.

@rthomae
Copy link

rthomae commented Mar 6, 2024

I have the same issue. I never restart my computer, so I have to restart Obsidian every day after I amke the daily note in order to see timeline.

@Kang-geophysics
Copy link

Kang-geophysics commented Mar 10, 2024

I really love this plugin. But I think many people have the same problem. So I wish this issue is solved as soon as possible.

Same issue

#369 #372

@ivan-lednev
Copy link
Owner

Hello!

Please update and re-check.

@obbardc
Copy link

obbardc commented Mar 10, 2024

It works for me, thank you !

@Kang-geophysics
Copy link

Kang-geophysics commented Mar 10, 2024

It worked well until 0.19.4.
I really appreciate your efforts. Thank you!

BTW, after update of 0.19.5., the console error is not solved yet.
When I open obsidian with opened daily note created before, Day planner works well.
However, when I open obsidian without daily note, Day planner has an additional error such as "_b.call is not a function".

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

Uncaught TypeError: _b.call is not a function plugin:obsidian-day-planner:35398 
    at getScheduledDay (plugin:obsidian-day-planner:35398:111)
    at t (plugin:obsidian-day-planner:8289:22)
    at eval (plugin:obsidian-day-planner:9588:20)
    at l2 (plugin:obsidian-day-planner:9724:193)
    at eval (plugin:obsidian-day-planner:48515:51)
    at sync (plugin:obsidian-day-planner:34525:22)
    at Array.eval (plugin:obsidian-day-planner:34536:9)
    at set2 (plugin:obsidian-day-planner:34484:35)
    at eval (plugin:obsidian-day-planner:47175:13)
    at eval (plugin:obsidian-day-planner:47147:7)

@kin30528
Copy link

kin30528 commented Mar 18, 2024

@ivan-lednev
I'm guessing it's not a version problem,
the Task timeline display error when I automatically update 0.20.2 in ob.

But when I manually download 0.20.1 and replace the original files, the timeline is displayed correctly, and I try to download 0.20.2 again and replace it manually, it is still displayed correctly.

I'll leave a comment if I find new anything. Hope it can be some help. For the time being, this problem can probably be solved by manual download and replace old files!

@ivan-lednev
Copy link
Owner

Hey, @kin30528, could you update and re-check?

@kin30528
Copy link

嘿, @kin30528,您可以更新並重新檢查嗎?

@ivan-lednev thank you, its working, wonderful~~:D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants