Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Dec 2020 11:49:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 251699] deskutils/calibre: database error
Message-ID:  <bug-251699-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251699

            Bug ID: 251699
           Summary: deskutils/calibre: database error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: madpilot@FreeBSD.org
          Reporter: matthias.pfaller@familie-pfaller.de
             Flags: maintainer-feedback?(madpilot@FreeBSD.org)
          Assignee: madpilot@FreeBSD.org

After upgrading to 5.6.0 (thank's for the santa gift btw) calibre is no lon=
ger
able to read my library. When trying to repair I get the following error
message:

calibre, version 5.6.0
ERROR: Failed to repair library: Restoring database failed, click Show deta=
ils
to see details

Traceback (most recent call last):
  File "/usr/local/lib/calibre/calibre/db/restore.py", line 125, in run
    self.create_cc_metadata()
  File "/usr/local/lib/calibre/calibre/db/restore.py", line 244, in
create_cc_metadata
    db =3D Restorer(self.library_path)
  File "/usr/local/lib/calibre/calibre/db/restore.py", line 31, in __init__
    backend =3D DB(library_path, default_prefs=3Ddefault_prefs,
restore_all_prefs=3Drestore_all_prefs, progress_callback=3Dprogress_callbac=
k)
  File "/usr/local/lib/calibre/calibre/db/backend.py", line 453, in __init__
    SchemaUpgrade(self, self.library_path, self.field_metadata)
  File "/usr/local/lib/calibre/calibre/db/schema_upgrades.py", line 32, in
__init__
    meth()
  File "/usr/local/lib/calibre/calibre/db/schema_upgrades.py", line 53, in
upgrade_version_1
    ''')
  File "/usr/local/lib/calibre/calibre/db/backend.py", line 920, in execute
    return self.conn.cursor().execute(sql, bindings)
  File "src/statementcache.c", line 386, in sqlite3_prepare
apsw.SQLError: SQLError: no such table: main.books

When running calibre 5.6.0 on a windows machine using the same calibre libr=
ary
location everything is fine.

regards, Matthias

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251699-7788>