This plugin allows you to check books with EPUBCheck 5.x Make sure that you have Java installed on your machine
before installing and running this plugin.
To test whether Java is installed on your machine open a command prompt/terminal window and enter the following command:
If you don't get a version number, Java is either not installed or the Java binary can't be found. If Java is not installed, go to the Oracle website to download the
latest Java version. (Note that you'll need to re-boot your machine after the installation.)
Credits: Kovid Goyal who helped me with my Qt5 and Calibre API questions and gave me useful pointers.
jackie_w helped me with the subprocess code and
thiago.eec provided very helpful pointers.
Disclaimer: Since I'm not a programmer you might want to save your books before having them checked by this plugin. (The plugin will also automatically create a checkpoint.)
Troubleshooting: If you get a
WindowsError: [Error 2] unhandled exception message, the Java binary couldn't be found. Installing/updating Java and re-booting your machine should take care of this problem.
Settings: If you're an advanced user, you can change several settings by creating an EpubCheck.json file with one or more of the following entries in the Calibre plugins folder (Preferences > Miscellaneous > Open calibre configuraton directory > plugins):
Code:
{
"locale" : "xx",
"usage" : true,
"java_path": "path/to/java/or/java.exe,"
"is32bit": false,
"github": true,
"check_interval": 7
}
- If you want to change the language of EPUBCheck messages add a locale entry with one of the following language codes: en, de, es, fr, it, ja, nl, pt-BR, ko-KR.
- If you want EPUBCheck to also display USAGE messages, add a usage entry.
- If you want to use a custom Java path, add a java_path entry.
- The plugin should automatically detect 32bit JVMs. If it doesn't, change the value of the is32bit entry to true.
- By default, the plugin will automatically check the EPUBCheck Github website for updates. If you'd rather manually update the EPUBCheck Java files bundled with this plugin, change the value of the github entry to false.
- The value of the check_interval entry controls how often the plugin will contact the Github EPUBCheck website for updates. The default value is 7 days = once a week.
Please note that if you specify multiple values, each entry (except for the last one) must be terminated by a comma. (If you only add one entry, don't terminate it with a comma.)
If you still can't get the plugin to work, download
Pagina Epub-Checker (freeware) and use it with the Calibre
Open With plugin.
Version History