ocrmypdf & Hazel Error Status 3

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

ocrmypdf & Hazel Error Status 3 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.
Thde
 
Posts: 1
Joined: Wed Sep 14, 2022 7:54 am

Re: ocrmypdf & Hazel Error Status 3 Thu Sep 15, 2022 9:28 am • by Mr_Noodle
Check the error codes for ocrmypdf as that's where it's coming from.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron