mpco / AlfredWorkflow-DEVONthink-Search

Powerful Tool for Searching in DEVONthink.
MIT License
571 stars 37 forks source link

dnm not working #31

Open mzwlevi opened 2 years ago

mzwlevi commented 2 years ago

Just like this:

Screen Shot 2022-04-06 at 02 26 56

The debug:

Screen Shot 2022-04-06 at 02 30 53
famaus commented 2 years ago

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 commented 2 years ago

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

famaus commented 2 years ago

Thank you for this suggestion.

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