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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-21-2013, 10:29 AM   #1
jackibar
Enthusiast
jackibar began at the beginning.
 
Posts: 38
Karma: 12
Join Date: May 2010
Device: iPhone apps
Missing Container.xml File Error

I've done several projects in older versions of Sigil but now I have the latest version and in both Nook and Apple I'm getting the error "missing container.xml file". I've looked this up and created one by hand - but where the heck do I put it?! And why isn't Sigil creating it automatically? Do I add it as a Text file or somewhere else?

Thanks so much for any help! This is stopping the whole book upload process
jackibar is offline   Reply With Quote
Old 10-21-2013, 10:50 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: 8,756
Karma: 39465375
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Sigil does create the container file automatically when creating a new epub. And I can't imagine it (Sigil) allowing you to open/edit an existing epub without one. It belongs in the META-INF folder of the epub (which Sigil doesn't allow you to edit).

Are you sure you haven't manually unzipped/edited and improperly rezipped the epubs (outside of Sigil) in question before attempting to upload them? Epubs aren't just regular zipfiles with a renamed file-extension.
DiapDealer is offline   Reply With Quote
Old 10-21-2013, 02:00 PM   #3
jackibar
Enthusiast
jackibar began at the beginning.
 
Posts: 38
Karma: 12
Join Date: May 2010
Device: iPhone apps
No, what I did was to open the file originally as an html file, along with the toc.ncx and content.opf file - all were used to create a Kindle version of the ebook. I opened within Sigil and then ran the FlightCrew validator (which it passed) and then "Saved"... What can I do now to fix this?!
jackibar is offline   Reply With Quote
Old 10-21-2013, 02:16 PM   #4
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: 8,756
Karma: 39465375
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I don't quite follow what you mean by "along with the toc.ncx and content.opf file". You can certainly open/import an html file in Sigil, but it won't "bring along" any ncx or opf file with it. You then Save it as an ePub file and then upload that epub file.

Perhaps you're under the impression that you're simply editing the original html file (and the ncx/opf) with Sigil and saving them again to be used in something else?
DiapDealer is offline   Reply With Quote
Old 10-21-2013, 02:38 PM   #5
jackibar
Enthusiast
jackibar began at the beginning.
 
Posts: 38
Karma: 12
Join Date: May 2010
Device: iPhone apps
Sorry for the confusion - the toc.ncx and content.opf files were used in the Kindle version. It was just the html book file that was brought into Sigil.
jackibar is offline   Reply With Quote
Old 10-21-2013, 05:11 PM   #6
jackibar
Enthusiast
jackibar began at the beginning.
 
Posts: 38
Karma: 12
Join Date: May 2010
Device: iPhone apps
So how do I fix this?!
jackibar is offline   Reply With Quote
Old 10-21-2013, 05:48 PM   #7
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: 8,756
Karma: 39465375
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I'm honestly at a loss. You can't create/save an ePub in Sigil without it having the container.xml file in its proper place. You just can't do it. That's why I'm trying to verify that you're uploading the actual EPUB file to Nook et al, and not the original html file or something else.
DiapDealer is offline   Reply With Quote
Old 10-21-2013, 07:05 PM   #8
jackibar
Enthusiast
jackibar began at the beginning.
 
Posts: 38
Karma: 12
Join Date: May 2010
Device: iPhone apps
its definitely the epub file. I also unzipped it and there is no META-INF folder at all...
jackibar is offline   Reply With Quote
Old 10-21-2013, 07:13 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,161
Karma: 17163728
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Sigil WILL NOT save an ePub without the META-INF directory and the file container.xml. I took an ePub, delete META-INF, loaded it into Sigil and saved the ePub. META-INF an container.xml were both recreated. Not having META-INF is something you've done after saving in Sigil.

Just load this ePub into Sigil and save it back out and it will be fixed.
JSWolf is online now   Reply With Quote
Old 10-22-2013, 09:15 AM   #10
jackibar
Enthusiast
jackibar began at the beginning.
 
Posts: 38
Karma: 12
Join Date: May 2010
Device: iPhone apps
Simply "saving" (which I've been doing all along while working on the book) did not create the META-INF folder. However, I just closed the file and then re-opened the epub and saved and then it took care of it...

Is it possible this occurred because I chose File>OPEN>html file instead of originally creating a NEW file and then "adding" the html file to the Text files area? Just trying to figure out how this happened so it doesn't happen again!

Thanks for your help!
jackibar is offline   Reply With Quote
Old 10-22-2013, 10:42 AM   #11
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: 8,756
Karma: 39465375
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I don't know what happened, to tell the truth. I've tried saving an epub every which way from sunday and I can't get Sigil to save one without the META-INF.

Perhaps if you had the Clean Source settings all turned off and you ignored all errors when opening/saving, but even then I don't think it would happen. And such a malformed epub would certainly never pass the internal Flight Crew validation even if it did happen. I got nothin'.

Glad you got it fixed, though.
DiapDealer is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
META-INF/container error afpeter ePub 9 07-23-2013 01:04 AM
container.xml resource is missing masheen ePub 2 07-13-2011 10:36 PM
NEED HELP!!! - META-INF/container.xml is missing soulmenj ePub 2 07-12-2011 10:49 PM
media.xml reported missing every time 505 inserts ndep Calibre 1 10-10-2009 11:18 PM
IDPF - New digital book standard released: OEBPS (XML format) & OCF (container) CommanderROR News 13 11-04-2006 08:49 AM


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


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