View Single Post
Old 03-06-2025, 02:58 PM   #15
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,541
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Additionally it looks as if updates will be needed to some of the Kobo Plugins. I tried using Kobo Utilities to compress the (mirrored to local) copy of the database
Code:
calibre, version 7.26.101
ERROR: Unhandled exception: <b>CantOpenError</b>:CantOpenError: unable to open database file

calibre 7.26.101*  embedded-python: True
Linux-6.6.65-06377-gaae6fc9ba7df-x86_64-with-glibc2.36 Linux ('64bit', 'ELF')
('Linux', '6.6.65-06377-gaae6fc9ba7df', '#1 SMP PREEMPT_DYNAMIC Wed, 8 Jan 2025 13:19:21 -0800')
Python 3.11.5
Interface language: None
EXE path: /opt/calibre/bin/calibre
Successfully initialized third party plugins: DeACSM (0, 0, 16) && LCPL Input (0, 0, 5) && DeDRM (10, 0, 9) && Annotations (1, 17, 13) && Backup Configuration Folder (1, 1, 2) && EpubMerge (3, 2, 0) && Find Duplicates (1, 10, 9) && Goodreads (1, 8, 2) && Kobo Metadata (1, 10, 0) && Kobo Utilities (2, 18, 4) && Manage Series (1, 5, 2) && OverDrive Libby (0, 2, 3) && Quality Check (1, 13, 16) && Reading List (1, 15, 4) && Standard Ebooks (1, 0, 0)
Traceback (most recent call last):
  File "calibre_plugins.koboutilities.action", line 2136, in check_device_database
    check_result = self._check_device_database()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "calibre_plugins.koboutilities.action", line 4582, in _check_device_database
    return check_device_database(self.device_database_path())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "calibre_plugins.koboutilities.common_utils", line 301, in check_device_database
    with device_database_connection(database_path) as connection:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "calibre_plugins.koboutilities.common_utils", line 293, in device_database_connection
    db_connection = apsw.Connection(database_path)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
apsw.CantOpenError: CantOpenError: unable to open database file
Likewise the backup on connect resulted in
Code:
calibre, version 7.26.101 (linux, embedded-python: True)
Failed to backup device database: Failed: Backing up Kobo device database

[Errno 2] No such file or directory: '/home/peterjt/libra.kobo/KoboReader.sqlite'

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 "calibre_plugins.koboutilities.jobs", line 129, in do_device_database_backup
    shutil.copyfile(database_file, backup_file_path)
  File "shutil.py", line 256, in copyfile
FileNotFoundError: [Errno 2] No such file or directory: '/home/peterjt/libra.kobo/KoboReader.sqlite'
HMMM.. The path being used is/home/peterjt/libra.kobo/KoboReader.sqlite whereas the ACTUAL path is '/home/peterjt/libra/.kobo/KoboReader.sqlite; looks as if a character is being trimmed from the path.
PeterT is offline   Reply With Quote