-
Notifications
You must be signed in to change notification settings - Fork 4
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
sh: zowie: command not found when applying smart rule #12
Comments
Hey dystopos, instead of adding the site-packages folder to the PATH-environment, you need to direct the shell to the folder where the executable binaries are stored. Thus, instead of adding Best regards |
Hi, I can run zowie from the terminal: Python is here: The version is: If I put zowie here: Running the Script in Devonthink gives back: If I delete zowie from /usr/local/bin/zowie I get: But zowie is still running when I use I try to adjust the path in the script. Zowie is here: set result to do shell script ¬ Which results in : Here I'm stuck. How do I have to adjust the path to allow the script to find zowie? Thanks for a hint. Christof |
Hi – can you let me know the method you used to install Zowie? Also, when you say "if I put zowie here", what is it the origin of the file |
Hi, I used "Alternative 3: installing Zowie using pip" After having tried several things, I just entered: Now it works like charm. It takes some time, as I have > 15'000 PDFs. But it works. Best wishes, Christof |
When a new file is added, my smart rule which should create the comment with the Zotero link fails with this message:
I'm using the script and the smart rule setting from this link:
https://github.com/mhucka/zowie/wiki/Example:-using-Zowie-with-DEVONthink
When I run Zowie from command line with
zowie -s ~/Zotero
everything works fine. I checked also the installation of Zowie withpip show zowie
:I tried adding
/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages
to the script:set result to do shell script ¬ ¬ "PATH=$PATH:$HOME/.local/bin:/usr/local/bin:/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages" & " zowie -s -q " & quoted_file_path
But this doesn't help. Any suggestion what might be wrong?
The text was updated successfully, but these errors were encountered: