Jump to content
rhyd

Single character query doesn't invoke Script Filter; leaves Python process hangin

Recommended Posts

Background

 

I use a workflow to search Omnifocus data direct from Alfred. This is a Python script using deanishe's alfred-workflow. This works well but I've spotted an odd edge case:

 

* invoke the workflow and pass it a single character query (e.g. .s e)

* nothing happens other than alfred creating a python process which is left stale

* no output shown in alfred workflow debugger

* providing a longer query does work

 

Is this a known issue or expected behaviour?

 

Details

 

Alfred version & build number: v2.7.1 (387)

 

OS X version: 10.9.4

Reproducible: Yes, here's a video demonstrating the problem.

 

Script Filter settings

 

vUdqrHV.png

 

ezSODUy.png

 

Steps to reproduce

 

Assumption: you have Omnifocus installed.

  1. Install v1.1.2 of the workflow
  2. Invoke the workflow '.s' with query 'e'

Results:

  • Alfred debugger will show no output
  • Stale python process shown when running ps aux | grep python
Edited by rhyd

Share this post


Link to post
Share on other sites

Have you tried it with other workflows? This may be a bug with the workflow itself or one of the libraries it’s using, and not Alfred itself.

Share this post


Link to post
Share on other sites

×
×
  • Create New...