workbench-obsidian
workbench-obsidian copied to clipboard
Workbench doesn't open
Hi there,
I'm running Obsidian version 0.12.4 and just tried installing the Workbench plugin. The pencil icon appears on the left toolbar, but when I click on it nothing happens. The console shows the following error:
Uncaught TypeError: Cannot read property 'path' of undefined at HTMLDivElement.eval (eval at
(app.js:1), :98:102)
Drilling down to the source, it appears the problem is here:
obsidianApp.workspace.openLinkText(workbenchNoteTitle, workbenchNoteFile.path, true, MarkdownPreviewView);
Any clues?
Thanks!
Hm. Does the Workbench note (as specified in the plugin settings, or via the "Change your Workbench" command) exist?
No -- there's no "Workbench.md" file anywhere in my vault, and that's definitely the name used by the Workbench settings.
I tried manually creating a "Workbench.md" file, and the pencil icon now opens that file -- it just seems that the "Workbench.md" file isn't being created for some reason.
The same thing happened on both machines I use Obsidian on, by the way. I'm happy to do more debugging if I can help track this down in any way...
So is it working now that you've manually created the Workbench.md note?
I should fix the plugin—it should create the targeted note for you if it doesn't already exist. This is just something I didn't build in from the get-go.
Did you ever end up adding the function of creating a targeted note automatically?