CantOpenError
Used Calibre for several years without issue. Now multiple errors when trying to add books, or tick a custom Yes/No field, or download metadata, etc., etc.
Running WIN10 Pro installed on SSD C-drive. Calibre library located on local D-drive. The "metadata.db" and "metadata_db_prefs_backup.json" files are both living in the Calibre library folder. No syncing programs in use. Windows Defender is only antivirus running. Ample free space on all drives.
Typical Errors:
ERROR: Errors while adding
ERROR: Failed to set data
ERROR: Unhandled exception (IOError:[Errno 9] Bad file descriptor)
"Restore database" tool from the Calibre library toolbar icon fails. No doubt these issues all stem from the same anomaly, i.e., "CantOpenError. "
Desperate for solution. See error details below from trying to add a book:
----------------------------------------------------------------------
Failed to add the book: Microsoft Access 2010 VBA Macro Programming 2012
D:\Downloads\Microsoft Access 2010 VBA Macro Programming 2012\Microsoft Access 2010 VBA Macro Programming 2012.pdf
With error:
Traceback (most recent call last):
File "site-packages\calibre\gui2\add.py", line 399, in add_book
File "site-packages\calibre\db\legacy.py", line 224, in create_book_entry
File "site-packages\calibre\db\cache.py", line 63, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 1556, in create_book_entry
File "site-packages\calibre\db\backend.py", line 844, in execute
File "c:\t\t\apsw-j6gj96\apsw-3.13.0-r1\src\cursor.c", line 236, in resetcursor
CantOpenError: CantOpenError: unable to open database file
|