Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 02-20-2012, 01:14 PM   #1
americamba
Banned
americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'
 
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
Attached Files
File Type: txt EPUB Validator (beta) ResultsLATEST.txt (516 Bytes, 191 views)
americamba is offline   Reply With Quote
Old 02-20-2012, 02:18 PM   #2
mmat1
Berti
mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.
 
mmat1's Avatar
 
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
Quote:
Originally Posted by americamba View Post
I need to fix two errors in my epub.
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.
mmat1 is offline   Reply With Quote
Advert
Old 02-20-2012, 04:46 PM   #3
Keroberos
Zealot
Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.
 
Keroberos's Avatar
 
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
The "container.xml" is just a xml file with this text inside,
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>
These files are used by the ePUB reader to identify the file and show where the content manifest for the ePUB is.

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.
Attached Files
File Type: zip ePUB_Files.zip (613 Bytes, 252 views)

Last edited by Keroberos; 02-20-2012 at 05:06 PM.
Keroberos is offline   Reply With Quote
Old 02-26-2012, 06:22 PM   #4
americamba
Banned
americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'
 
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
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
any idea what I should do? thanks, Frank
americamba is offline   Reply With Quote
Old 02-26-2012, 09:05 PM   #5
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: 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.
DiapDealer is offline   Reply With Quote
Advert
Old 02-27-2012, 12:54 PM   #6
americamba
Banned
americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'
 
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
americamba is offline   Reply With Quote
Old 02-27-2012, 01:14 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: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
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.
Honestly, the easiest method would probably be Sigil. It allows you to edit the epub files directly (without having to unzip and rezip in the proper order). Load the epub, edit the files, save & close. You might want to go with the 0.4.2 version of Sigil if you want something rock-solid. Just switch the dropdown box to "All Downloads" and look for the 0.4.2 version for your OS.
DiapDealer is offline   Reply With Quote
Old 02-27-2012, 02:00 PM   #8
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: 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?
JSWolf is offline   Reply With Quote
Old 02-27-2012, 02:24 PM   #9
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: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Is 0.5.3 not solid enough?
I have no problem with the newer versions because I'm perfectly capable of of working around any of the few kinks that have presented themselves with the > 0.5.x versions. But for general purpose use (especially for non-technical users who might have need for a more casual find and replace), then no... I don't think any of the > 0.5.x versions are as solid as 0.4.2. I have every confidence they will eventually get there though. They're still in the process of making the codebase "their own" after taking over for the original creator/maintainer.

Last edited by DiapDealer; 02-27-2012 at 02:29 PM.
DiapDealer is offline   Reply With Quote
Old 02-27-2012, 02:25 PM   #10
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by americamba View Post
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.
Not to disappoint you, but ordered lists are a hit-and-miss. Simple lists work fine, but much of the 'fancy' stuff not.
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.
Toxaris is offline   Reply With Quote
Old 03-10-2012, 11:41 AM   #11
americamba
Banned
americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'americamba knows the difference between 'who' and 'whom'
 
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.
americamba is offline   Reply With Quote
Old 03-10-2012, 11:51 AM   #12
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: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by americamba View Post
I was lucky.
Don't sell yourself short. Go with; "I was aggressive and resourceful."
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 01:13 AM.


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