Skip to content
EPUBCheck · EPUBCheck configuration

CHK-007

Updated:

EPUBCheck CHK-007 is an error message: “Error encountered while processing custom message file "…": "…".” EPUBCheck failed while processing the custom message file and reports the underlying error.

The official message

Error encountered while processing custom message file "%1$s": "%2$s".

Default severity
Error. The EPUB breaks a rule of the specification and is invalid. Stores and Send to Kindle may reject it, and EPUBCheck exits with status 1.
EPUBCheck version
5.4.0

%1$s, %2$s… are filled in with the file, value or element EPUBCheck found.

Typical causes

  • A file that is not in the expected tab-separated format, or one that cannot be read.

How to fix it

  • This is a problem with the file passed to EPUBCheck's -c (--customMessages) option, not with the EPUB. Fix the custom message file or run EPUBCheck without -c.
  • To start from a correct file, run EPUBCheck with -l (--listChecks) to write the list of message IDs and their severities, then edit that list.

Terms used here

Other CHK messages

  • CHK-003 Unrecognized custom message severity "…" encountered in message overrides file "…".
  • CHK-002 Unrecognized custom message id … encountered in message overrides file "…".
  • CHK-001 The custom message overrides file was not found.

Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EPUBLab.

FAQ

What does EPUBCheck CHK-007 mean?

EPUBCheck CHK-007 is an error message: “Error encountered while processing custom message file "…": "…".” EPUBCheck failed while processing the custom message file and reports the underlying error.

Is CHK-007 an error?

CHK-007 is reported as error by default. The EPUB breaks a rule of the specification and is invalid. Stores and Send to Kindle may reject it, and EPUBCheck exits with status 1.