I’m wondering if the Dataview plugin is broken in v1.4.4 as I can’t seem to get it to work any more. Maybe there are some tweaks needed in the settings… ?
I looked on the Discord server but don’t know my way around. Under the Dataview Plugin people are discussing how to format specific queries, but I’m not sure if they are on v1.4.4. I posted something there but did not get a response yet.
I had used many “inline Metadata” such as (Topic:: Biology) and changed these to frontmatter and the new Metadata editor in v1.4.4 is happy and works well. Nevertheless, the Dataview queries I used before no longer work.
Did queries that used to work for you, stop working?
It’s still working fine for me.
Can you post your “Show Debug Info”?
And if it is just certain queries that are not working, maybe show an actual example of your Markdown code so people can try to reproduce. (Including some surrounding context, to look for sneaky syntax errors.)
yes, they all stopped working. Here is an example of the frontmatter:
```
Class: Shaper
Topic: Bits
```
here is a query that used to work:
```dataview
Table Class, Topic, Subject
where Class = "Shaper"
SORT "Topic"
```
I also disabled all of the other plugins.
SYSTEM INFO:
Obsidian version: v1.4.4
Installer version: v1.1.15
Operating system: Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 22.6.0
Login status: logged in
Catalyst license: vip
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: adapt to system
Community theme: Things v2.1.13
Snippets enabled: 5
Restricted mode: off
Plugins installed: 42
Plugins enabled: 2
1: Customizable Menu v2.2.0
2: Dataview v0.5.56
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
I edited your post so your code samples can be read. You can surround triple backticks with quadruple backticks. (And to illustrate that, I am surrounding with quintuple backticks.)
````
```dataview
Your code here
```
````
First of all, your installer seems old. (I think. I’m not sure about the numbering system.) You should download and reinstall Obsidian to get full functionality. That might fix it. (It might not.)
Make sure you periodically update your plugins and themes, if you don’t know.
Make sure you restart Obsidian when unloading plugins, to make sure they fully unloaded.
Try temporarily disabling snippets too, just in case one is interfering.
(That’s all I can think of off the top of my head)
I removed the snippets from the .obsidian folder in the root of my vault, but debug shows they are still loaded… even after closing and re-opening Obsidian
There are four different vaults that can be loaded, and the same snippets are probably in the hidden files in those vaults as well… ?
I’ll try downloading everything … Here is the new debug:
SYSTEM INFO:
Obsidian version: v1.4.4
Installer version: v1.3.7
Operating system: Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 22.6.0
Login status: logged in
Catalyst license: vip
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: adapt to system
Community theme: Things v2.1.13
Snippets enabled: 5
Restricted mode: off
Plugins installed: 42
Plugins enabled: 1
1: Dataview v0.5.56
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
How do I disable the snippets? I removed them from the .obsidian folder in the folder where this vault is located, but debug still shows them activated?
I think I am still missing something… I did all the things you suggested. Updated my theme, removed the snippets as I said, but they still show up in debug ?
In settings under appearance, “CSS Snippets” -none found
Where can I disable the snippets showing up in debug?
SYSTEM INFO:
Obsidian version: v1.4.4
Installer version: v1.3.7
Operating system: Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 22.6.0
Login status: logged in
Catalyst license: vip
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: adapt to system
Community theme: Minimal v7.2.1
Snippets enabled: 5
Restricted mode: off
Plugins installed: 42
Plugins enabled: 1
1: Dataview v0.5.56
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
I don’t see any errors, but also don’t know where to look for any. I gave you the screen shot (above) where in settings it says there are none, but debug says there are 5.
Maybe I will put the snippets back into the .obsidian file and see if they show up in “settings”
… let you know.
I appreciate all the time you are spending to help me through this too!
Ok, I put them back into the .obsidian file and one of them (supercharged-links-gen) showed up in settings under appearance. I toggled this one on/off but the other four in debug do not show up here.
I tried Dataview in a Sandbox, and it works there. But not in my vault.
Here is the deebug from the Sandbox
SYSTEM INFO:
Obsidian version: v1.4.4
Installer version: v1.3.7
Operating system: Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 22.6.0
Login status: logged in
Catalyst license: vip
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 1
Plugins enabled: 1
1: Dataview v0.5.56
RECOMMENDATIONS:
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
It’s interesting that no snippets show up.
Maybe I have to remove all the inf hidden somewhere in /applications…
Thanks for this, but I did not see how the issue on the MAC relates to it. (I’m only superficially technical)
The strange thing is that others who use 1.4.4 have dataview working, and I had it working in the sandbox under the same version, but it won’t work in my vault.
Debug shows that there are 5 snippits active, but settings/Appearance shows only one.
Debug in the sandbox shows no snippits.
I thought that by removing the snippits section from the .obsidian file, I could remove them, but even after removing them from this file, they show up in the debug screen.
They are settings files. They belong in your .obsidian folder. You may have just accidentally moved them into the snippets folder.
Well, good that it is evaluating at least. That’s a start.
BACKUP FIRST!!! One of the replies from Licat is saying that it is possible the data that Dataview is storing might have bugs. I am not familiar with this process, but this is how you could potentially try to follow the instructions. BACKUP FIRST!!!
This shouldn’t affect the contents of your vault. But I am not familiar with the subtleties of this procedure. I assume this is just cached data that will be regenerated when you restart.
BACKUP FIRST!!!
Open Obsidian
Open the developer tools. F11 on Windows I think, alt-Cmd-i on Mac.
Go to the “Application” tab
On the left side, you’ll see a bunch of sections. Under “Local Storage”, and “IndexedDB”, try to delete any that are related to Dataview.