View Single Post
Old 03-08-2025, 11:03 AM   #35
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,586
Karma: 79436940
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by kovidgoyal View Post
Still no go

Spoiler:
Code:
calibre, version 7.26.102
ERROR: Error: Error communicating with device

'apsw.Connection' object has no attribute 'cache_flush'

Traceback (most recent call last):
  File "/home/peterjt/work/calibre-master/src/calibre/gui2/device.py", line 111, in run
    self.result = self.func(*self.args, **self.kwargs)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/peterjt/work/calibre-master/src/calibre/gui2/device.py", line 582, in _books
    mainlist = self.device.books(oncard=None, end_session=False)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/peterjt/work/calibre-master/src/calibre/devices/kobo/driver.py", line 1993, in books
    with self.database_transaction(use_row_factory=True) as connection:
  File "/home/peterjt/work/calibre-master/src/calibre/devices/kobo/db.py", line 74, in __exit__
    copy_db(self.conn, self.path_on_device)
  File "/home/peterjt/work/calibre-master/src/calibre/devices/kobo/db.py", line 19, in copy_db
    conn.cache_flush()
    ^^^^^^^^^^^^^^^^
AttributeError: 'apsw.Connection' object has no attribute 'cache_flush'
PeterT is offline   Reply With Quote