02-20-2012, 01:14 PM | #1 |
Banned
Posts: 9
Karma: 10000
Join Date: Feb 2012
Device: epub
|
newbie's epub error messages
Hi,
I need to fix two errors in my epub. I am new to this. I hope someone can tell me how to correct my epub. I have Calibre and Komposer. However, I can't find the first filename to shorten it and don't know what is missing from the META-INF. I'll appreciate your help. The epub is attached. I get the following error message: EPUB Validator (beta) Results EPUB Validator (beta) Results Detected version: Could not determine version. Results: The following problems were found in esl(5changed).epub: TypeFileLinePositionMessage ERROR-1-1Length of the first filename in archive must be 8, but was 60 ! ERROR-1-1Required META-INF/container.xml resource is missing Validated using EpubCheck version 3.0b4. Back to validator Copyright 2012 International Digital Publishing Forum. All rights reserved. Terms of Use |
02-20-2012, 02:18 PM | #2 |
Berti
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
Sounds, that are some very basic files are missing in your epub. How do you create it ? I can't believe that callibre produces things like this...
Best suggestion for now: get Sigil (here in MR is a special forum for this fine piece of software) and try to open your file with it. If you're lucky, it will fix most of the errors automatically. |
Advert | |
|
02-20-2012, 04:46 PM | #3 |
Zealot
Posts: 128
Karma: 238654
Join Date: Aug 2009
Device: Kobo Mini (4GB), Nook Classic wi-fi, iPod Touch (Bluefire Reader)
|
Yup, looks like the "mimetype" file is missing (should be in the root of the ePUB file and not compressed). Also there should be a folder in the ePUB named "META-INF" with a "container.xml" file inside it.
The "mimetype" file is just a text document with no extension with this text inside it, Code:
application/epub+zip Code:
<?xml version="1.0"?> <container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container"> <rootfiles> <rootfile full-path="content.opf" media-type="application/oebps-package+xml"/> </rootfiles> </container> Fixing might be as easy as opening the ePUB in Sigil and saving [UPDATE Nope, just tried it, causes Sigil to crash.] or exploding it in Calibre and adding the files/folders manually. Here is a zip file with the files needed. In Calibre right click the book and select "tweak Book" then "Explode ePUB" in the dialog box, copy everything in the zip file into the folder that opens, close the folder, and click "Rebuild ePUB" in the dialog box. Hopefully this helps. Last edited by Keroberos; 02-20-2012 at 05:06 PM. |
02-26-2012, 06:22 PM | #4 |
Banned
Posts: 9
Karma: 10000
Join Date: Feb 2012
Device: epub
|
thanks guys,
I worked on the file again and put it throug epub check. I now get these errors: EPUB Validator (beta) Results any idea what I should do? thanks, Frank
EPUB Validator (beta) Results Detected version: EPUB 2.0 Results: The following problems were found in esl-and-adult-learners-of-english-can-write-right(5).epub: TypeFileLinePositionMessage ERRORtmp_364b423744a04981bb6a59f21d349cc9_3385VP.c h.fixed.fc.tidied.stylehacked.xfixed_split_010.htm l76232attribute "start" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang" ERRORtmp_364b423744a04981bb6a59f21d349cc9_3385VP.c h.fixed.fc.tidied.stylehacked.xfixed_split_010.htm l77832attribute "start" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang" ERRORtmp_364b423744a04981bb6a59f21d349cc9_3385VP.c h.fixed.fc.tidied.stylehacked.xfixed_split_019.htm l149232attribute "start" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang" ERRORtmp_364b423744a04981bb6a59f21d349cc9_3385VP.c h.fixed.fc.tidied.stylehacked.xfixed_split_019.htm l150432attribute "start" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang" ERRORtmp_364b423744a04981bb6a59f21d349cc9_3385VP.c h.fixed.fc.tidied.stylehacked.xfixed_split_019.htm l151632attribute "start" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang" ERRORtmp_364b423744a04981bb6a59f21d349cc9_3385VP.c h.fixed.fc.tidied.stylehacked.xfixed_split_019.htm l152832attribute "start" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang" Validated using EpubCheck version 3.0b4. Back to validator Copyright 2012 International Digital Publishing Forum. All rights reserved. Terms of Use |
02-26-2012, 09:05 PM | #5 |
Grand Sorcerer
Posts: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You should figure out why those files that are indicated have elements that have "start" attributes (that aren't allowed).
But if I had to guess, I'd say those two xhtml files have ordered lists in them... and those ordered lists are trying to assign a "start" attribute which won't work in ePub. |
Advert | |
|
02-27-2012, 12:54 PM | #6 |
Banned
Posts: 9
Karma: 10000
Join Date: Feb 2012
Device: epub
|
Hi Diap,
I was told it was ordered lists but some ordered lists don't give trouble. I think I know what the problem is and this will kill you. The dumb automatic epub generator doesn't like the word "start" in the text. I changed it once to "begin" and it seems to fix it. But, here's the rub. I am extremely limited in this stuff. I did a few typo changes after the begin thing and then went back to make the epub again but now I am stuck. I have worked days and don't know how to edit it. Could you direct me to a simple list of the steps to edit an epub . I know to change it to a zip, extract it, but when I open the offending splits and bring up the source html, it doesn't let me edit. I have calibre and Kompose but don't know how to work them. any leads for this senior citizen would be appreciated. thanks, Frank |
02-27-2012, 01:14 PM | #7 | |
Grand Sorcerer
Posts: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
02-27-2012, 02:00 PM | #8 |
Resident Curmudgeon
Posts: 73,957
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Is 0.5.3 not solid enough?
|
02-27-2012, 02:24 PM | #9 | |
Grand Sorcerer
Posts: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Last edited by DiapDealer; 02-27-2012 at 02:29 PM. |
|
02-27-2012, 02:25 PM | #10 | |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
Both 'start' and 'begin' cannot be used the change the start value of an ordered list. Ordered lists will always start with 1. The root of that problem probably is, that 'start' is deprecated and no valid CSS alternative. Some browsers might allow it, but actually they should not. |
|
03-10-2012, 11:41 AM | #11 |
Banned
Posts: 9
Karma: 10000
Join Date: Feb 2012
Device: epub
|
Thanks all,
I was able to fix it with Sigil (without knowing what I was doing). I just located the area of the problem and deleted what seemed to be the problem. I was lucky. |
03-10-2012, 11:51 AM | #12 |
Grand Sorcerer
Posts: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error Messages in Calibre | didiyy | Devices | 17 | 01-11-2013 03:31 PM |
frustrating error messages | patrickyoung | Sigil | 8 | 01-31-2012 09:51 AM |
error messages on new PC | huskerruth | Devices | 1 | 02-16-2011 11:56 AM |
Help with resolving error messages? | zebedee | Introduce Yourself | 10 | 01-02-2011 05:34 PM |
Error Messages in Calibre | didiyy | Introduce Yourself | 4 | 09-10-2010 10:45 AM |