Closed nikitavoloboev closed 6 years ago
Yes, you can!
It doesn't work for me for some reason though. It doesn't do anything when I press return on the searches.
Could you attach debug information?
Here is the log after trying to run it on some command :
Starting debug for 'alfred keywords help'
[2016-08-01 16:44:37][STDERR: input.scriptfilter] 16:44:37 workflow.py:2140 DEBUG Workflow version : 1.0.2
16:44:37 workflow.py:1543 DEBUG Reading settings from `/Users/nikivi/Library/Application Support/Alfred 3/Workflow Data/com.pochemuto.alfred.workflow.AlfredHelp/settings.json` ...
16:44:37 workflow.py:2401 DEBUG Update check not due
16:44:37 workflow.py:1778 DEBUG Loading cached data from : /Users/nikivi/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.pochemuto.alfred.workflow.AlfredHelp/actions.cpickle
16:44:37 workflow.py:1778 DEBUG Loading cached data from : /Users/nikivi/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.pochemuto.alfred.workflow.AlfredHelp/__workflow_update_status.cpickle
16:44:37 workflow.py:2349 DEBUG update_data : {u'available': False}
16:44:37 workflow.py:2331 DEBUG Set last run version : 1.0.2
16:44:37 workflow.py:2176 DEBUG Workflow finished in 0.056 seconds.
[2016-08-01 16:44:38][STDERR: input.scriptfilter] 16:44:38 workflow.py:2140 DEBUG Workflow version : 1.0.2
16:44:38 workflow.py:1543 DEBUG Reading settings from `/Users/nikivi/Library/Application Support/Alfred 3/Workflow Data/com.pochemuto.alfred.workflow.AlfredHelp/settings.json` ...
16:44:38 workflow.py:2401 DEBUG Update check not due
16:44:38 workflow.py:1778 DEBUG Loading cached data from : /Users/nikivi/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.pochemuto.alfred.workflow.AlfredHelp/actions.cpickle
16:44:38 workflow.py:1778 DEBUG Loading cached data from : /Users/nikivi/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.pochemuto.alfred.workflow.AlfredHelp/__workflow_update_status.cpickle
16:44:38 workflow.py:2349 DEBUG update_data : {u'available': False}
16:44:38 workflow.py:2331 DEBUG Set last run version : 1.0.2
16:44:38 workflow.py:2176 DEBUG Workflow finished in 0.038 seconds.
[2016-08-01 16:44:38][STDERR: input.scriptfilter] 16:44:38 workflow.py:2140 DEBUG Workflow version : 1.0.2
16:44:38 workflow.py:1543 DEBUG Reading settings from `/Users/nikivi/Library/Application Support/Alfred 3/Workflow Data/com.pochemuto.alfred.workflow.AlfredHelp/settings.json` ...
16:44:38 workflow.py:2401 DEBUG Update check not due
16:44:38 workflow.py:1778 DEBUG Loading cached data from : /Users/nikivi/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.pochemuto.alfred.workflow.AlfredHelp/actions.cpickle
16:44:38 workflow.py:1778 DEBUG Loading cached data from : /Users/nikivi/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.pochemuto.alfred.workflow.AlfredHelp/__workflow_update_status.cpickle
16:44:38 workflow.py:2349 DEBUG update_data : {u'available': False}
16:44:38 workflow.py:2331 DEBUG Set last run version : 1.0.2
16:44:38 workflow.py:2176 DEBUG Workflow finished in 0.037 seconds.
[2016-08-01 16:44:38][STDERR: input.scriptfilter] 16:44:38 workflow.py:2140 DEBUG Workflow version : 1.0.2
16:44:38 workflow.py:1543 DEBUG Reading settings from `/Users/nikivi/Library/Application Support/Alfred 3/Workflow Data/com.pochemuto.alfred.workflow.AlfredHelp/settings.json` ...
16:44:38 workflow.py:2401 DEBUG Update check not due
16:44:38 workflow.py:1778 DEBUG Loading cached data from : /Users/nikivi/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.pochemuto.alfred.workflow.AlfredHelp/actions.cpickle
16:44:38 workflow.py:1778 DEBUG Loading cached data from : /Users/nikivi/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.pochemuto.alfred.workflow.AlfredHelp/__workflow_update_status.cpickle
16:44:38 workflow.py:2349 DEBUG update_data : {u'available': False}
16:44:38 workflow.py:2331 DEBUG Set last run version : 1.0.2
16:44:38 workflow.py:2176 DEBUG Workflow finished in 0.034 seconds.
[2016-08-01 16:44:38][STDERR: input.scriptfilter] 16:44:38 workflow.py:2140 DEBUG Workflow version : 1.0.2
16:44:38 workflow.py:1543 DEBUG Reading settings from `/Users/nikivi/Library/Application Support/Alfred 3/Workflow Data/com.pochemuto.alfred.workflow.AlfredHelp/settings.json` ...
16:44:38 workflow.py:2401 DEBUG Update check not due
16:44:38 workflow.py:1778 DEBUG Loading cached data from : /Users/nikivi/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.pochemuto.alfred.workflow.AlfredHelp/actions.cpickle
16:44:38 workflow.py:1778 DEBUG Loading cached data from : /Users/nikivi/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.pochemuto.alfred.workflow.AlfredHelp/__workflow_update_status.cpickle
16:44:38 workflow.py:2349 DEBUG update_data : {u'available': False}
16:44:38 workflow.py:2331 DEBUG Set last run version : 1.0.2
16:44:38 workflow.py:2176 DEBUG Workflow finished in 0.040 seconds.
[2016-08-01 16:44:39][ERROR: action.script] 31:39: syntax error: A “"” can’t go after this identifier. (-2740)
What version of Alfred do you use?
Alfred 3
Unfortunately, it isn't tested in Alfred 3.
I remember reading on Alfred Forums that such problems could be fixed by changing reference from Alfred2 to Alfred3.
Here is a thread with it.
Not quite sure what I need to update though in this workflow to make that work.
Thanks for link. It should speed up fixing!
Hey,
I really do love this workflow but the issue with pressing return on results not running the actions is really unfortunate.
Did you find out what the issue with it is?
Thank you.
Could you test this build in you Alfred 3
Thank you, this works. That was a simple fix. :)
My only question. Right now pressing return, goes to alfred prompt with that name but doesn't activate the thing. For example if I have an action with some name and I search for it with the workflow, I have to press enter twice to run it.
Is there a way to only press return once to run it?
Sorry for the long answer! I think I could add this behavior https://github.com/pochemuto/alfred-help-workflow/issues/4
It would be great if you tested updated workflow which supports both versions of Alfred alfred-keywords-help-1.1.alfredworkflow.zip
It fails on every item with this message in Debugger:
[2018-05-13 16:10:26][input.scriptfilter] Processing output of 'action.script' with arg 'list '
[2018-05-13 16:10:26][ERROR: action.script] 250:251: syntax error: Expected end of line but found “"”. (-2741)
Hey @pochemuto, did you get any chance to look at this yet?
打开debug,看一下有什么错误提示吗
For example I forget some command, search for it, find it, press enter and it activates. Can I do that?