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]: Problem with searching notes (o-search) #82

Closed shunnkou closed 2 years ago

shunnkou commented 2 years ago

Bug Description

When typing in "o", nothing shows up. Other types of searches (ot, os, or) and commands (ob, oc, ol) works though. The fallback search doesn't work either.

I have run osetup and oupdate multiple times, and I only have 1 vault. Both Metadata Extractor and the Advanced URI plugins, are installed, enabled, and up-to-date.

Thank you for your time.

Relevant Screenshot

No response

To Reproduce

No response

Debugging Log

[18:39:50.217] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
[18:39:50.360] Shimmering Obsidian[Script Filter] Script with argv '(null)' finished
[18:39:50.360] ERROR: Shimmering Obsidian[Script Filter] Code 1: undefined
/Users/name/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D780A9DC-2D75-4E19-931D-46F26F4C6998/scripts/o_search.js: execution error: Error: TypeError: undefined is not an object (evaluating 'excludeFilter.length') (-2700)

Workflow Configuration

image

Version & System Information

-------------------------------
Metadata JSONs: 3/3
-------------------------------
INSTALLED VERSION
macOS: 12.4
Alfred: 4.6.6

Obsidian: 0.14.15
This Workflow: 2.24.0
Advanced URI Plugin: 1.22.0
Metadata Extractor: 1.0.1
-------------------------------
LATEST VERSION
Obsidian: 0.14.6 (Insider: 0.14.15)
This Workflow: 2.24.0
Advanced URI Plugin: 1.22.0
Metadata Extractor: 1.0.1
-------------------------------

Make sure you have done the following

chrisgrieser commented 2 years ago

thanks, fixed in release 2.24.1