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
Advert
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: 17,051
Karma: 89654632
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 online now   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: 17,051
Karma: 89654632
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 online now   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
Advert
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: 17,051
Karma: 89654632
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 online now   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: 49,710
Karma: 42906343
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
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 offline   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: 17,051
Karma: 89654632
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 online now   Reply With Quote
Old 06-01-2017, 11:08 AM   #12
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,092
Karma: 480516
Join Date: Dec 2012
Device: Kindle
Fascinating. This just happened to me! I Googled the term and found this thread. I did just what Jackibar said: saved the Sigil file, closed it, and opened it again. The error was fixed.
Notjohn is offline   Reply With Quote
Old 06-11-2017, 08:36 PM   #13
SigilBear
Groupie
SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.
 
Posts: 191
Karma: 2070022
Join Date: Jan 2017
Device: iBooks
Wish I had seen this thread before I started another on the same topic.

I don't know what precipitated my container.xml error message, but it was a pain in the butt trying to figure it out. I then discovered that none of my working epubs have such a file.

So I created a new epub and imported all my files from the original epub EXCEPT the container.xml or container.xhtml file I had just created. It now works fine.
SigilBear is offline   Reply With Quote
Old 06-11-2017, 08:51 PM   #14
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: 17,051
Karma: 89654632
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Something doesn't add up. Sigil can't save an epub without a container.xml file being created (if one is not already present). Something else has to be going on, here.

I don't know where these epubs without container files or META-INF folders are coming from, but it's not Sigil. Sigil can't create (or save) an epub without that file/folder structure.
DiapDealer is online now   Reply With Quote
Old 06-11-2017, 10:18 PM   #15
KevinH
Wizard
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: 2,549
Karma: 772404
Join Date: Nov 2009
Device: many
Agreed - It almost sounds like people are looking at the version of the ebook inside of Sigil's temp folder or some sub-directory inside an already unzipped epub. This may or may not have all of the pieces but any save of the epub by Sigil will create all of the necessary pieces, META-INF, etc

That or someone is using an output plugin without all of the pieces right.

Last edited by KevinH; 06-11-2017 at 10:43 PM.
KevinH 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 05:12 PM.


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