logseq / graph-validator

Validate your logseq graphs
MIT License
48 stars 0 forks source link

block-refs-link-to-blocks-that-exist hallucinating errors #6

Closed kerim closed 1 year ago

kerim commented 1 year ago

After manually deleting all the errors, re-indexing, and running block-refs-link-to-blocks-that-exist again, I still get about 5 errors for text that can't be found anywhere in my graph folder.

actual: (not (empty? #{"44530b85-daa1-4be9-b02e-fa218deb9c0e" " <%HIDE%>" "c16a07e8-b39f-45d0-bd76-724b21e0d6c2" "f7e15903-fbfd-4213-8ace-059d30f52cfb" "56c28d9e-5d88-4268-806e-4f9de3cb5225"}))

Using BBEdit's multiple file search these strings don't appear anywhere in my graph folder.

kerim commented 1 year ago

I'm having the same issue now with advanced-queries-have-valid-schema errors. Many of these were to files saved in version-files. I deleted that folder, re-indexed, cleared the cache, and then re-ran graph-validator, but the errors are still showing up. When I search for the text in the errors it doesn't show up anywhere in my graph...

kerim commented 1 year ago

Ah, found the missing files: they were in ".recycle" and thus hidden from my file search. I archived that folder, which fixed the problem with advanced-queries-have-valid-schema, I'll have to go back and see if it fixes the block-refs-link-to-blocks-that-exist errors as well...

kerim commented 1 year ago

UPDATE: Yes, it fixes those as well. Problem solved. Will close this issue.