View Single Post
Old 02-10-2009, 10:02 PM   #57
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by AZed View Post
I can't replicate this with the file you have provided (though I fixed a related bug when unpacking PalmDoc files, now fixed in svn). I get text/html when I unpack it. Please delete the My_Book2 output directory entirely and try again, to see if you're simply failing to overwrite some older copy somehow.
I tried it several times, and always got (in the .epub's .opf) the same media-type="text/plain" instead of media-type="application/xhtml+xml" or media-type="text/x-oeb1-document" for .html files.

Quote:
If you still get this output, please e-mail me a copy of the full output of doing this with the '-vvv' option. My best guess in that case is that mime type detection is broken on your system somehow, but I'll see if I can narrow it down.
I think you are right about the mime-detection being broken! See the Warning I get since I am unable to find a suitable 'shared-mime-info' package for Win XP on freedesktop.org, namely:
Code:
WARNING: You don't seem to have a mime-info database.
The shared-mime-info package is available from
http://freedesktop.org/wiki/Software_2fshared_2dmime_2dinfo
I attach the ereader file I used, the log.txt results when using the -vvv option and the unpacked directory (see My_Book6.zip) as well as the .epub created using genepub. Hope this helps narrow down the problem.

Can you create a .epub from my ereader .pdb and post it here with your command line used? Maybe add a switch to help me override mime-detection to produce your results?
Attached Files
File Type: pdb Verne-80-Days-er.pdb (208.0 KB, 216 views)
File Type: zip My_Book6.zip (155.5 KB, 238 views)
File Type: epub My_Book6.epub (136.4 KB, 232 views)

Last edited by nrapallo; 02-11-2009 at 07:27 AM. Reason: to note that MY mime-detection IS broken
nrapallo is offline   Reply With Quote