Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alfred 5 Support? #12

Closed
JGStyle opened this issue Oct 31, 2022 · 5 comments · May be fixed by #13
Closed

Alfred 5 Support? #12

JGStyle opened this issue Oct 31, 2022 · 5 comments · May be fixed by #13

Comments

@JGStyle
Copy link

JGStyle commented Oct 31, 2022

Unfortunately, this amazing workflow doesn't work for me

When I type for example "binary" in the Alfred command line, the preview looks fine:
Bildschirmfoto 2022-10-31 um 18 26 27

but as soon as I enter arguments, the preview vanishes and I only get the default results:
Bildschirmfoto 2022-10-31 um 18 26 33

Does this workflow work with Alfred 5?

@obstschale
Copy link
Owner

I don't use it anymore myself. Hence I did not notice that it does not work with Alfred 5.

I will give it a look

@zqzten
Copy link

zqzten commented Nov 20, 2022

This is not caused by Alfred, but by the removal of python2 since macOS 12.3. It would be grateful if this workflow can be adapted to work with python3 or we have to find a way to setup a python2 env to run it.

@tevenfeng
Copy link

tevenfeng commented Nov 30, 2022

Looks like that Alfred5 has deprecated XML as the format of feedback string, so we should use json instead.

Tested and resolved by #13
image
image
image

@JGStyle
Copy link
Author

JGStyle commented Nov 30, 2022

I tested the Code from the PR and works now. Thanks @tevenfeng

@llity
Copy link

llity commented Jan 19, 2024

#13
There an error .

[21:48:59.304] NSC[Script Filter] Queuing argument '1' [21:48:59.386] NSC[Script Filter] Script with argv '(null)' finished [21:48:59.388] NSC[Script Filter] /bin/bash: python: command not found [21:48:59.388] ERROR: NSC[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0. in JSON:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants