View Single Post
Old 06-20-2024, 01:18 AM   #5
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,563
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by xanrot View Post
Thanks so much for the reply!

I just gave this a try and when going to reload my books, Calibre gave me this error when connecting to my Kobo?
calibre, version 7.12.0
ERROR: Error: Error communicating with device

tuple indices must be integers or slices, not str

Traceback (most recent call last):
File "calibre/gui2/device.py", line 111, in run
File "calibre/gui2/device.py", line 565, in _books
File "calibre/devices/kobo/driver.py", line 462, in books
File "calibre/devices/kobo/driver.py", line 1016, in sync_booklists
File "calibre/devices/kobo/driver.py", line 954, in update_device_database_collections
File "calibre/devices/kobo/driver.py", line 835, in set_readstatus
TypeError: tuple indices must be integers or slices, not str

I loaded stuff up through Calibre anyway and still the same books are missing. They appear on the internal memory when I look via my computer, but not in my library/documents on the Kobo itself.

I don't really understand what the error is about, maybe the error can point us in the right direction? Or maybe it's a whole other thing haha who knows... hoping someone out there has an idea!
What would be interesting is to see what happens with a much older version of Calibre.. If on Windows try a vanilla install of an old version of Calibre Portable; maybe 3.48. Don't install any plugins or use your existing calibre library; just add a few books to the new temporary library and see what happens. I believe the WiFi model uses a different driver from the Touch and other models; however both drivers are in the same calibre device driver file.

Yep... The legacy driver goes to about line 1386 in driver.py; the newer driver is lines 1388 to 4155.

Sent from my Pixel 7a using Tapatalk

Last edited by PeterT; 06-20-2024 at 01:23 AM.
PeterT is offline   Reply With Quote