View Single Post
Old 06-10-2014, 02:45 PM   #60
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,611
Karma: 23187563
Join Date: Dec 2010
Device: Kindle PW2
@KevinH: Thanks for creating this very useful tool!

I might have found either a Mobi Meta Editor (MME) bug or a bug with your script. The script works great with files converted straight from the source with KindleGen, but somehow it doesn't seem to like Mobi files whose metadata section was regenerated by Mobi Meta Editor and/or already contains an ASIN or EBOK value. In these cases it fails with the following error message:
Code:
Error: add_exth: trimmed non-null bytes at end of section
Steps to reproduce this error:

1. Generate a .mobi file (KindleGen -dont_append_source Parrot.epub)
2. Open the generated .mobi file with MME, add an EXTH 113 ASIN value and save the new file.
3. Process the new file with your script.

Please find attached the original file (Parrot_orig.mobi) and the file processed by MME (Parrot_MME.mobi).
Attached Files
File Type: mobi Parrot_orig.mobi (36.2 KB, 198 views)
File Type: mobi Parrot_MME.mobi (28.2 KB, 212 views)
Doitsu is offline   Reply With Quote