View Single Post
Old 07-22-2024, 06:24 AM   #514
Astroman
Member
Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.Astroman can tame squirrels without the assistance of a chair or a whip.
 
Posts: 11
Karma: 11018
Join Date: Feb 2024
Device: none
Question Is installing a JDK also necessary?

I'm nearing the end of my first big e-book project, so I thought it would be a good idea to use the EpubCheck plugin. When running it, I get the same error message every time.

I followed the installation instructions in the first post, made sure I had Python (version 2.7.16), and downloaded Java (version 8 update 421) from Oracle's website and successfully installed it on my old MacBook Air running macOS Catalina. Adding the EpubCheck plugin (version 0.4.7.1) to Sigil was a very quick and easy process.

When running EpubCheck, I get the following output (see below) with an error message at the end ("Error: Expecting value: line 1 column 1 (char 0)") plus a pop-up window saying "To use the java command-line tool you need to install a JDK".

The instructions do not mention anything about installing other software packages except Java. Does the error message mean that I also need to install a JDK? If so, are there several so-called JDKs to choose from?

Output from EpubCheck:

Code:
Running EPUBCheck 5.1.0... please wait.
Traceback (most recent call last):
  File "/Applications/Sigil.app/Contents/plugin_launchers/python/launcher.py", line 142, in launch
    self.exitcode = target_script.run(container)
  File "/Users/jan-erik/Library/Application Support/sigil-ebook/sigil/plugins/EpubCheck/plugin.py", line 557, in run
    parsed_json = json.loads(stdout)
  File "json/__init__.py", line 346, in loads
  File "json/decoder.py", line 337, in decode
  File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Error: Expecting value: line 1 column 1 (char 0)
Astroman is offline   Reply With Quote