chrisgrieser / shimmering-obsidian

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

[Bug]: Shimmering Obsidian cannot search anything #135

Closed Missionary-OSBS closed 1 year ago

Missionary-OSBS commented 1 year ago

Bug Description

It just happened that the Shimmering Obsidian stop working as expected. Nothing pops up in the search.

Relevant Screenshot

2023-06-23_16 55 35_CSX

To Reproduce

Activate Shimmering Obsidian o... and nothing happens.

Debugging Log

[16:47:36.777] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
[16:47:37.941] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
[16:47:39.285] Shimmering Obsidian[Keyword] Processing complete
[16:47:39.287] Shimmering Obsidian[Keyword] Passing output '' to Run Script
[16:49:17.077] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
[16:49:18.014] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
[16:49:21.470] Shimmering Obsidian[Keyword] Processing complete
[16:49:21.477] Shimmering Obsidian[Keyword] Passing output '' to Run Script
[16:49:39.969] ERROR: Shimmering Obsidian[Run Script] /Users/missionary/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.0EC4A39D-046D-42CE-B9DB-D17AB43C8091/scripts/version_info.js: execution error: Error: Error: AppleEvent timed out. (-1712)
[16:49:39.978] Shimmering Obsidian[Run Script] Processing complete
[16:49:39.980] Shimmering Obsidian[Run Script] Passing output '' to Copy to Clipboard
[16:49:39.982] Shimmering Obsidian[Copy to Clipboard] Processing complete
[16:49:39.983] Shimmering Obsidian[Copy to Clipboard] Passing output '' to Post Notification
[16:49:50.028] Shimmering Obsidian[Hotkey] Processing complete
[16:49:50.035] Shimmering Obsidian[Hotkey] Passing output '' to Script Filter
[16:49:50.064] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
[16:51:40.338] ERROR: Shimmering Obsidian[Run Script] /Users/missionary/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.0EC4A39D-046D-42CE-B9DB-D17AB43C8091/scripts/version_info.js: execution error: Error: Error: AppleEvent timed out. (-1712)
[16:51:40.346] Shimmering Obsidian[Run Script] Processing complete
[16:51:40.347] Shimmering Obsidian[Run Script] Passing output '' to Copy to Clipboard
[16:51:40.349] Shimmering Obsidian[Copy to Clipboard] Processing complete
[16:51:40.350] Shimmering Obsidian[Copy to Clipboard] Passing output '' to Post Notification

Workflow Configuration

2023-06-23_16 46 55_CSX

Version & System Information

`oinfo` doesn't work.

Last working version

v3.9.4

Make sure you have done the following

chrisgrieser commented 1 year ago

so it worked before, but then stopped working all of a sudden?

the debugging log you added unfortunately contains only the failure to run oinfo, and the failure to run o. Could you clear the debugging log, run o …, and then copy the output? That should give me the information what's going on with the failing command.

That "AppleEvent timed out" error is also new to me and kinda prevents properly telling what's going on. According to Google, it could be that something on your machine is hogging all the resources and therefore preventing Shimmering Obsidian from working? 🤔 In such a case, maybe a system restart helps?

Missionary-OSBS commented 1 year ago

I cleared the debugging log, Command D to close it and try runo and it works again. That's weird.

chrisgrieser commented 1 year ago

yeah, I from googling your error, it sounds like a thing that only happens when too many resources are used up. So my guess is that at the time when it did not work, some process on your mac was hanging and preventing this workflow from working correctly.

Anyway, glad it works now, in case it re-appears, feel free to comment again!