View Single Post
Old 06-26-2017, 01:44 PM   #17
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: 28,771
Karma: 206758686
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by SigilBear View Post
But I did use and save it with Sigil.
Then it had a META-INF folder and a container.xml file immediately following the Save. Something else is causing the file to disappear after that.



Quote:
Originally Posted by SigilBear View Post
I've experienced the same problem twice while using Sigil, but it's unrelated to Sigil?
You've yet to provide reproduceable steps that will result in Sigil creating an epub with no container.xml file. You've merely encountered two epubs (saved/edited at some point with Sigil) that have developed this problem somewhere along the way.


Quote:
Originally Posted by SigilBear View Post
If you go back and read the thread, someone explained that Mac sometimes eats Sigil files if you leave an ePub open for an extended period of time. That's the best single tip I've received regarding this problem.
The issue with Macs deleting the contents of their system temp folders (when Sigil EPUBS are left open for extremely long periods of time) would result in vast portions of your EPUB's text content being destroyed. It's extremely unlikely that the Mac issue would selectively cause just the META-INF/container.xml structure to go missing. It's even more unlikely that the same exact selective deletions would happen twice because of this issue.


Quote:
Originally Posted by SigilBear View Post
Well, if other people are having the same problem with Sigil, I imagine they're going to post them in this forum. And judging from some of the items I've Googled, it looks like I'm not the only one.
Sorry. There's a handful of people who are unfamiliar with the nuts and bolts of how epubs are constructed (you, for instance, didn't know the container.xml file was one that you couldn't see with Sigil and tried to manually recreate it with Sigil) who have discovered epubs with missing META-INF folders and/or container.xml files. That does not a pattern make. Nor has anything remotely Sigil-centric (except for "I use Sigil") been established concerning these reported cases.

------------------------------------

I've attached a test epub from which I've manually removed the META-INF folder (and subsequently the container.xml file).

DO NOT OPEN IT WITH SIGIL YET!!

1) view the EPUB with your favorite archiving-tool to verify that there is no META-INF folder (but do not change anything). Submit it to the IDPF's online EPUB validator and see the fatal errors due to a missing META-INF/container.xml file.

2) Now open the EPUB with Sigil--and without doing anything else--save the EPUB and close it and Sigil. Do not do anything else to the epub before step 3.

3) Immediately submit the newly saved EPUB to the IDPF's online EPUB validator and report any error messages. View the EPUB with your favorite archiving-tool and verify that the META-INF folder (complete with a container.xml file) have been generated.
Attached Files
File Type: epub container-test.epub (1.5 KB, 145 views)

Last edited by DiapDealer; 06-26-2017 at 02:10 PM.
DiapDealer is offline   Reply With Quote