Closed calumapplepie closed 6 months ago
Appears to have been caused by the addiiton of
if not bin_path:
continue
in picopt/handlers/handler.py
. However, due to the prevalence of squashed commits, I couldn't get the specific commit that introduced this change, and therefore couldn't easily revert it. Simply removing the lines causes picopt to try and call the "none" program for JPEGs, which is sub-optimal.
I don't want to try and spend more time prepping a patch, since its so hard to pry into the commit history.
picopt 4.0.0 should no longer crash when mozjpeg is not found.
I get the following error on any run of the program:
I'm running on a Debian Stable system, without mozjpeg installed. I instaled picopt with "pipx install pipopt" about 5 minutes ago. I think there's some issue in the support for running without mozjpeg.