Bugs

My template refuses to run on Wednesday

2y agoClosed

I have a template (type: calendar-note) that is meant to be auto-inserted weekdays and Saturday (repeat: note = day, freq = week, on = [sun, mon, tue, wed, thu, fri, sat], order = 0). And it works every one of those days except Wednesday. I'm at a loss as to why.

If I navigate to a future non-Wednesday weekday, the template is evaluated and inserted. If I navigate to a future Wednesday, nothing happens. If I then press the "Auto-Insert" button, the template is then evaluated and inserted.

Weird?

NotePlan 3.15.2 on MacOS 15.2

and 1 other

6 comments

  1. Existing note files prevented the template from being inserted.

  2. Works for me somehow. Can you share the full template? And logs.

    1. Eduard Metzger

      Same problem in 3.16

      For these logs I turned on logging, navigated to Thursday and watched the template be inserted, navigated to Wednesday and saw that it did not, navigated to today which I have already been using.

      Canny doesn't want to let me upload files with .log extension so I added .txt

    2. Jon Plummer thanks, it also works for me on wednesdays. The template you shared. I think you are opening calendar notes where the file already exists.

      Can you check if the .txt files for those calendar notes already exist? Here is an article with a video where I debugged repeating tasks + auto-insert templates checking for existing calendar notes: https://help.noteplan.co/article/244-repeating-tasks-and-aut…

    3. Eduard Metzger

      Interesting; would a now-deleted recurring task create those notes, now empty?

    4. Okay, yes, that was it – there were many many zero-byte notes for Wednesdays due to a long repeat that was later deleted.