View Single Post
Old 05-14-2013, 01:17 PM   #1
Eithrial
Enthusiast
Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'Eithrial knows the difference between 'who' and 'whom'
 
Posts: 25
Karma: 10000
Join Date: Jan 2013
Device: Kindle PW
invalid continuation byte error

Ive converted pdf file via sent-to-kindle email and when I want to convert this book to epub I got this error:

Code:
calibre, version 0.9.30
ERROR: Could not open ebook: invalid continuation byte

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 239, in __call__
    log, accelerators)
  File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/mobi_input.py", line 40, in convert
    opf = os.path.abspath(mr())
  File "/usr/lib/calibre/calibre/ebooks/mobi/reader/mobi8.py", line 95, in __call__
    spine = self.expand_text(resource_map)
  File "/usr/lib/calibre/calibre/ebooks/mobi/reader/mobi8.py", line 425, in expand_text
    return expand_mobi8_markup(self, resource_map, self.log)
  File "/usr/lib/calibre/calibre/ebooks/mobi/reader/markup.py", line 310, in expand_mobi8_markup
    parts = update_internal_links(mobi8_reader, log)
  File "/usr/lib/calibre/calibre/ebooks/mobi/reader/markup.py", line 51, in update_internal_links
    parts.append(raw.decode(mr.header.codec))
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 343331-343332: invalid continuation byte
What to do with that?
Eithrial is offline   Reply With Quote