question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: o keyword in Alfred not giving option to search Obsidian

See original GitHub issue

Bug Description

When I trigger Alfred and type o, followed by a space and my search term, only the default search options are available.

I do see the option to search Obsidian flash by, but it is replaced by all the default search options. Using a different keyword, like oos doesn’t change what happens.

I have run the setup, and the od command works to open my daily note. So I think the workflow is installed and mostly configured.

Is this a configuration issue with Alfred? Any advice is appreciated.

Relevant Screenshot

Screen Shot 2022-01-22 at 12 04 05 PM Screen Shot 2022-01-22 at 11 58 23 AM

To Reproduce

  1. Trigger Alfred
  2. Type o followed by a space then a search term

Debugging Log

[12:00:53.791] Logging Started… [12:01:00.416] Shimmering Obsidian[Script Filter] Queuing argument ‘(null)’ [12:01:00.727] Shimmering Obsidian[Script Filter] Script with argv ‘(null)’ finished [12:01:00.730] ERROR: Shimmering Obsidian[Script Filter] Code 1: /Users/shawn/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.AAABE307-D7C7-4EEA-92C5-7E71386A21EB/scripts/o_search.js: execution error: Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)

Version Information

v2.18

Make sure you have done the following

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
chrisgriesercommented, Jan 22, 2022

Thanks 😊

0reactions
shawnduggancommented, Jan 22, 2022

That fixed it! Thank you. Great workflow - thank you for sharing it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Search (os, oss, or, orr...) does not seem to work · Issue #15
I have set up all the variables properly (hopefully) and every feature of the workflow works as expected, except for searching for md...
Read more >
Alfred - Obsidian Utilities - #97 by Rishi - Share & showcase
Hi. Ever since I started using Obsidian, I've been setting up some Alfred automations that allow me to use the app more efficiently....
Read more >
Workflow Issues in Alfred 4 & 5 (Keyword Latching Not ...
Pressing 'Clear Knowledge' on the global page didn't fix the issue properly (as described below), and a bit of testing seems to show...
Read more >
Mac Productivity with Alfred 3 and 4 / Getting Started - YouTube
Are you sitting in front of your Mac all day and you think there must be a faster way of doing all kinds...
Read more >
Troubleshooting File Indexing Issues - Alfred Help and Support
You may simply need to add a folder to Alfred's default search scope, but in the case of a metadata warning or failure,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found