Page 1 of 1

ocrmypdf & Hazel Error Status 3

PostPosted: Thu Sep 15, 2022 4:46 am
by Thde
Hi,
I'm trying to ocr all my PDFs. I've installed ocymypdf.

I'm using an M1 Mac with 12.5.1 Monterey.

The shell I'm using is
Code: Select all
/bin/zsh

the script I'm trying to run is
Code: Select all
/opt/homebrew/bin/ocrmypdf "$1" "$1"

I'm getting the error message:
Shellscript exited with non-successful status code: 3

Hazel has full disk access.
'Which ocrmypdf' results in /opt/homebrew/bin/ocrmypdf

I've tried some variations of the shell, which sometimes resulted in other status codes - If I recall correctly, 126 and 127.

Sorry if I mixed some things up. I'm way out of my comfort zone.

Re: ocrmypdf & Hazel Error Status 3

PostPosted: Thu Sep 15, 2022 9:28 am
by Mr_Noodle
Check the error codes for ocrmypdf as that's where it's coming from.