Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 11-28-2020, 01:49 PM   #1
crashdelta
Junior Member
crashdelta began at the beginning.
 
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.
crashdelta is offline   Reply With Quote
Old 11-28-2020, 02:01 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,803
Karma: 54830978
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)?
theducks is offline   Reply With Quote
Old 11-28-2020, 09:39 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
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.
kovidgoyal is offline   Reply With Quote
Old 12-17-2020, 03:35 PM   #4
rmbelson
Member
rmbelson began at the beginning.
 
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.
rmbelson is offline   Reply With Quote
Old 12-17-2020, 04:45 PM   #5
georgemk
Addict
georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.
 
Posts: 234
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.
georgemk is offline   Reply With Quote
Old 12-17-2020, 05:02 PM   #6
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,624
Karma: 61176603
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 05:04 PM.
ownedbycats is offline   Reply With Quote
Old 12-18-2020, 11:43 AM   #7
rmbelson
Member
rmbelson began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2012
Device: Nook
Quote:
Originally Posted by ownedbycats View Post
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?).
That did the trick. Many thanks to all who chimed in.
rmbelson is offline   Reply With Quote
Old 03-25-2022, 05:32 AM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,983
Karma: 128903378
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.
JSWolf is offline   Reply With Quote
Old 03-25-2022, 01:31 PM   #9
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,624
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JSWolf View Post
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.
You do realize this thread is two years old?
ownedbycats is offline   Reply With Quote
Reply

Tags
add books, errors adding books, library


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to Add Books abradaxis Library Management 10 10-16-2018 04:48 PM
Unable to add books 20LEgend Calibre 9 05-27-2017 07:21 PM
Unable to add books using 0.8.9 jackastor Calibre 0 07-11-2011 07:30 PM
Unable to add new books ManishS Kobo Reader 10 01-28-2011 01:04 AM
HELP Unable to add or take off books arl215 Sony Reader 0 06-16-2010 04:32 PM


All times are GMT -4. The time now is 06:36 AM.


MobileRead.com is a privately owned, operated and funded community.