You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't precisely describe what is happening here but the title is the best logical explanation I can come up with to describe this issue. Essentially, the quick switcher and update literature note commands are broken and the only thing that seems to fix them is modifying the literature note prior to running these commands. As such it seems that if the commands run and get a version of the file that matches some cached version it has, the command breaks. Mind you this is not the version it would recreate if it recreated the file using the existing templates, but rather the file itself. I know this because I added a simple newline to an existing file and just that amount of change fixed the issue.
This is easily reproducible in a new Vault using my settings file (attached). You will have to update the Zotero location obviously and use your own Zotero Notes to reproduce but otherwise follow these instructions:
Create a New Vault and Install (but do not enable ZotLit)
Move my data.json here into the Zotlit plugin directory in .obsidian
Enable Zotlit (add a hotkey for the zotlit quickswitcher like CtrlShiftO to make things easier)
Quick Switch to your first note
Quick Switch to a second note
These note files should now exist and you should now be able to quick switch between them
Close the vault and reopen
Now, the quick switcher fails to load either note, even if you have one of the notes open. Verify the inspector (ctrl alt I (for Indico not L)) produces a console NoteExistsError every time you run the quick switcher
Change a single thing in both files
Now the quick switcher works...
I seem to have ruled out a template issue, so now I'm left wondering what in my settings could be contributing to this? Not to mention all the other glitches I'm having such as the inconsistency in what the object browser shows and what's truly defined within the it object (particularly annotations are undefined when not and notes are empty when they should have items)
I can't precisely describe what is happening here but the title is the best logical explanation I can come up with to describe this issue. Essentially, the quick switcher and update literature note commands are broken and the only thing that seems to fix them is modifying the literature note prior to running these commands. As such it seems that if the commands run and get a version of the file that matches some cached version it has, the command breaks. Mind you this is not the version it would recreate if it recreated the file using the existing templates, but rather the file itself. I know this because I added a simple newline to an existing file and just that amount of change fixed the issue.
This is easily reproducible in a new Vault using my settings file (attached). You will have to update the Zotero location obviously and use your own Zotero Notes to reproduce but otherwise follow these instructions:
I seem to have ruled out a template issue, so now I'm left wondering what in my settings could be contributing to this? Not to mention all the other glitches I'm having such as the inconsistency in what the object browser shows and what's truly defined within the
it
object (particularly annotations areundefined
when not andnotes
are empty when they should have items)Obsidian-Zotlit: 1.1.9
Obsidian-Zotero: 1.0.1
Zotero: 7.0.9
Obsidian: 1.7.7
The text was updated successfully, but these errors were encountered: