Quote:
Originally Posted by Hamlet53
First I am running under Windows XP and would like to have the epubcheck output write to a file so that I have the written output and also can use a BAT file to run it instead of typing the whole command at a command prompt each time. The trouble is that a BAT file of:
Code:
java -jar epubcheck-1.0.5.jar colomba.epub > verifyout.txt
produces the file verifyout.txt with content consisting only of:
Code:
Epubcheck Version 1.0.5
Whereas the actual output should continue:
Code:
ERROR: colomba.epub: length of first filename in archive must be 8, but was 9
Check finished with warnings or errors!
I always get this error, but have yet to figure out what it means.
|
I think that epubcheck writes error reports out to stderr rather than stdout, which would explain why you're only seeing the version statement.
The error means just what it says. The first file in the epub must be called
mimetype, must not be compressed and must contain just the characters
application/epub+zip.
Either you've mis-named the mimetype file, or you're not zipping your epub up correctly.