View Single Post
Old 12-14-2010, 10:53 AM   #2
DMSmillie
Enquiring Mind
DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'
 
DMSmillie's Avatar
 
Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
An EPUB file is essentially just a ZIP file, with the file extension .epub rather than .zip. One of the requirements of the EPUB standard is that the first file inside the zip archive is the file "mimetype" (which should also be uncompressed and unencrypted). The first error message you're getting:

Quote:
# ERROR: 9780781405058-2.epub: length of first filename in archive must be 8, but was 19
- is indicating that the "mimetype" file isn't the first file inside the EPUB. The "mimetype" file is simply a text file, without any file extension, which contains the text:

application/epub+zip

Another requirement of the EPUB standard is that there should be a META-INF directory inside the EPUB file, containing the file "container.xml". That file contains some XML code that points to the location, inside the EPUB file, of the OPF file. The second error you're getting:

Quote:
# ERROR: 9780781405058-2.epub: Required META-INF/container.xml resource is missing
- indicates either that there isn't a META-INF directory in the EPUB file, or that it doesn't contain the "container.xml" file.

Basically, these errors indicate that the files inside the EPUB file aren't properly structured, and perhaps not all of the required files are present.

If this is an EPUB you created yourself, grapplegirl, if you let us know what method you're using to create the EPUB, I'm sure someone will be able to advise on how to fix these problems.
DMSmillie is offline   Reply With Quote