obsidian-tasks-group / obsidian-tasks

Task management for the Obsidian knowledge base.
https://publish.obsidian.md/tasks/
MIT License
2.49k stars 231 forks source link

"Loading tasks" but doesn't load? #1072

Closed dans73 closed 1 year ago

dans73 commented 2 years ago

Expected Behavior

When running the query for tasks, expect to see tasks.

Current behaviour

Plugin just says "Loading tasks" for a few hours now.

Steps to reproduce

No idea why this is happening? It was working fine until today, so not sure really how to reproduce.

Which Operating Systems are you using?

Obsidian Version

0.15.9

Tasks Plugin Version

1.11.0

Checks

Possible solution

No response

claremacrae commented 2 years ago

Please close all files in Obsidian and restart it. This usually fixes the problem. Thank you.

claremacrae commented 2 years ago

I will add some more logging in a future release to help track down the cause.

dans73 commented 2 years ago

Did that...several times. And it's still not working. Any other steps I could try? It's done that before and restarting Obsidian definitely addressed the issue.

On Fri, Aug 26, 2022 at 9:19 AM Clare Macrae @.***> wrote:

Please close all files in Obsidian and restart it. This usually fixes the problem. Thank you.

— Reply to this email directly, view it on GitHub https://github.com/obsidian-tasks-group/obsidian-tasks/issues/1072#issuecomment-1228549551, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDBJPETMTN7KNNOECMCMX3V3DG6RANCNFSM57WSHIZA . You are receiving this because you authored the thread.Message ID: @.***>

--

Regards,

Dan Smock Cell/WhatsApp: +1 (817)776-1592 Skype: dan.smock73

dans73 commented 2 years ago

I just opened a new vault, and the plugin's working there. No notes in it, no other plugins.

claremacrae commented 2 years ago

There have been a couple of these reports in the last few days, and I saw it once on my Mac recently (albeit with modified Tasks code).

I do believe that it’s a genuine problem but think that it must in some way be dependent on the content of people’s vaults. Otherwise there would have been hundreds or thousands of reports.

Can you try and think about what changed recently? Did update obsidian or the tasks plugin recently? Did you add a new task, perhaps with an unusual accent or character in it?

AnnaKornfeldSimpson commented 2 years ago

Are there any warnings or error messages in the Developer Console? (Ctrl+Shift+i on Windows, not available on mobile) To echo Clare, I suspect that Tasks is getting stuck on parsing something in a file, so if you know what files you changed recently, you could try them in the new vault and see if any of them cause the breakage.

dans73 commented 2 years ago

I'll check that next time. In the process of updating files, looks like whatever was causing the issue's been resolved, and it's working now. Thanks for the follow up, clearly something on my end in terms of naming something weird.

On Fri, Aug 26, 2022 at 11:34 AM Anna Kornfeld Simpson < @.***> wrote:

Are there any warnings or error messages in the Developer Console? (Ctrl+Shift+i on Windows, not available on mobile) To echo Clare, I suspect that Tasks is getting stuck on parsing something in a file, so if you know what files you changed recently, you could try them in the new vault and see if any of them cause the breakage.

— Reply to this email directly, view it on GitHub https://github.com/obsidian-tasks-group/obsidian-tasks/issues/1072#issuecomment-1228703173, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDBJPCIT4HLK2U6MMICUTLV3DW2XANCNFSM57WSHIZA . You are receiving this because you authored the thread.Message ID: @.***>

--

Regards,

Dan Smock Cell/WhatsApp: +1 (817)776-1592 Skype: dan.smock73

adzcai commented 2 years ago

I'm running into the same issue on a Mac. Any updates on this?

claremacrae commented 2 years ago

I have seen this a few times on my Mac, usually when I have been updating my Tasks plugin. Every time, restarting Obsidian fixed this problem.

claremacrae commented 2 years ago

I will be tracking this issue in #829.

dans73 commented 2 years ago

I'm in the process of rebuilding the database anyway, going full Johnny Decimal, so might be an opportunity to move things one at a time(ish) and see what the issue is. We had an internet outage recently and it's possible that in syncing there's something in conflict with a weird task/file name that's hanging it up.

claremacrae commented 2 years ago

Thanks @dans73 - if you can, please do let me know how it goes.

dans73 commented 2 years ago

Think it was just one note that had it hung up. Not really sure what I did, since it's been resolved for a while now, but seems to be working?

On Tue, Oct 11, 2022 at 2:37 AM Clare Macrae @.***> wrote:

Thanks @dans73 https://github.com/dans73 - if you can, please do let me know how it goes.

— Reply to this email directly, view it on GitHub https://github.com/obsidian-tasks-group/obsidian-tasks/issues/1072#issuecomment-1274226130, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDBJPDJZKSM7LPGLQWJFP3WCUKMXANCNFSM57WSHIZA . You are receiving this because you were mentioned.Message ID: @.***>

--

Regards,

Dan Smock Cell/WhatsApp: +1 (817)776-1592 Skype: dan.smock73