Skip to content

sh: zowie: command not found when applying smart rule #12

Open
@dystopos

Description

When a new file is added, my smart rule which should create the comment with the Zotero link fails with this message:

sh: zowie: command not found

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 with pip show zowie:

Name: zowie
Version: 1.2.0
Summary: Write Zotero select links into article attachment files
Home-page: https://github.com/mhucka/zowie
Author: Michael Hucka
Author-email: [email protected]
License: BSD 3-clause
Location: /opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages
Requires: aenum, biplist, boltons, bun, commonpy, keyring, keyrings.alt, pdfrw, plac, py-applescript, pyobjc-core, pyobjc-framework-AppleScriptKit, pyobjc-framework-AppleScriptObjC, pyxattr, pyzotero, setuptools, sidetrack
Required-by:

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions