Quote:
Originally Posted by davidfor
But, for some reason calibre wasn't seeing the books. There might have been an error that was being trapped and not raised higher. Whatever the cause, the log would have told me what was happening, so I might have been able to see where it was going wrong. And sometimes I'm just curious to see what is happening.
|
It happened again that calibre lost sync with my Kobo Clara HD. This is what the communication error reported:
Spoiler:
[Errno 22] Invalid argument
Traceback (most recent call last):
File "calibre\gui2\device.py", line 89, in run
File "calibre\gui2\device.py", line 545, in _sync_booklists
File "calibre\devices\kobo\driver.py", line 978, in sync_booklists
File "calibre\devices\usbms\driver.py", line 457, in sync_booklists
File "calibre\devices\usbms\driver.py", line 455, in write_prefix
File "calibre\ebooks\metadata\book\json_codec.py", line 139, in encode_to_file
OSError: [Errno 22] Invalid argument
Thereafter I did a debug calibre session and got the attached output (minus WIPED parts). Perhaps it makes some sense.