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

dnm not working #31

Open
mzwlevi opened this issue Apr 5, 2022 · 4 comments
Open

dnm not working #31

mzwlevi opened this issue Apr 5, 2022 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@mzwlevi
Copy link

mzwlevi commented Apr 5, 2022

Just like this:
Screen Shot 2022-04-06 at 02 26 56
The debug:
Screen Shot 2022-04-06 at 02 30 53

@famaus
Copy link

famaus commented May 7, 2022

I am having the same issue. Appreciate any way to fix on this.
2022-05-07 10 09 06

To further add..
I followed the below link to install Python 2.7.18 and made sure it is available in $PATH.
https://www.alfredapp.com/help/kb/python-2-monterey/

Below terminal commands show my Python version and install location:

% ls -ld /usr/local/bin/python
lrwxr-xr-x  1 root  admin  48 Mar 28 12:29 /usr/local/bin/python -> /Users/mars/.pyenv/versions/2.7.18/bin/python2.7

% ls -ld /Users/mars/.pyenv/versions/2.7.18/bin/python2.7
-rwxr-xr-x  1 mars  staff  2112256 May  7 11:56 /Users/mars/.pyenv/versions/2.7.18/bin/python2.7

% python -V
Python 2.7.18

% which python
/usr/local/bin/python

My other workflows that are Python dependent seem to work fine.

@chrillek
Copy link

The workflow explicitly depends on /usr/bin/python. That can easily be fixed to point to the correct Python binary.

@famaus
Copy link

famaus commented May 14, 2022

Thank you for this suggestion.

After modifying path to /usr/local/bin/python the workflow works as expected.

@mpco mpco added the help wanted Extra attention is needed label Aug 13, 2024
@inchanS
Copy link

inchanS commented Dec 14, 2024

macOS Monterey or later,
On the workflow edit screen, modify the content of the ‘dnm’ script filter to the following
/usr/bin/python getRecordListByTags.py ‘inputTags’ ‘$1’
=> ‘dnm
/usr/bin/python3 getRecordListByTags.py ‘inputTags’ ‘$1’

You can probably replace it with python3 and it will work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants