Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-08-2021, 12:32 PM   #1
WaltWM
Junior Member
WaltWM began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2021
Device: iPad
D2D Validation errors

I am receiving 2 validation errors for an epub file submitted to D2D. The error messages are:

ERROR(RSC-001): .tmp.tmp1s3h5q2r.epub(-1,-1): File 'img1.png' could not be found.

ERROR(RSC-001): .tmp.tmp1s3h5q2r.epub(-1,-1): File 'img2.png' could not be found.

Other than the book cover image, the book only contains 2 images, and both are jpg...not png, and when I download the D2D-generated epub, both images display perfectly in multiple e-reader apps, and all text and formatting is perfect.

D2D support states that this is a problem with the submitted HTML code, and that I need to resolve the issue with the developer that generated the HTML.

There are no references in the XHTML files, or in the CSS to any png files, so I'm at a loss.

Does anyone have a suggestion about what I can try next?

Any help is much appreciated!
WaltWM is offline   Reply With Quote
Old 12-08-2021, 12:53 PM   #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: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
That's a partial conversion error of some kind, so the files and filenames mentioned are probably not going to come from the original epub that was submitted. As such, they're not very useful in diagnosing the problem either.

The best thing you can do is make sure your epub validates without errors or warnings (using either the epubcheck plugin for Sigil, or the online epubcheck validator) before submitting to D2D.

If you're not actually submitting an epub, then the Sigil forum is not really the place for this question.
DiapDealer is offline   Reply With Quote
Old 12-08-2021, 06:50 PM   #3
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by WaltWM View Post
ERROR(RSC-001): .tmp.tmp1s3h5q2r.epub(-1,-1): File 'img1.png' could not be found.

ERROR(RSC-001): .tmp.tmp1s3h5q2r.epub(-1,-1): File 'img2.png' could not be found.
Look in the "Images" folder. Does it exist there?

What if you do a Tools > Reports > Image Files.

Do those img1.png + img2.png show up in the Report?

In the "Times Used" column, they'll probably say 0. You can Right-Click on the images there, and "Delete From Book".

Quote:
Originally Posted by DiapDealer View Post
That's a partial conversion error of some kind, so the files and filenames mentioned are probably not going to come from the original epub that was submitted.
Yeah, not sure... Could be a million things.

Could've been some phantom files leftover from a conversion or a previous source file.
Tex2002ans is offline   Reply With Quote
Old 12-08-2021, 10:18 PM   #4
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Are they listed in the .opf ?? If so, delete those lines.
Turtle91 is offline   Reply With Quote
Old 12-10-2021, 07:57 PM   #5
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
@WaltWM . . .I'm just guessing but your image problems might be caused because your images were in base64 binary format(instead of being link referenced in jpeg format) when you converted to epub. For instance, I know that it is certainly possible to save all doc images in base64 binary format when you save your doc in LibreOffice Writer or OpenOffice Writer for instance.

Base64 format just saves the images in full binary format within the epub html itself. Of course, saving images like this is quite messy and not really in accordance with the epub standard. So it's not that surprising that base64 binary format is usually disallowed in favor of referencing your image directly from within the Images dir in the epub. In html, base64 binary format looks like this(see Spoiler):

Spoiler:

<img src="data:image/jpg;base64,/9j/4AAQSkZJRgABAQEANwA3AAD/4RfaRXhpZgAATU0AKgAAAAgADAEAAAMAAAABAKMAAAEBAAMAAA ABAJwAAAECAAMAAAADAAAAngEGAAMAAAABAAIAAAESAAMAAAAB AAEAAAEVAAMAAAABAAMAAAEaAAUAAAABAAAApAEbAAUAAAABAA AArAEoAAMAAAABAAIAAAExAAIAAAAeAAAAtAEyAAIAAAAUAAAA 0odpAAQAAAABAAAA6AAAASAACAAIAAgACvyAAAAnEAAK/IAAACcQQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykA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KkumHd0ddpe3KUPJGFIz5ZSnPz NW/NVLUckX3S5lafnD6Q0oLbW2rCgsHlJ9M4wRX3pTWMC82cyHi5F kMLLD7L6dr>

Whereas an acceptable image that has been properly added and referenced from the epub's Images directory, looks like this:

<p class="center"><img style="width: 25%;height: auto;" alt="My image" id="My_Image" src="../Images/my_image.jpg"/></p>

Really, using Sigil, what you need to do is just check that your images have NOT been saved and inserted in base64 binary format within your epub. I would simply use Sigil to inspect your epub images within the relevant xhtml files your epub. And if they are formatted in base64 binary format I would simply delete them from the xhtml and then add those same images back into your epub's Images directory. Finally, you should be be able to properly insert your ebook images as acceptable referenced images into your xhtml file by clicking Insert > File using Sigil(free epub editor). But if you are adding a cover image -- you should click Tools > Add Cover to add your cover image.

Last edited by slowsmile; 12-11-2021 at 05:45 PM.
slowsmile is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation errors azupak Sigil 23 05-05-2015 09:43 AM
Validation Errors mpresley ePub 7 10-27-2011 02:41 AM
Help with validation errors AThirstyMind ePub 2 05-13-2011 06:08 PM
Validation Errors luthar28 ePub 13 08-10-2010 12:24 PM


All times are GMT -4. The time now is 04:33 PM.


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