View Single Post
Old 07-31-2020, 03:21 PM   #331
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,741
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by philja View Post
From which you will note that it completed successfully with no 'usages' noted, although usage is set to true.
Of course, if you run epubcheck in a terminal, it'll ignore the .json file that the plugin reads.
If you want epubcheck.jar to display usage information, you'll have to add the --usage parameter.

Quote:
Originally Posted by philja View Post
Curiously, the plugin run seems to be listed twice each time finding 62 usages (inline style declarations, an unused CSS decaration, missing lang attributes). At line 68, it announces EPUBcheck completed and then at line 69, EPUBCheck v4.2.4 -- and off we go again.
This sounds familiar. IIRC, there was a bug in an older Sigil version that caused it to run plugin code twice. What's your Sigil version?
Doitsu is offline   Reply With Quote