[QUOTE=slowsmile;3596476]
Checks, repairs and reports all id errors in the epub
Hi Slowsmile
I just got the error message below when I ran IDErrorCheck. The book passed ePubcheck and the well formed HTML tests.
Also sometimes IDErrorCheck seems to hang and does not finish.
It is not a big problem so I have not bothered about it before but as I am reporting this error....
When it hangs again I will capture the details and let you have them.
I am running Windows 10 Enterprise, Sigil V1.1 and the latest version of IDCheck.
On a personal note - we senior citizens are still locked down in LapuLapu but many shops are now open. How are you faring?
Spoiler:
Status: failed
Python version: 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)]
Running IDErrorCheck...Please wait
-- Processing automatic tasks...
-- Copy to work dir...titlepage.xhtml
-- Copy to work dir...about.xhtml
-- Copy to work dir...main0.xhtml
-- Copy to work dir...chap01.xhtml
-- Copy to work dir...chap02.xhtml
-- Copy to work dir...chap03.xhtml
-- Copy to work dir...chap04.xhtml
-- Copy to work dir...chap05.xhtml
-- Copy to work dir...chap06.xhtml
-- Copy to work dir...chap07.xhtml
-- Copy to work dir...chap08.xhtml
-- Copy to work dir...chap09.xhtml
-- Copy to work dir...chap10.xhtml
-- Copy to work dir...chap11.xhtml
-- Copy to work dir...chap12.xhtml
-- Copy to work dir...chap13.xhtml
-- Copy to work dir...chap14.xhtml
-- Copy to work dir...chap15.xhtml
-- Copy to work dir...chap16.xhtml
-- Copy to work dir...chap17.xhtml
-- Copy to work dir...chap18.xhtml
-- Copy to work dir...chap19.xhtml
-- Copy to work dir...chap20.xhtml
-- Copy to work dir...chap21.xhtml
-- Copy to work dir...chap22.xhtml
-- Copy to work dir...chap23.xhtml
-- Copy to work dir...chap24.xhtml
-- Copy to work dir...chap25.xhtml
-- Copy to work dir...chap26.xhtml
-- Copy to work dir...chap27.xhtml
-- Copy to work dir...chap28.xhtml
-- Copy to work dir...chap29.xhtml
-- Copy to work dir...chap30.xhtml
>>> Cover file...titlepage.xhtml
>>> In removeCalibreCoverID()...
-- Copy NCX file to work dir...C:\Users\ryzen\AppData\Local\Temp\tmp9pjhn3j x\toc.ncx
Traceback (most recent call last):
File "C:\Users\ryzen\AppData\Local\sigil-ebook\sigil\plugins\IDErrorCheck\cutils.py", line 111, in copyNCXFile2Dir
data = bk.readfile(ncx_id)
File "C:\Prog1\Sigil\plugin_launchers\python\bookcontai ner.py", line 179, in readfile
return self._w.readfile(id)
File "C:\Prog1\Sigil\plugin_launchers\python\wrapper.py ", line 574, in readfile
raise WrapperException('Id does not exist in manifest')
wrapper.WrapperException: Id does not exist in manifest
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Prog1\Sigil\plugin_launchers\python\launcher.p y", line 135, in launch
self.exitcode = target_script.run(container)
File "C:\Users\ryzen\AppData\Local\sigil-ebook\sigil\plugins\IDErrorCheck\plugin.py", line 93, in run
processAllTasks(bk, WDIR)
File "C:\Users\ryzen\AppData\Local\sigil-ebook\sigil\plugins\IDErrorCheck\cutils.py", line 43, in processAllTasks
copyNCXFile2Dir(bk, wdir)
File "C:\Users\ryzen\AppData\Local\sigil-ebook\sigil\plugins\IDErrorCheck\cutils.py", line 115, in copyNCXFile2Dir
msg = "Critical Error: Cannot copy html file to the working dir.\nInvalid file id(" + ncx_id + ") not recognized."
TypeError: can only concatenate str (not "NoneType") to str
Error: can only concatenate str (not "NoneType") to str