View Single Post
Old 11-29-2015, 10:40 PM   #3
MontyJ
Addict
MontyJ began at the beginning.
 
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
Quote:
Originally Posted by kovidgoyal View Post
That error indicates the file you are trying to read is full of null bytes. Almost certainly a damaged file. Try opening the *exact same file* in fbreader.
Yes, that is what I did...exact same file. FB opens and I can read it fine, but not in Calibre.

Here are the details:

calibre, version 1.25.0
ERROR: Could not open ebook: Unknown book type: '\x00\x00\x00\x00\x00\x00\x00\x00'

Traceback (most recent call last):
File "/usr/lib/calibre/calibre/gui2/viewer/main.py", line 40, in run
Thread.run(self)
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/calibre/calibre/ebooks/oeb/iterator/book.py", line 99, in __enter__
{}, self.base)
File "/usr/lib/calibre/calibre/customize/conversion.py", line 241, in __call__
log, accelerators)
File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/mobi_input.py", line 33, in convert
options.debug_pipeline, try_extra_data_fix=True)
File "/usr/lib/calibre/calibre/ebooks/mobi/reader/mobi6.py", line 83, in __init__
raise MobiError('Unknown book type: %s' % repr(self.ident))
MobiError: Unknown book type: '\x00\x00\x00\x00\x00\x00\x00\x00'

Last edited by MontyJ; 11-29-2015 at 10:43 PM. Reason: Add info
MontyJ is offline   Reply With Quote