![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
book will not open in sigil but ok in ADE
I have an epub which looks fine in ADE, but sigil cannot open it.
the error detail is: Cannot extract file: META-INF/ is there a simple workaround ? PS it opens OK in calibre viewer, I expect a convert epub to epub in calibre will fix it but I'd like to know how to fix it with only sigil if possibl' Last edited by cybmole; 07-23-2013 at 11:17 AM. |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,905
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Use (Calibre) Tweak EPUB to check it (also check it was not (incorrectly) write protected) |
|
![]() |
![]() |
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
it was not write protected, I'd imported it into calibre library before trying to open it with sigil.
i am not sure what I'd be checking for, within tweak epub ? is a file called meta.inf a mandatory component, but one which ADE & calibre viewer can live without ? PS a calibre conversion did repair the book , as expected. |
![]() |
![]() |
![]() |
#4 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
It's not a file, it's a directory (folder), and it's "META-INF" (case-sensitive, and with a hyphen). It's mandatory, because it must contain a file named "container.xml", which defines where the main OPF file is located. It is this OPF file that defines all the other ePub contents and structure. Maybe ADE and calibre have some way of finding the OPF file on their own, but without "META-INF" the ePub is definitely invalid.
|
![]() |
![]() |
![]() |
#5 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,905
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
There are 3 sections to the spec (see at) http://idpf.org/epub |
|
![]() |
![]() |
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
I wimped out & did an epub to epub convert with calibre, It is OK now. but out of curiosity I opened what is now the original_epub file in winrar. & I see all of that "missing" stuff - the META-INF folder, and inside that the container.xml.. so sigil's error message is misleading. I cannot post the file for copyright reasons but if anyone wants to did deeper juse PM me with an email to send it to |
|
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I have seen books where there were deliberate errors in the opf with file extensions. Somehow the book worked fine on most readers, but upon opening in Sigil not everything was loaded. The reason is logical, Sigil seems to use the opf to load all the files. So, if a file has a different name, it is not loaded into Sigil.
Perhaps this is also such a case where a deliberate error/loophole is exploited. Have you checked the original file with EpubCheck? |
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
no but more DIY exploration.
META-INF folder has 2 files: calibre bookmarks & container.xml in container.xml i see just 1 line: Code:
<?xml version="1.0" encoding="UTF-8"?><container xmlns="urn:oasis:names:tc:opendocument:xmlns:container" version="1.0"><rootfiles><rootfile full-path="OEBPS/Litt_ISBN9781926706771_epub_opf_r1.opf" media-type="application/oebps-package+xml"/></rootfiles></container> it's probably not worth taking this further, as it's a "found " book about climate change - I also see archive created by freejZIP.url and an itunesartwork file so I am thinking it's been messed with before I found it |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
sigil will not open book.original_epub | cybmole | Sigil | 18 | 07-11-2013 11:37 PM |
open ADE full screen | xmlgirl | ePub | 4 | 04-04-2012 02:59 PM |
ADE + failure to open file and no permission to copy | Chortie | Introduce Yourself | 8 | 01-30-2011 03:37 PM |
ADE won't use Sigil css file | Phanes | Sigil | 6 | 10-22-2010 01:29 PM |
Can't open ebooks in ADE | Diana495 | 0 | 08-10-2010 09:44 PM |