Quote:
Originally Posted by Doitsu
The error message is usually displayed because EPUBCheck generated invalid UTF-8 output. This usually happens if the epub file contains files that aren't valid UTF-8 files.
To fix this problem: - uninstall the plugin
- re-download the plugin if you didn't save it
- extract main.py from the zip file
- search for and change the following two lines:
Code:
stdout = result[0].decode('utf-8')
stderr = result[1].decode('utf-8')
to:
Code:
stdout = result[0].decode('utf-8', errors='ignore')
stderr = result[1].decode('utf-8', errors='ignore')
- replace main.py in the zip file with the modified version
- re-install the plugin from the .zip file
If you're getting more Python errors, open the book with Calibre Editor, select Tools > Fix HTML - all files followed by Tools > Beautify all files, save the epub and re-run the EpubCheck plugin.
|
Does this mean there will be a new version?