I had to factory reset my device and consequently reload all my books and manuals (approx 2500). However, since some of the books contains errors the transfer gets interrupted constantly with no indication of what book that was failing.
Questions:
- When transferring multiple books to the device, is there a way to continue the transfer despite an error for example using a setting, tweak, plugin?
- Is it possible to enable some kind of debug flag in the driver where you can trace the job error log what book/file that was failing? In this case the KoboTouchExtended driver.
Spoiler:
calibre, version 6.3.0
ERROR: Error: Error communicating with device
[Errno 2] No such file or directory: '/private/var/folders/cc/1j765mkn32jgznj122gwn5ydjh64wr/C/calibre_6.3.0_tmp_nm1p8nw5/13vuurm8_epub_container/OEBPS/Text/Chapter008.html'
Traceback (most recent call last):
File "calibre/gui2/device.py", line 88, in run
File "calibre/gui2/device.py", line 620, in _upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 426, in upload_books
return super(KOBOTOUCHEXTENDED, self).upload_books(
File "calibre/devices/kobo/driver.py", line 2214, in upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 209, in _modify_epub
container = KEPubContainer(infile, common.log, self.clean_markup)
File "calibre_plugins.kobotouch_extended.container" , line 122, in __init__
self.__run_async_over_content(self.forced_cleanup)
File "calibre_plugins.kobotouch_extended.container" , line 394, in __run_async_over_content
self.__run_async(func, names)
File "calibre_plugins.kobotouch_extended.container" , line 381, in __run_async
raise e
File "calibre_plugins.kobotouch_extended.container" , line 377, in __run_async
name = future.result(timeout=10)
File "concurrent/futures/_base.py", line 438, in result
File "concurrent/futures/_base.py", line 390, in __get_result
File "concurrent/futures/thread.py", line 58, in run
File "calibre_plugins.kobotouch_extended.container" , line 287, in forced_cleanup
html = self.raw_data(name, decode=True, normalize_to_nfc=True)
File "calibre/ebooks/oeb/polish/container.py", line 607, in raw_data
File "calibre/ebooks/oeb/polish/container.py", line 1064, in open
FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/cc/1j765mkn32jgznj122gwn5ydjh64wr/C/calibre_6.3.0_tmp_nm1p8nw5/13vuurm8_epub_container/OEBPS/Text/Chapter008.html'
Spoiler:
calibre, version 6.3.0
ERROR: Error: Error communicating with device
No META-INF/container.xml in epub
Traceback (most recent call last):
File "calibre/gui2/device.py", line 88, in run
File "calibre/gui2/device.py", line 620, in _upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 426, in upload_books
return super(KOBOTOUCHEXTENDED, self).upload_books(
File "calibre/devices/kobo/driver.py", line 2214, in upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 209, in _modify_epub
container = KEPubContainer(infile, common.log, self.clean_markup)
File "calibre_plugins.kobotouch_extended.container" , line 117, in __init__
super(KEPubContainer, self).__init__(epub_path, log, *args, **kwargs)
File "calibre/ebooks/oeb/polish/container.py", line 1201, in __init__
calibre.ebooks.oeb.polish.container.InvalidEpub: No META-INF/container.xml in epub