Quote:
Originally Posted by tompe
What I meant was that you first do "mobi2mobi oldfile.prc --outfile newfile.mobi" and then try to set the meta data on newfile.mobi.
|
I tried that too. Same result. Could the absence of cover after adding it be related to this piece of output?
Code:
EXTH item: 203 - hasFakeCover - 4 - 0x0000
Quote:
But the error message is a bit strange. mobi2mobi seem to think that the file have EXTH headers since "if ($exthflg & 0x40)" seems to become true. And that should not happen if it is not a real MobiPocket file. So you could try to add "& false" to this if condition to see if that works.
|
Yes, it seems this files are problematic. How would I do the change? I tried with "if (($exthflg & 0x40) & false)", but I got:
Code:
Bareword "false" not allowed while "strict subs" in use at /home/ignacio/bin/mobiperl/mobi2mobi line 608.
Commenting out the "use strict" line gave me the same "Invalid type" message