obsidian-tasks: Query stuck on "Loading Tasks"

The very first time I tried displaying queries on my phone, I got a message that Obsidian was indexing my new files. Afterwards, the process of loading my task queries was rather slow, and I could see the result window being populated with one new task per second. I have about 3000 files, of which 300 are tasks (I use 1 file per task). I thought I could speed things up by making sure my queries only referred to the folder which stores my task files, so I added ‘path includes tasks’. However, now ‘Loading tasks’ just goes on forever, and nothing happens. Just to verify how quick things are on my laptop, and restarted Obsidian, and now the queries are stuck there too…

I’m syncing my entire vault using Syncthing. First I thought there could be some issues related to both devices using the same cache files, but in my .obsidian directory, I’m not finding anything that looks like a cache…

The page I’m loading has the following queries

### Tasks
```tasks
not done
path includes tasks
due before today
hide task count
hide due date
hide task count
hide recurrence rule
short mode
not done
due today
path includes tasks
hide task count
hide due date
hide task count
hide recurrence rule
short mode

Tomorrow

not done
due tomorrow
path includes tasks
hide task count
hide due date
hide task count
hide recurrence rule
short mode

Rest of the week

not done
due after tomorrow
due before next week
path includes tasks
hide task count
hide due date
hide recurrence rule
short mode
sort by due

No Due Date

not done
no due date
path includes tasks
hide backlink
hide due date
hide task count
hide recurrence rule
short mode

## Context (Environment)
* Obsidian version: 1.1.1 Android, Samsung A40
* Tasks version: 1.5
* [X] I have tried it with all other plugins disabled and the error still occurs

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 24

Most upvoted comments

Actually, it no longer happens on my side either. Not sure what changed, but I did update Obsidian to 0.14.6. So, let’s close this, but I’ll come back to you should this problem reappear.

Thanks for looking into this, and for providing this very useful piece of software!