View Single Post
Old 11-26-2021, 12:21 PM   #7
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,743
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by bravosx View Post
I installed the JPEGOptimizer and PNGOptimizer plugins and they didn't work properly.
The plugin(s) might fail, if the image file name contains non-ASCII characters and/or you're running a very old Windows version.

I'll run some tests and try to update the code to fix this issue.

In the meantime, try changing the following part in both plugin files:

Code:
return stdout.decode('utf-8'), stderr.decode('utf-8'), returncode
to:

Code:
return stdout.decode('utf-8', 'ignore'), stderr.decode('utf-8', 'ignore'), returncode
This should display the error messages returned by the utilities.

Last edited by Doitsu; 11-26-2021 at 12:47 PM.
Doitsu is offline   Reply With Quote