![]() |
#1 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Sep 2022
Device: none
|
Editor is saving corrupted/invalid files
Hi! I'm outputting a how-to book that has a bunch of images (over 200), and I've been using calibre to work on the epub version.
I've noticed that at some point (not sure when) calibre has started outputting invalid/damaged/corrupt epub files. This is verified whenever I go to load up my epub on a device with some ereader software. Sometimes I can load the file up in sigil and fix it, but I'm not sure what fixes are being auto-applied. Sometimes the calibre files that are outputted are fine. I'm very confused and frustrated by what's going on. Is there anyone else that has experienced this or knows where I might start to troubleshoot? |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,764
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Just in case ...
If you want to see the fixes that Sigil makes, turn off mend on open in Sigil prefs. Open your problem epub. Do not respond to any prompts to autofix. Hit the Checkpoint icon to make a Checkpoint of it. Exit out of Sigil. Re-enable mend on open, reopen the problem epub, allow Sigil to autofix things. The use Sigil's checkpoint diff tool to see all changes since the checkpoint. That said, calibre is really robust and and can handle a lot of bad markup, so I doubt anything that Sigil auto fixes would be a challenge for calibre at all. You might want to try running epubcheck instead or calibre's auto mend. Or even a calibre epub to epub conversion. |
![]() |
![]() |
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,072
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Are you running a 32-bit version of calibre?
If so it may be running out of memory and switching to a 64-bit version would prevent that. |
![]() |
![]() |
![]() |
#4 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Sep 2022
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Sep 2022
Device: none
|
|
![]() |
![]() |
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I highly doubt the editor is saving corrupted files. As for invalid ones, the editor does not prevent you from makig invalid epubs, that's up to you. Use the Check Book tool to check your epub.
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Sep 2022
Device: none
|
I actually thought to do that first, and the check tool is totally passing with no errors.
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Then why do you say it is corrupted orinvalid?
|
![]() |
![]() |
![]() |
#9 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,728
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Are there some device/ereader combinations that 'work' and others that 'fail'? BR |
|
![]() |
![]() |
![]() |
Tags |
calibre, corrupt files, damaged files, epub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Corrupted files | ThanosNaranja | Calibre | 4 | 11-22-2021 05:12 AM |
Losing files when saving saving to disk | theaccountant | Library Management | 4 | 03-10-2011 02:38 PM |
Corrupted files | speakingtohe | Calibre | 2 | 08-20-2010 04:31 PM |
Has anyone else had problems with corrupted files? | Purple Lady | Onyx Boox | 4 | 03-27-2010 03:46 AM |