View Single Post
Old 11-10-2013, 12:24 PM   #18
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,883
Karma: 6120478
Join Date: Nov 2009
Device: many
Hi,

Perhaps the 501 tag is in each exth header more than once. I have seen some mobis that have duplicate exth numbers in the same header. I could easily modify the del_exth to keep trying until no more 501 elements exist in each header.

Also, it could just be that the del_exth method is broken since I only tested it with kindlegen 2.9 generated mobis which had no 501 metadata elements.

Please let me know what you find out and I would be happy to try and fix the code.

Take care,

KevinH
KevinH is offline   Reply With Quote