Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
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
Old 05-14-2013, 01:57 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,207
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://launchpad.net/bugs/1179144
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
'utf8' codec can't decode byte 0xb1 in position 18: invalid start byte paul.westland Calibre 19 10-11-2013 01:54 PM
"invalid start byte" when trying to open a azw3 file with calibre berlineirn06 Conversion 4 12-26-2012 01:44 PM
Kindle Collections - utf8 invalid continuation byte prometheus44 Plugins 3 12-16-2011 07:22 PM
Malformed byte sequence: Invalid byte 2 of 3-byte UTF-8 sequence. Check encoding digireads ePub 3 04-26-2011 03:07 AM
error message: ERROR ITMS-4099: "Invalid ISBN: [#] at Book (MZItmspBookPac NewDay ePub 3 10-07-2010 01:47 PM


All times are GMT -4. The time now is 05:34 AM.


MobileRead.com is a privately owned, operated and funded community.