jplattel / obsidian-query-language

An Obsidian plugin allowing you to query your notes
176 stars 6 forks source link

Cannot read property of 'concat' of null - Index never builds #33

Open enly1 opened 2 years ago

enly1 commented 2 years ago

Hi - Not sure what the problem is but i've started to get this error being shown on my page:

image

Looking in debug, the index process appears to fail, which makes sense for the rendered message above.

The exception thrown during initial indexing is:

image

I don't have the full debug trace, but I think it was thrown after it had processed several stages and had reached tags.

I do use metadata tags in my notes.

enly1 commented 2 years ago

Note, Obsidian plugin version was 2.0.0, Obsidian version v0.12.19 (Linux)

thatdwayne commented 2 years ago

I have this same issue - Obsidian v0.13.21 (MacOS) Debug output is identical.

When I manually try to rebuild the OQL index, same issue and it appears to happen immediately.

thatdwayne commented 2 years ago

This is still an issue in v0.13.24 (MacOS) - any prognosis? None of my OQL queries work. image

jplattel commented 2 years ago

You could try a rebuild of the index, that might solve it if not it's a bug that still needs to be fixed!

I've started to rewrite the entire codebase to use Svelte instead of just typescript. I'm aiming to release that soon!

swuphoto commented 2 years ago

same issue here. Never get the index built. Hitting the hotkey triggered the same error.