I installed the JPEGOptimizer and PNGOptimizer plugins and they didn't work properly.
I have received such reports:
- for the JPEGOptimizer
Status: failed
Lossless optimization: cover.jpeg ...
Original file size: 144.70KB
Traceback (most recent call last):
File "C:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 142, in launch
self.exitcode = target_script.run(container)
File "C:\Users\xxxx\AppData\Local\sigil-ebook\sigil\plugins\JPEGOptimizer\plugin.py", line 119, in run
stdout, stderr, returncode = jo_wrapper(*args)
File "C:\Users\xxxx\AppData\Local\sigil-ebook\sigil\plugins\JPEGOptimizer\plugin.py", line 35, in jo_wrapper
return stdout.decode('utf-8'), stderr.decode('utf-8'), returncode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb3 in position 14: invalid start byte
Error: 'utf-8' codec can't decode byte 0xb3 in position 14: invalid start byte
- for the PNGOptimizer
Status: failed
Lossless processing: exlibris.png ...
Original file size: 11.21KB
Traceback (most recent call last):
File "C:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 142, in launch
self.exitcode = target_script.run(container)
File "C:\Users\xxxx\AppData\Local\sigil-ebook\sigil\plugins\PNGOptimizer\plugin.py", line 159, in run
stdout, stderr, returncode = png_wrapper(*args)
File "C:\Users\xxxx\AppData\Local\sigil-ebook\sigil\plugins\PNGOptimizer\plugin.py", line 51, in png_wrapper
return stdout.decode('utf-8'), stderr.decode('utf-8'), returncode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb3 in position 29: invalid start byte
Error: 'utf-8' codec can't decode byte 0xb3 in position 29: invalid start byte
I have Sigil 1.8 and Windows 10 Home installed. My mother tongue is polish.
Doitsu, can you help me?
I apologize for my poor English, but I have a translator.
bravosx
|