zsviczian / excalibrain

A graph view to navigate your Obsidian vault
MIT License
685 stars 18 forks source link

Excalibrain doesn't work in some configurations #225

Open Alezy80 opened 5 days ago

Alezy80 commented 5 days ago

It shows "Open document in another pane..." and does not react.

The problem is solved by changing .obsidian\plugins\obsidian-excalidraw-plugin\data.json. The parameter "previousRelease": null, must be set to not null, like "previousRelease": "2.5.0",

Alezy80 commented 3 days ago

I can't find, how previousRelease can be NULL.

The only idea, that I've use Lazy Plugin Loader, and it can call unload functions in another time or order, not like an obsidian.

In ExcalidrawPlugin.onunload() you have set PLUGIN_VERSION = null;, and in ReleaseNotes.onclose() you're set this.plugin.settings.previousRelease = PLUGIN_VERSION. Maybe it can interfere?

PS. For now, I can't reproduce an error, but absolutely it was here.