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.04k stars 77 forks source link

Unable to load citations error after editing citekey #201

Open padge01 opened 1 year ago

padge01 commented 1 year ago

After attempting to modify the citekey literature note and markdown template I am receiving the "Unable to load citations, Please update citations plugin settings" error. I returned citekey and markdown to default, and uninstalled and reinstalled plugin. I checked my path for the zotero backup .bib file, and generated a new .bib and received the same error. Can someone double check I have the template fields corrected specified.

Screenshot 2022-10-31 at 9 57 23 PM
orionpilot commented 1 year ago

Everything that you shared in the screenshot seems to be fine, so I don't think that its this part that's the issue. Could you share the two paths that the plugin uses, i.e., the literature note folder path and the citation database path? My guess its one of the paths that is somehow wrong.

padge01 commented 1 year ago

/Users/padraig/Library/Mobile Documents/iCloud~md~obsidian/Documents/Vaulty/My Library.bib This is the pathname of the zotero bib file as copied from finder and as it appears in the Citation database path of the plugin. The literature note folder path is empty

Thanks

Everything that you shared in the screenshot seems to be fine, so I don't think that its this part that's the issue. Could you share the two paths that the plugin uses, i.e., the literature note folder path and the citation database path? My guess its one of the paths that is somehow wrong.

orionpilot commented 1 year ago

First guess is that its the spaces in the path which are causing the issue. Try it again with no spaces in the path nor in the file name.

padge01 commented 1 year ago

First guess is that its the spaces in the path which are causing the issue. Try it again with no spaces in the path nor in the file name.

I moved the library file to a simpler path and renamed it without spaces and tried again in the citation plugin but same error. This is the new path name

/Users/padraig/Documents/MyLibrary.bib

orionpilot commented 1 year ago

Thanks for sharing, its good to have that ruled out.

Though I just noticed in your original message that you're talking about the backup zotero bib file? Have you exported the bib file correctly? My next guess is that its the bib file that's the issue somehow. Could you share it so that I can try and replicate the issue?