hans / obsidian-citation-plugin

Obsidian plugin which integrates your academic reference manager with the Obsidian editor. Search your references from within Obsidian and automatically create and reference literature notes for papers and books.
MIT License
1.09k stars 81 forks source link

Issue with Accessing Literature Note #167

Closed jyrg02 closed 2 years ago

jyrg02 commented 2 years ago

Describe the bug I am having issues regarding actually using the citations. I am able to import the citations. I have also created a folder for the literature notes Citation Database: C:\Users\Lenovo\Documents\Degree\Year\Trimester\Course\export.bib Literature notes folder: C:\Users\Lenovo\Documents\Degree\Notes To Reproduce When attempting to insert it with Ctrl+Shift+O I get the following image

Console output Please open the Obsidian developer console (Ctrl+Shift+I). Click anywhere in the console and force reload Obsidian by typing Ctrl+R. Then reproduce the issue you're describing. Please include any relevant error messages that appear in the console in your report here. image

Expected behavior I would expect to happen to get the actual citation Screenshots Error message: image

Platform

Additional context This is the following file for .bib that I am trying to insert as citation https://docs.google.com/document/d/1xGaHG5Tpr5xOT6NPWJmyR1iSgwdl1_qEClAiN6M6ftY/edit?usp=sharing

orionpilot commented 2 years ago

It doesn't look like your note folder is inside the Vault. See this screenshot from the plugin settigns. Try creating a note folder within your Vault. Make sure its already created before trying to create a literature note.

image

jyrg02 commented 2 years ago

It doesn't look like your note folder is inside the Vault. See this screenshot from the plugin settigns. Try creating a note folder within your Vault. Make sure its already created before trying to create a literature note.

image

Nope. Doesn't work. Tried what you suggested. Developer console stays the same. image

Path: C:\Users\Lenovo\Documents\Degree\Year\Trimester\Course\Literature

orionpilot commented 2 years ago

What is the path to your Vault? That Literature in my example is the path from the Vault root folder. That setting wants a relative path from the Vault root, not an absolute path of the filesystem, like you have. Try leaving that folder entry blank. You should be able to create a note in the root folder.

jyrg02 commented 2 years ago

What is the path to your Vault? That Literature in my example is the path from the Vault root folder. That setting wants a relative path from the Vault root, not an absolute path of the filesystem, like you have. Try leaving that folder entry blank. You should be able to create a note in the root folder.

That worked! Solved! Thanks!