Quote:
Originally Posted by dantaipan
Thanks Tim, I tried the update unfortunately now I get this:
local variable 'ImageID' referenced before assignment
Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 58, in run
File "site-packages\calibre\gui2\device.py", line 308, in _delete_books
File "<string>", line 269, in delete_books
File "<string>", line 227, in delete_via_sql
UnboundLocalError: local variable 'ImageID' referenced before assignment
D
|
I found the issue. You tried to delete a book that you copied to the device without ejecting the device first and reconnecting it. The driver relies on the kobo to correctly update its database with the required rows but that only happens with a disconnect.
I have added code to address the issue but it needs more review/testing before it is ready for a release. Maybe tomorrow night.
Tim