dartungar / obsidian-simple-note-review

Simple, customizable plugin for easy note review, resurfacing & repetition in Obsidian.md.
MIT License
57 stars 2 forks source link

Obsidian hang at startup #63

Open net-frog opened 5 months ago

net-frog commented 5 months ago

I have added a note set with a tag. Everything works fine after the installation but after restart start obsidian gets stuck at loading plugins. I have also noticed that after the last note, I get an error find the next note and obsidian hangs in start.

When the queue is empty obsidian hangs in the startup.

"queue": { "filenames": []

gemlad commented 5 months ago

I'm also getting a hanging Obsidian start up after clearing a noteset yesterday so the query is now empty. (Windows desktop, Obsidian 1.5.11 , simple note review 1.2.4)

gemlad commented 5 months ago

Just deleted the empty note set in data.json and Obsidian loads fine now.

net-frog commented 5 months ago

Is there any update on this?

dartungar commented 5 months ago

@net-frog I'm tight on time right now; will look at it when I get a breather. As a temporary fix, you can do the same thing @gemlad did and see if it fixes the issue.

net-frog commented 5 months ago

As far as I investigated there is no empty note with the tag I use with the set.

I will investigate it further.

dartungar commented 5 months ago

@gemlad @net-frog I've made a quick fix that should fix Obsidian's hanging up because of empty noteset queues - please try version 1.2.5 and check if it's indeed fixed.

net-frog commented 5 months ago

@gemlad @net-frog I've made a quick fix that should fix Obsidian's hanging up because of empty noteset queues - please try version 1.2.5 and check if it's indeed fixed.

I have tried but unfortunately the issue is very much there.

gemlad commented 5 months ago

Yup - same. Just created a query that gives an empty note set and it's hanging on 'Loading plugins'

dartungar commented 5 months ago

@gemlad @net-frog uh, turns out that was not all of the problem. How about trying new 1.2.6? I think I finally got it. Sorry for freezing your Obsidian.

net-frog commented 5 months ago

Thank you so much for your efforts. The issue is indeed resolved. However, at the end of the review I get an error message which is ok as the queue is empty, but instead if a tick is marked on the noteset instead of error message if would be better.

Thank you again for your great work.

Screenshot from 2024-04-06 12-41-19