Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 08:06 AM   #1
philja
Evangelist
philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!
 
Posts: 457
Karma: 100100
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Bug in validation results display in 2.8.6

I had a strange error appear when running a check with EpubCheck plugin on a previously 'perfect' epub3 file. In my linux machimne using AppImage 2.8.6.

A rapid check shows that it happens as well on Windows 11, Sigil 2.8.6 and on my MacBook, also at 2.8.6.

What I had done was change a back-matter file by deleting the old and inserting the new in the form of an updated file used in a series of books. I have done this dozens of times without problems. After inserting the new file, there are always some internal links to update because the new file's anchor id's are not always the same as the fragments in the older files which link to the new.

I habitually run EpubCheck and geta load of pink errors in the Validation pane and these are about missing fragments. A click on the line in the validation pane takes me to the file and line concerned where the edit needed can immediately be made.

Yesterday, the first time with the new linux, I ran EpubCheck and it seemed to indicate success in the plugin runner but then a pop-up dialog appeared : see attached screenshot.

When I deleted the little pop-up, the expected error messages appeared in the plugin runner window but not in the validation window.

This seems to indicate a problem in Sigil rather than in the plugin, I would guess.

I have today managed to replicate this problem by a simple edit to break the link fragments. If there are 6 or fewer of these fragment errors, the results display correctly in the validation pane. But with 7 or more 'corrupted' fragments, the little pop-up appears to complain about 'expecting ';' but got ''''.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20261115_212913.png
Views:	11
Size:	77.5 KB
ID:	227422  

Last edited by philja; Today at 08:17 AM. Reason: Confirm on W11 and Mac
philja is offline   Reply With Quote
Old Today, 08:31 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,953
Karma: 212736643
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
In almost all cases, that error is a problem with the plugin. The plugin is failing before its results have successfully been reported to Sigil. I won't rule out a problem with Sigil, but it's more likely your plugin updated and behavior changed. Remember when others were having problems with epubcheck when it was trying to update to a mystery version, yet you were reporting no issues?

The epub errors being reported in the plugin runner window are that which were provided by python as a result of the plugin run. The "Success" message is simply that the plugin returned no error code. That does not mean the errors to report back to Sigil were not malformed in some way.

Last edited by DiapDealer; Today at 08:35 AM.
DiapDealer is offline   Reply With Quote
Old Today, 08:46 AM   #3
philja
Evangelist
philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!
 
Posts: 457
Karma: 100100
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
OK. You're better placed than me to judge where the likely problem lies.

I do remember that I didn't get a problem with that funny name. But as soon as Doitsu posted the update, to 0.4.8, I applied it to all my machines. I have made several of those file exchange updates since, without trouble until this week.

Should this thread be transferred to the plugin forum?
philja is offline   Reply With Quote
Old Today, 08:51 AM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,235
Karma: 7640012
Join Date: Nov 2009
Device: many
That means that after 6 error messages, the seventh seems to trigger unexpected output from actual epubcheck that is confusing the plugin so much that it is failing in an unexpected way.

The easiest way to track down what output epupcheck is generating that its plugin can not handle is to run epubcheck from the command line with the exact same options theplugin uses and show the output.

That way we can figure out how to adapt the plugin's code to handle that case.

Or if it is easier, it would help if you could post the simplest test case epub that illustrates this problem and I would be happy to take a look. Just in case it is a Sigil problem.
KevinH is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I display only search results? gvantass Library Management 5 08-08-2026 08:59 PM
Request: Change to Validation Results window title mrprobert Sigil 5 08-18-2024 06:21 AM
What order does FTS display results in? ownedbycats Library Management 1 10-26-2022 12:28 AM
[Likebook Mimas and Muses] Notes app BUG that results in a loss of page data MustardOrMayo Boyue 4 04-04-2019 10:02 AM
Validation Results. So Many Errors!! mont555 Sigil 12 01-18-2013 08:04 PM


All times are GMT -4. The time now is 02:43 PM.


MobileRead.com is a privately owned, operated and funded community.