A couple of days ago my system crashed. Calibre didn't start normally, so I uninstalled it, deleted the crud it left behind, and then re-installed it.
When I try saving metadata, I get a "CantOpenError:CantOpen Error: Unable to open database file" error message.
Code:
calibre, version 2.38.0
ERROR: Unhandled exception: <b>CantOpenError</b>:CantOpenError: unable to open database file
calibre 2.38 isfrozen: True is64bit: True
Linux-3.13.0-63-generic-x86_64-with-debian-jessie-sid Linux ('64bit', 'ELF')
('Linux', '3.13.0-63-generic', '#103-Ubuntu SMP Fri Aug 14 21:42:59 UTC 2015')
Python 2.7.9
Linux: ('debian', 'jessie/sid', '')
Successfully initialized third party plugins: Find Duplicates && MultiColumnSearch && Recipe Reader && Fantastic Fiction && Goodreads && Generate Cover && Medical Reader && all recipes Recipe Reader && FanFicFare && Read MP3 AudioBook metadata && FictionDB && Diaps Editing Toolbag && Reading List && English Noun Frequency && Import List && Author Book Count Hierarchy && View Manager && Copy Cover To Device && Quality Check && Manage Series && Count Pages && Save To Format && food network Recipe Reader && Extract ISBN && User Category && Fantastic Fiction Adults && Resize Cover && Ex Libris && iOS reader applications && APNX Generator && EpubSplit && Clean Metadata && Beam Ebooks && Hymn Reader && Modify ePub && Annotations && Similar Stories && Skoob && Barnes & Noble && Unplugged && SmartEject && Author Book Count && Wiki Reader && KoboBooks && EpubMerge && Anobii Fetcher && BigOven Recipe Reader
Traceback (most recent call last):
File "site-packages/calibre/gui2/metadata/single.py", line 568, in accept
File "site-packages/calibre/gui2/metadata/single.py", line 543, in apply_changes
File "site-packages/calibre/gui2/metadata/basic_widgets.py", line 213, in commit
File "site-packages/calibre/db/legacy.py", line 817, in func
File "site-packages/calibre/db/cache.py", line 57, in call_func_with_lock
File "site-packages/calibre/db/cache.py", line 1043, in set_field
File "site-packages/calibre/db/write.py", line 513, in set_books
File "site-packages/calibre/db/write.py", line 187, in set_title
File "site-packages/calibre/db/write.py", line 178, in one_one_in_books
File "site-packages/calibre/db/backend.py", line 818, in executemany
File "src/cursor.c", line 231, in resetcursor
CantOpenError: CantOpenError: unable to open database file
This is not a windows box.
This is not a networked drive.
Any pointers on what to do fix it?
Or is it simpler/faster/easier to simply import into a new library?
If the latter, what are the settings so that the data in the existing opf files is used, instead of the data in the ebook files, or the file & directory names?
Amber