Quote:
Originally Posted by exaltedwombat
There's two possible items, lang and xml:lang. Epubcheck only seems to like one of them.
|
I tried to modify and use just lang instead of xml:lang but now I'm having difficulty getting the epubcheck plugin to run with usage set to true. It fails with this error :
Status: failed
Running EPUBCheck v4.2.4... please wait.
Traceback (most recent call last):
File "/usr/share/sigil/plugin_launchers/python/launcher.py", line 135, in launch
self.exitcode = target_script.run(container)
File "/home/pnj/.local/share/sigil-ebook/sigil/plugins/EpubCheck/plugin.py", line 632, in run
if offlst != [0] and linenumber:
UnboundLocalError: local variable 'offlst' referenced before assignment
Error: local variable 'offlst' referenced before assignment
I had that error show earlier today when I'm pretty sure that usage was set to false but later on, it worked ok until I set it back to true to recheck that lang setting.
I haven't touched either of the two files mentioned in the error - so I don't understand what's happening.
Does Sigil need some sort of 'HUP' after modifying the EpubCheck.json file? I did try closing out of Sigil and reloading the epub file but that hasn't changed anything.