chrisgrieser / shimmering-obsidian

Alfred Workflow with dozens of features for controlling your Obsidian vault.
https://alfred.app/workflows/chrisgrieser/shimmering-obsidian/
MIT License
850 stars 41 forks source link

[Bug]: osteup doesn't recognize the pluging #61

Closed raphaelhuleux closed 2 years ago

raphaelhuleux commented 2 years ago

Bug Description

When running the 'osetup' command, the pluging asks to 'install the plugin and rerun osteup' whereas the advanced URI and Metadata extractor are already installed and activated in Obsidian.

Relevant Screenshot

No response

To Reproduce

No response

Debugging Log

[15:08:44.153] Logging Started...
[15:08:45.124] Logging Stopped.
[15:32:14.080] Logging Started...
[15:32:15.916] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
[15:32:16.288] Shimmering Obsidian[Script Filter] Script with argv '(null)' finished
[15:32:16.291] ERROR: Shimmering Obsidian[Script Filter] Code 1: /Users/raphaelhuleux/Documents/Alfred Workflows/Alfred.alfredpreferences/workflows/user.workflow.8799C14C-3BF7-4648-8FAD-433A58E8A1EE/scripts/o_search.js: execution error: Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)
[15:32:16.815] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
[15:32:17.038] Shimmering Obsidian[Script Filter] Script with argv '(null)' finished
[15:32:17.042] Shimmering Obsidian[Script Filter] {"items":[{"title":"2.-Notes","subtitle":"Control this vault with Alfred","arg":"/Users/raphaelhuleux/Library/Mobile Documents/iCloud~md~obsidian/Documents/2.-Notes"},{"title":"Obsidian Help","subtitle":"Control this vault with Alfred","arg":"/Users/raphaelhuleux/Library/Application Support/obsidian/Obsidian Help"}]}
[15:32:17.706] Shimmering Obsidian[Script Filter] Processing complete
[15:32:17.707] Shimmering Obsidian[Script Filter] Passing output '/Users/raphaelhuleux/Library/Mobile Documents/iCloud~md~obsidian/Documents/2.-Notes' to Run Script
[15:32:17.894] ERROR: Shimmering Obsidian[Run Script] /Users/raphaelhuleux/Documents/Alfred Workflows/Alfred.alfredpreferences/workflows/user.workflow.8799C14C-3BF7-4648-8FAD-433A58E8A1EE/scripts/osetup_2.js: execution error: Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)
[15:32:17.900] Shimmering Obsidian[Run Script] Processing complete
[15:32:17.902] Shimmering Obsidian[Run Script] Passing output '' to Conditional
[15:32:17.902] Shimmering Obsidian[Conditional] Processing complete
[15:32:17.903] Shimmering Obsidian[Conditional] Passing output '' to Large Type

Workflow Configuration

Skærmbillede 2022-03-02 kl  15 33 06

Version & System Information

true

Make sure you have done the following

chrisgrieser commented 2 years ago

That's weird, and tbh I have no idea why it would do that 🤔

Maybe you have to restart Obsidian first or sth after the install?

chrisgrieser commented 2 years ago

I assume this was fixed with one of the recent bug fixes, so I am closing this due to lack of response. If there is still a problem that should be solved, please open a new issue.