![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Epubcheck misses error
How is this possible? (I'd just run Epubcheck).
Flightcrew detects the error. Moderator Notice
Removed oversized inline image. The attachment is fine Last edited by theducks; 09-24-2019 at 05:59 AM. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,175
Karma: 201721072
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
How is it possible we'd be able to investigate with the info given?
In general, I'd say it's NOT possible. EpubCheck isn't going to miss a tag mismatch. So something else must be going on. A flush to disk not happening, a stale file, etc... . Without a reproducible sample, there's no way to diagnose. Last edited by DiapDealer; 09-24-2019 at 08:27 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
New epub file. I enter this code. I save the file, refusing the offer to fix it. Preview catches the error. FlightCrew catches the error. EpubCheck returns 'No problem found'.
Windows 10. Sigil 0.9.18. EpubCheck 4.22. Code:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <p>Test</p> <p>Test</div> </body> </html> |
![]() |
![]() |
![]() |
#4 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Solved by re-installing EpubCheck. Still shows as EpubCheck 4.22 when running, but the wrapper version in Manage Plugins has updated to 0.4.2.
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,175
Karma: 201721072
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'm running an older version of the epubcheck plugin (0.4.1.2) and can't duplicate the issue. EpubCheck flags the mismatch every time.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77,920
Karma: 142032074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What version Sigil is being used where epubcueck failed?
|
![]() |
![]() |
![]() |
#7 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
|
![]() |
![]() |
![]() |
#8 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77,920
Karma: 142032074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#9 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,319
Karma: 5568878
Join Date: Nov 2009
Device: many
|
Yes, if epubcheck fails to run due to java issues or throws an exception, it will come back with "no problems found".
If you enable the epubcheck json preference to copy the output to the clipboard, you can paste it into any text editor to see the exact exception thrown. Perhaps we can work with Doitsu to return a -1 from his plugin if any exceptions are thrown. |
![]() |
![]() |
![]() |
#10 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,661
Karma: 23468403
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
# check for StackOverflowError error if stderr.find('java.lang.StackOverflowError') != -1: print('EPUBCheck Java error.\n', stderr) return -1 |
|
![]() |
![]() |
![]() |
#11 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,319
Karma: 5568878
Join Date: Nov 2009
Device: many
|
I had too old a version of java installed (1.6) and epubcheck threw an exception. I will try to recreate that and get you a copy.
|
![]() |
![]() |
![]() |
#12 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,319
Karma: 5568878
Join Date: Nov 2009
Device: many
|
How hard would it be to search stderr for the words exception or error and report back all it finds to be safe?
|
![]() |
![]() |
![]() |
#13 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,319
Karma: 5568878
Join Date: Nov 2009
Device: many
|
Here is a report that looks identical to what I found in the clipboard after running epubcheck:
https://stackoverflow.com/questions/...r-version-51-0 |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
EPUB 3 Error in EPUBCheck version 4.1.1. | Bjorn G | ePub | 2 | 04-25-2019 04:16 AM |
Epubcheck: New Error under upgrade to Validator 4.0.2 | Phaedrus Wolfe | Conversion | 21 | 08-21-2017 11:04 AM |
Error epubcheck | Buble | ePub | 43 | 08-15-2014 02:53 AM |
ePubCheck error deciphering | thiefwriter | Calibre | 5 | 09-15-2011 08:37 PM |
Error on epubcheck | Brazz | ePub | 5 | 09-01-2011 04:17 AM |