blacksmithgu / obsidian-dataview

A data index and query language over Markdown files, for https://obsidian.md/.
https://blacksmithgu.github.io/obsidian-dataview/
MIT License
6.94k stars 411 forks source link

With the new properties insider update dataview has stopped working. #2002

Open DannyHatcher-Git opened 1 year ago

DannyHatcher-Git commented 1 year ago

What happened?

After I updated to the insider build 1.4.0 all my dataview queries stopped working.

This is the error I see image

DQL

No response

JS

No response

Dataview Version

0.5.56

Obsidian Version

1.4.0

OS

Windows

Comprehensive-Jason commented 1 year ago

I had this same issue.

If anyone else has this issue, Obsidian developer Licat suggested to "Try deleting the dataview related entries in devtools > Application > Local Storage and IndexedDB".

AB1908 commented 1 year ago

Hmm we need to figure out a way to fix this before this goes live. We're already drowning in bug reports.

AB1908 commented 1 year ago

@lishid sorry for the ping but any timelines on when 1.4 goes GA? Is this info usually posted anywhere so we don't have to bother you next time?

lishid commented 1 year ago

There is no timeline for going public. As a general rule of thumb, for major feature launches like this it has historically taken about a month for the build to be stable enough for public. I can't say for sure if it'll be the case for this one too though.

Also this doesn't seem like a new bug, and I've received numerous reports that DataView works just fine on 1.4. There are at least 3 other duplicates:

https://github.com/blacksmithgu/obsidian-dataview/issues/1282 https://github.com/blacksmithgu/obsidian-dataview/issues/1321 https://github.com/blacksmithgu/obsidian-dataview/issues/1683

AB1908 commented 1 year ago

Thanks and I did see those earlier but couldn't repro them. Will try to repro on the new version and thanks for the check.

lishid commented 1 year ago

I feel like this isn't related to the new release, but most likely has to do with how dataview is storing data - Perhaps it's storing over a specific limit that causes the storage engine to fail. I think for an attempt to fix, one could automatically wipe all dataview related localstorage or indexeddb data when that error happens.

Recte commented 1 year ago

Not that I want to put more pressure on this issue, but just as an FYI.

According to this forum post the code to list backlinks fails when linking through the properties in version 1.4.5 of Obsidian with dataview v0.5.56. Once the link is in the regular note text thinks work as expected.

AB1908 commented 1 year ago

@Recte can you create a separate issue with repro instructions? Are you able to reliably reproduce in a clean vault/help vault?

Recte commented 1 year ago

@Recte can you create a separate issue with repro instructions? Are you able to reliably reproduce in a clean vault/help vault?

No problem, here you go: https://github.com/blacksmithgu/obsidian-dataview/issues/2029 I afterwards noticed there is a likewise issue, with a slightly older version, here: https://github.com/blacksmithgu/obsidian-dataview/issues/2019

jonathan-s commented 11 months ago

To summarize, so far these are the duplicates.

My suggestion would be to close the duplicates, and summarize this in a new issue. If this would be appreciated I could do this. In that case I would need some assistance in closing the other issues when it's done. My experience of this issue is that the issue will get resolved after a restart of the computer, and there is at least one other person who said the same. What do you think @AB1908

AB1908 commented 10 months ago

Sure feel free to go ahead and I will do the cleanup.

jonathan-s commented 10 months ago

@AB1908 The new issue is mentioned just above this comment.