11-28-2020, 02:49 PM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Nov 2020
Device: Kindle
|
Unable to add books to library
When I try to add books to my library I keep getting error messages like this:
calibre, version 5.6.0 FEL: Fel vid tilläggning: Det gick inte att lägga till böcker, klicka "Visa detaljer" för mer information ---------------------------------------------------------------------- Det gick inte att lägga till boken: Superpower Your Kids Z:\Downloads\Superpower Your Kids.epub Med fel: Traceback (most recent call last): File "calibre\gui2\add.py", line 423, in add_book File "calibre\db\legacy.py", line 334, in create_book_entry File "calibre\db\cache.py", line 72, in call_func_with_lock File "calibre\db\cache.py", line 1654, in create_book_entry File "calibre\db\cache.py", line 1367, in set_metadata File "calibre\db\cache.py", line 1191, in update_path File "calibre\db\backend.py", line 1645, in update_path File "calibre\db\tables.py", line 134, in set_path File "calibre\db\backend.py", line 920, in execute apsw.CantOpenError: CantOpenError: unable to open database file I know some of it is in Swedish but that stuff is kinda irrelevant anyways, basicly just says it was unable to add the book and to click show more for details. |
11-28-2020, 03:01 PM | #2 |
Well trained by Cats
Posts: 30,442
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Where is the Library (path to Library)?
|
Advert | |
|
11-28-2020, 10:39 PM | #3 |
creator of calibre
Posts: 44,530
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Something on your computer is preventing calibre from opening its database file, most likely an antivirus or file sync program. Exclude the calibre library folder from the antivirus and you should be fine.
|
12-17-2020, 04:35 PM | #4 |
Member
Posts: 11
Karma: 10
Join Date: Oct 2012
Device: Nook
|
I have the same problem, started happening today. WIN 10 PC.
Here's my error message: calibre, version 5.7.2 ERROR: Unhandled exception: <b>Exception</b>:File dialog failed (return code 3489660927): calibre 5.7.2 [64bit] embedded-python: True is64bit: True Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19041') Python 3.8.5 Windows: ('10', '10.0.19041', '', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 36, 0) && Package KFX (from KFX Input) (1, 36, 0) && EpubCheck (0, 2, 3) && EpubSplit (3, 0, 0) && Find Duplicates (1, 8, 3) && KFX metadata reader (from KFX Input) (1, 36, 0) && KFX Input (1, 36, 0) && MultiColumnSearch (1, 0, 86) && Quality Check (1, 11, 0) && User Category (1, 5, 5) && View Manager (1, 6, 0) Traceback (most recent call last): File "calibre\gui2\actions\add.py", line 494, in add_books File "calibre\gui2\win_file_dialogs.py", line 270, in choose_files File "calibre\gui2\win_file_dialogs.py", line 211, in run_file_dialog Exception: File dialog failed (return code 3489660927): Thanks for helping. FYI, I have 2 exceptions in my AV software. 1. calibre-parallel.exe and 2 my calibre library. |
12-17-2020, 05:45 PM | #5 |
Addict
Posts: 237
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
|
The Add File dialog is another program which you need to add to the AV software. (it's in the Calibre2\app\bin directory called calibre-file-dialog.exe) But Calibre has many other executables to look out for too. Just look at all the exes in the Calibre2 directory and its various sub directories.
|
Advert | |
|
12-17-2020, 06:02 PM | #6 |
Custom User Title
Posts: 9,537
Karma: 64960939
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
It's probably easiest just to add the entire folder as an exception.
Shouldn't be too much of a security risk as long as you don't copy random executables in there before running them (why would you do that anyways?). Last edited by ownedbycats; 12-17-2020 at 06:04 PM. |
12-18-2020, 12:43 PM | #7 |
Member
Posts: 11
Karma: 10
Join Date: Oct 2012
Device: Nook
|
That did the trick. Many thanks to all who chimed in.
|
03-25-2022, 06:32 AM | #8 |
Resident Curmudgeon
Posts: 76,370
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If it is the AV causing the problem then that AV needs to go. It ne3eds to be deleted and never ever installed again. If it is the AV, please tell us what AV is is so we can tell others to never use it.
|
03-25-2022, 02:31 PM | #9 |
Custom User Title
Posts: 9,537
Karma: 64960939
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
Tags |
add books, errors adding books, library |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unable to Add Books | abradaxis | Library Management | 10 | 10-16-2018 05:48 PM |
Unable to add books | 20LEgend | Calibre | 9 | 05-27-2017 08:21 PM |
Unable to add books using 0.8.9 | jackastor | Calibre | 0 | 07-11-2011 08:30 PM |
Unable to add new books | ManishS | Kobo Reader | 10 | 01-28-2011 02:04 AM |
HELP Unable to add or take off books | arl215 | Sony Reader | 0 | 06-16-2010 05:32 PM |