obsidian-tasks icon indicating copy to clipboard operation
obsidian-tasks copied to clipboard

Messages at startup "There was an error reading one of the tasks in this vault."

Open claremacrae opened this issue 1 year ago • 2 comments

Please check that this issue hasn't been reported before.

  • [X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior

That Tasks should read all the tasks in my vault without error.

(Am logging this to track my investigation)

Current behaviour

With Tasks 3.0.0, I have received a series of popup error messages at startup, with content also displayed in the content:

image

Text of one error message:

plugin:obsidian-tasks-plugin:175 There was an error reading one of the tasks in this vault.
The following task has been ignored, to prevent Tasks queries getting stuck with 'Loading Tasks ...'
Error: TypeError: Cannot destructure property 'taskSerializer' of 'za(...)' as it is undefined.
File: ACME.md
Line number: 5
Task line: - [x] #task Take out the trash 🔁 every week on Monday 📅 2021-11-15 ✅ 2021-11-15

Please create a bug report for this message at
https://github.com/obsidian-tasks-group/obsidian-tasks/issues/new/choose
to help us find and fix the underlying issue.

Include:
- either a screenshot of the error popup, or copy the text from the console, if on a desktop machine.
- the output from running the Obsidian command 'Show debug info'

The error popup will only be shown when Tasks is starting up, but if the error persists,
it will be shown in the console every time this file is edited during the Obsidian
session.

Steps to reproduce

Unsure whether it was a one-off.

  • Open the Tasks-Demo vault
  • ensure that Tasks 3.0.0 in installed
  • Restart Obsidian

Which Operating Systems are you using?

  • [ ] Android
  • [ ] iPhone/iPad
  • [ ] Linux
  • [X] macOS
  • [ ] Windows

Obsidian Version

1.2.1 insider

Tasks Plugin Version

3.0.0

Checks

  • [ ] I have tried it with all other plugins disabled and the error still occurs

Possible solution

No response

claremacrae avatar Apr 03 '23 16:04 claremacrae