I have been using EPUBCheck with both Calibre and Sigil. When installing the plugin on Calbre I had no problem, worked immediately. Not so with Sigil.
I received the following error:
Code:
Status: failed
Running EPUBCheck v4.2.4... please wait.
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\user\AppData\Local\sigil-ebook\sigil\plugins\EpubCheck\plugin.py", line 484, in run
result = jar_wrapper(*args)
File "C:\Users\user\AppData\Local\sigil-ebook\sigil\plugins\EpubCheck\plugin.py", line 44, in jar_wrapper
process = Popen(args, stdout=PIPE, stderr=PIPE, shell=False)
File "subprocess.py", line 854, in __init__
File "subprocess.py", line 1307, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
Error: [WinError 2] The system cannot find the file specified
So, I ran: java -jar epubcheck.jar, and it completes the check successfully.
I also ran: java -jar epubcheck.jar ebook.epub, again the check completed and results were displayed.
I went back to Sigil and attempted to run the plugin again. I get the same error every time.
I can run EPUBCheck through the terminal and Calibre with no problems. Just not with Sigil seems.
I would really like to get this working with Sigil.