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

lots of errors

Open zsviczian opened this issue 3 years ago • 4 comments
trafficstars

What happened?

For a few weeks now... maybe since I upgraded to 0.5.x sometimes I get thousands of errors when starting Obsidian. Not always, but every now and then. I am guessing this has to do with something in DataView indexing... though I am not really sure.

do these errors look familiar?

image

image

DQL

No response

JS

No response

Dataview Version

0.5.34

Obsidian Version

0.15.1

OS

Windows

zsviczian avatar Jun 17 '22 07:06 zsviczian

Those are indeed being caused by the Dataview indexing - Dataview uses IndexedDB, which is a local file cache that browsers generally provide by default.

Do you have any custom settings / browser configuration / plugins etc that disallow using local storage, or maybe some kind of security auditing that does this? Alternatively, perhaps there isn't any available storage space.

blacksmithgu avatar Jun 18 '22 00:06 blacksmithgu

It could be storage related because it happens intermittently. If it were a custom setting to disallow local storage or a security thing, it would happen consistently every time. It has occurred both on my laptop and desktop a couple of times during the past few weeks.

from an obsidian perspective it seems I don't have an issue with local storage quota: image

Looking around I did find that I was low on local storage for my system drive, I did a bit of cleaning up, and will see if this resolves the problem. That said, there is no space issue on my system drive on the laptop.

zsviczian avatar Jun 18 '22 06:06 zsviczian

@blacksmithgu - so this error seems to happen when I am testing something and turn on and off Obsidian fast with a large test vault. I think the reload of the index does not finish before I close Obsidian, and when I start again some data is corrupted leading to this problem.

The good news is, that this is not a typical usage scenario. Also, this might give you a hint on how to reproduce this flood of errors.

zsviczian avatar Jul 05 '22 17:07 zsviczian

I added a method for dropping the entire file index (Dataview > Force Drop Cache) - does that cause the issues to go away temporarily, out of curiosity? I may be able to recover from this error by doing that specifically to at least reduce thousands of errors to one recoverable error.

blacksmithgu avatar Jul 11 '22 21:07 blacksmithgu