KevinBatdorf / obsidian-raycast

Raycast extension with commands for the note taking app Obsidian.
MIT License
106 stars 19 forks source link

Vault Not Found using Open in Obsidian #13

Closed orand closed 2 years ago

orand commented 2 years ago

Search Note works great when I use Quick Look as my primary action. When I change that to Open in Obsidian, search still works, but opening the selected item takes me to Obsidian and displays an error message:

Vault not found Unable to find a vault for the URL obsidian://open?path=%2Fusers%2Fmyusername%2FObsidian%2FVault%20Name%2Ftest%20file.md

marcjulianschwarz commented 2 years ago

Could you please share the path to your vault (the one you entered in Raycast)?

orand commented 2 years ago

/users/myusername/Obsidian/Vault Name

marcjulianschwarz commented 2 years ago

If you are on a Mac your path should start with /Users and not /users. Looks like the Obsidian URI won't work when you don't use the correct upper- and lowercase letters.

orand commented 2 years ago

Oh man, you're 100% right! Your plugin handles it correctly, and Obsidian doesn't! I've been the guy to catch obscure casing issues for others more times than I can count, so very much appreciate you noticing that for me.