Okay, here is an experimental version of Mobi_Unpack (call it v0.61beta). It should have all of the outstanding bug fixes plus some robustness improvements for official Kindle ebooks that are not quite correctly generated (thank you Kovid), mobi_opf improvements (thanks DiapDealer), fixes for Sergey's bugs (thanks), a more correct fix for bug from nleblanc88 (thanks), changes to allow internal use of utf-8 so that files and paths that require full unicode to be properly specified should now hopefully work, as well as changes to remove the need for unbuffered output via a shift to use the multiprocessing module, fixes for sometime hangs in debug mode, support for CTOC sections being properly labeled in debug mode, and etc.
It still really needs to be refactored and cleaned up but this should have everything I know about. Please give it a try. If it does not fix your bug or you run into problems of any sort, please let us know here asap.
If it passes muster, it will become version 0.61.
Last edited by KevinH; 12-30-2012 at 02:49 PM.
Reason: fix typo