Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 10-29-2011, 11:13 AM   #1
fixit9660
Junior Member
fixit9660 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2011
Location: Somerset, UK
Device: Kobo Touch
epub build problem Windows 7 and PKZIP.

Hi all hope you can help. I'm running Windows 7 Pro with PKZIP for Desktop. I've also got a Kobo Touch. I'm trying to make the simplest .epub eBook ever; just a cover and one page. (I'll tell you the reason later.)
I've followed jedisaber.com 's instructions to the letter, and once I actually managed to get the book to upload into Calibre (great product by the way). But here's my problem. No matter what I do I can't get the ebook to verify here http://www.threepress.org/document/epub-validate/ or get my eReader to show it at all. The verify website continually tells me that:
1.ERROR: mimetype.epub: length of first filename in archive must be 8, but was 9
2.ERROR: mimetype.epub: OPF file OEBPS\content.opf is missing

I think 1. is due to Windows and/or PKZIP (not command line version, GUI only), although I understand the need for mimetype first and uncompressed.
I think 2. is due to Windows 7 but can't prove it. I've tried many many permutations of the "OEBPS\content" file path, to no avail.
Please can anyone help?
Thanks in anticipation, Andy.
fixit9660 is offline   Reply With Quote
Old 10-29-2011, 11:54 AM   #2
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
If you have it in Calibre, try Tweak ePub (right click on the ebook and select this from the drop-down menu). This explodes the zip into its parts for you to edit and then recreates the epub. It uses the correct ZIP options when it rebuilds the ePub, so you may not need to actually edit.

There is also a Modify ePub Plugin for Calibre, which might help if you are not sure what is wrong with the ePub.
wallcraft is offline   Reply With Quote
Advert
Old 10-29-2011, 01:30 PM   #3
fixit9660
Junior Member
fixit9660 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2011
Location: Somerset, UK
Device: Kobo Touch
Thanks for that wallcraft!!
I used Tweak ePub and rebuilt the file and lo - it got rid of validate error number 1 Whoopee!!! So this MUST have been due to Windoze and/or PKZIP.
Then I installed Modify ePub and in spite of it locating and helping to clear out 1 extra file and adding one missing (.png) file, I still fails vallidate test 2. with the same error.
Why do I think this is going to be due to a similar cause?

Thanks again!!
Andy.
fixit9660 is offline   Reply With Quote
Old 10-29-2011, 02:03 PM   #4
fixit9660
Junior Member
fixit9660 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2011
Location: Somerset, UK
Device: Kobo Touch
AHA!!! Would you believe it? From earlier reading at jedisaber.com and other instructional websites I'd changed the OEBPS/container.opf to a Backslash; well it's running on Windoze after all. Nothing spotted it but in sheer desperation I returned it to a forward slash and it worked!!!!!
Why didn't they say "just use this file as it is". It says it points to the root folder, but it's a RELATIVE root folder, not an ABSOLUTE root folder. JeeeeZ!
ebook now passes all the validation and uploads to the ereader. OK it took two attempts to upload, don't know why, and the Cover picture is missing. oh and it has an extra page one which is blank. BUT it gets there and is readable.
YEEEHAAA!!!!!!! It's only taken me a week of nights....
fixit9660 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 10.10 build problem. dablya Development 3 03-11-2011 11:04 PM
V3EXT daily build problem? cloggy OpenInkpot 0 12-03-2010 12:36 PM
DR800 Build process problem CoolDragon iRex Developer's Corner 7 06-19-2010 03:01 AM
New windows build and installer kovidgoyal Calibre 17 10-11-2009 09:44 AM
Build Problem ali_sade OpenInkpot 1 04-15-2009 04:46 AM


All times are GMT -4. The time now is 01:37 PM.


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