View Single Post
Old 04-20-2021, 08:15 AM   #2232
DrChiper
Bookish
DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.
 
DrChiper's Avatar
 
Posts: 1,033
Karma: 2006208
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
Quote:
Originally Posted by davidfor View Post
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.
Attached Files
File Type: zip Calibre5.14-Debug.txt.zip (4.3 KB, 1865 views)
DrChiper is offline