Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 01-13-2018, 12:40 PM   #1
EldritchMath
Junior Member
EldritchMath began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2018
Device: iPad 4
eBook modification consistently results in file corruption.

I'm trying to use Calibre to modify a set of books (the Dresden Files in .epub format) to be grammatically and just generally correct, as I'm a bit OCD about that sort of thing. However, when modifying "Fool Moon" in particular, it will work as normal up until index_split_007 or so, at which point, when I try to open the next index split, it gives the following error:

"calibre, version 3.13.0 ERROR: Failed to open book: Failed to open book, click "Show details" for more information.

Traceback (most recent call last): File "site-packages\calibre\gui2\tweakbook\job.py", line 35, in run File "site-packages\calibre\gui2\tweak_book\boss.py", line 59, in get_container File "site-packages\calibre\ebooks\oeb\polish\container.py", line 1497, in get_container File "site-packages\calibre\ebooks\oeb\polish\container.py", line 1155, in __init_ InvalidEpub: No META-INF/container.xml in epub"

What could consistently cause this single error? It only has happened on this one book so far, and I'm in the process of editing the fourth book, so I thought it might have something to do with the file itself. However, it sometimes changes when it takes effect: the first time, it happened after index_split_009, but the most recent time, it happened after index_split_007. What could cause this? Is there any way to universally prevent it? Even better, is there a way to fix the file now, so I don't lose all of my progress in editing? Up until now, I've just had to delete the book and try to work on it again. Any help would be appreciated!
EldritchMath is offline   Reply With Quote
Advert
Old 01-13-2018, 01:58 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 32,569
Karma: 9906320
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Typically, the cause of that error is some program deleting files from the calibre temporary directory. Either track down the program and stop it doing that or set the CALIBRE_TEMP_DIR environment variable to get calibre to use a different temporary directory, which is hopefully not being cleaned, see https://manual.calibre-ebook.com/cus...ment-variables
kovidgoyal is online now   Reply With Quote
Reply

Tags
calibre, corruption, epub

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic date of modification after saving EPUB file in Sigil Chang Sigil 1 11-20-2015 05:00 AM
Frequent file corruption when transferring files using CC Rewarp Calibre Companion 5 03-31-2015 01:29 AM
Different search results by file and by all html files? bfollowell Sigil 4 04-20-2012 02:03 AM
Sort by file modification time eba Onyx Boox 1 03-06-2012 11:26 AM
File directory corruption in IR1000S physics@war iRex 3 02-08-2010 08:56 AM


All times are GMT -4. The time now is 08:18 PM.


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