View Single Post
Old 05-12-2021, 09:42 PM   #12
SpaceGun
Junior Member
SpaceGun began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2019
Device: Kobo Aura H2O
Hello! I'm using 0.2.0 with calibre 5.17 (installed from calibre's "Get new plugins" menu). When I attempt the "Sync from KOreader" option I get the following error:

Quote:
calibre, version 5.17.0
ERROR: Unhandled exception: <b>UnicodeDecodeError</b>:'utf-8' codec can't decode byte 0x97 in position 10: invalid start byte

calibre 5.17 embedded-python: True is64bit: True
Linux-5.4.0-71-generic-x86_64-with-glibc2.2.5 Linux ('64bit', 'ELF')
('Linux', '5.4.0-71-generic', '#79-Ubuntu SMP Wed Mar 24 10:56:57 UTC 2021')
Python 3.8.5
Interface language: None
Successfully initialized third party plugins: Annotations (1, 15, 0) && KOReader Sync (0, 2, 0) && Kobo Utilities (2, 13, 1)
Traceback (most recent call last):
File "calibre_plugins.koreader.action", line 327, in sync_to_calibre
sidecar_contents = self.get_sidecar(device, sidecar_path)
File "calibre_plugins.koreader.action", line 217, in get_sidecar
parsed_contents = self.parse_sidecar_lua(contents.decode())
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x97 in position 10: invalid start byte
The error persisted while using version 0.2.1 from the sourcehut, along a very similar one when I tried it (0.2.1) from a Windows partition. Any leads would be much appreciated!
SpaceGun is offline   Reply With Quote