View Single Post
Old 10-03-2015, 07:10 PM   #105
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: 8,887
Karma: 6120478
Join Date: Nov 2009
Device: many
Hi,

If you look at the content.opf tab you will see that the files that contains a link to this jpeg are not listed due to a bug in how the content.opf is parsed. The missing entries in the manifest cause the image file to appear as unused even tough it is in one of the files. I can recreate this exact behaviour with the test case lancelot epub posted earlier in this thread.

With current Sigil Master which has the fixed xmlprocessor.py (this fixed xmlprocessor.py was also posted earlier in this thread), this problem can not be recreated any longer.

Thank for your bug report. This is a known bug with a known fix. A Sigil 0.8.901 with all of these bug fixes should be released soon after we run some more robustness tests on it (assuming there are no other outstanding bug reports).

Thanks,

KevinH


Quote:
Originally Posted by SuicycoMania View Post
I have installed Sigil-0.8.900-Windows-x64-Setup.exe on my Windows 7 Ultimate PC.
I have two text files Cover.xhtml and TitlePage.html in an ePub, both are the exact same code with just the name of the .JPG file changed and the file dimensions changed.
But, when I run Tools > Delete Unused Media it tells me that titlepage.jpg can be deleted, so assuming the program thinks it is not in use.
(See attached screen crop showing the exact code being used and the window showing that the file that is in the code can be deleted)
I have tried this one two different ebooks, and I get the SAME result.
Yet, when I run the SanityCheck EPUB, it reports No Problems.
This worked with the previous version I had installed (Sigil-0.8.7-Windows-x64-Setup.exe).
KevinH is offline