ryanjamurphy/DEVONlink-obsidian

Cannot Open/Reveal the note in the database with Obsidian v0.12.1

Closed this issue · 2 comments

This plugin stops working when trying to open/reveal the note in the database after updating to Obsidian v0.12.1. It still works when opening a note from DT to Obsidian. Specifically, I got the following error messages from Obsidian console:

Uncaught (in promise) Error: Command failed with exit code 1: osascript -e tell application id "DNtp"
							activate
							try
								set theDatabases to databases
								repeat with thisDatabase in theDatabases
									try
										set theNoteRecord to (first item in (lookup records with file "Inbox.md" in thisDatabase))
										set newDEVONthinkWindow to open window for record theNoteRecord with force
										activate
										return "success"
									end try
								end repeat
							on error
								return "failure"
							end try
						end tell
34:42: execution error: DEVONthink 3 got an error: Can’t continue activate. (-1708)
    at makeError (eval at <anonymous> (app.js:1), <anonymous>:1259:11)
    at handlePromise (eval at <anonymous> (app.js:1), <anonymous>:2129:26)
    at async runAppleScriptAsync (eval at <anonymous> (app.js:1), <anonymous>:2284:19)

Sorry, missed this issue. Are you still having this problem? I have not been able to reproduce it.

It looks like the plugin couldn't activate DEVONthink 3 for some reason.

It's working for me with Obsidian v0.12.3 now.