10-28-2020, 02:17 PM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2014
Device: Calibre 1.25
|
I can't add pdf files to calibre 5.3 (64bit)
Error: Error during adding. No books can be added. Click on "details" for more information.
Can't add book:3-00 C:/Users/xxxxx/Downloads/Books/1512842506_pdf.pdf Error: Traceback (most recent call last): File "calibre\gui2\add.py", line 414, in add_book File "calibre\db\legacy.py", line 327, in create_book_entry File "calibre\db\cache.py", line 63, in call_func_with_lock File "calibre\db\cache.py", line 1636, in create_book_entry File "calibre\db\cache.py", line 1349, in set_metadata File "calibre\db\cache.py", line 1173, in update_path File "calibre\db\backend.py", line 1645, in update_path File "calibre\db\tables.py", line 136, in set_path File "calibre\db\backend.py", line 920, in execute apsw.CantOpenError: CantOpenError: unable to open database file I can add all other files (mobi,epub...) Thank you for your help. |
10-28-2020, 10:16 PM | #2 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Something on your computer is blocking calibre from opening its database. Most likely an antivirus program. Exclude the calibre library folder from the antivirus and you should be fine.
|
10-29-2020, 10:50 AM | #3 |
Resident Curmudgeon
Posts: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
10-29-2020, 05:52 PM | #4 |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2014
Device: Calibre 1.25
|
Hi,
thanks for your replies. This can't the reason. 1. I can add other files with format epub or mobi and don't get the error code. 2. I have been using the antivirus software for the last 10 years. Hence I should have had the same problem before. The error happens since the last update. Therefore I assume that it has something to do with a new feature of the new version. Rgds Sasha |
10-29-2020, 06:07 PM | #5 |
Custom User Title
Posts: 8,630
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
What happens if you put the PDF into the autoadd folder? (Preferences > Adding Books > Automatic adding)
|
10-29-2020, 07:22 PM | #6 |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2014
Device: Calibre 1.25
|
Hi,
I could transfer a book from the autoadd folder but after that I got the error: calibre, version 5.3.0 FEHLER: Unbehandelter Ausnahmefehler: <b>CantOpenError</b>:CantOpenError: unable to open database file calibre 5.3 [64bit] embedded-python: True is64bit: True Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.18362') Python 3.8.5 Windows: ('10', '10.0.18362', 'SP0', 'Multiprocessor Free') Interface language: de Successfully initialized third party plugins: Find Duplicates (1, 7, 2) && Job Spy (1, 0, 184) && Reading List (1, 6, 13) Traceback (most recent call last): File "calibre\gui2\auto_add.py", line 216, in add_to_db File "calibre\gui2\auto_add.py", line 263, in do_add File "calibre\gui2\library\models.py", line 373, in add_books File "calibre\db\legacy.py", line 334, in add_books File "calibre\db\cache.py", line 1666, in add_books File "calibre\db\cache.py", line 63, in call_func_with_lock File "calibre\db\cache.py", line 1636, in create_book_entry File "calibre\db\cache.py", line 1349, in set_metadata File "calibre\db\cache.py", line 1173, in update_path File "calibre\db\backend.py", line 1645, in update_path File "calibre\db\tables.py", line 136, in set_path File "calibre\db\backend.py", line 920, in execute apsw.CantOpenError: CantOpenError: unable to open database file Three plugins ware outdated and I installed an Update. Calibre fetched the books from the autoadd folder and I got an alert that the books were already in my collection. Wrong. The books got deleted from the autoadd folder but where NOT in my library. Next time I added a new book to the and ignored the alert that it was already in my collection. This time I got the error: CantOpenError: CantOpenError: unable to open database file. Following the details: calibre, version 5.3.0 FEHLER: Unbehandelter Ausnahmefehler: <b>CantOpenError</b>:CantOpenError: unable to open database file calibre 5.3 [64bit] embedded-python: True is64bit: True Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.18362') Python 3.8.5 Windows: ('10', '10.0.18362', 'SP0', 'Multiprocessor Free') Interface language: de Successfully initialized third party plugins: Find Duplicates (1, 8, 3) && Job Spy (1, 0, 187) && Reading List (1, 6, 15) Traceback (most recent call last): File "calibre\gui2\auto_add.py", line 216, in add_to_db File "calibre\gui2\auto_add.py", line 300, in do_add File "calibre\gui2\library\models.py", line 373, in add_books File "calibre\db\legacy.py", line 334, in add_books File "calibre\db\cache.py", line 1666, in add_books File "calibre\db\cache.py", line 63, in call_func_with_lock File "calibre\db\cache.py", line 1636, in create_book_entry File "calibre\db\cache.py", line 1349, in set_metadata File "calibre\db\cache.py", line 1173, in update_path File "calibre\db\backend.py", line 1645, in update_path File "calibre\db\tables.py", line 136, in set_path File "calibre\db\backend.py", line 920, in execute apsw.CantOpenError: CantOpenError: unable to open database file |
10-29-2020, 09:32 PM | #7 |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Does not compute'
Can't open Database should affect all formats. Where (what drive location) is your Library at? |
10-30-2020, 02:48 AM | #8 |
null operator (he/him)
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
10-30-2020, 07:47 PM | #9 |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2014
Device: Calibre 1.25
|
@ theducks NAS which holds all my files and works like a charm.
|
10-30-2020, 08:03 PM | #10 |
null operator (he/him)
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
10-30-2020, 09:44 PM | #11 |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I think your issue just proved the FAQ
The problem is it works until it does not. For some, there is no It Worked. Others like yourself, get away with it until the magic threshold of changes causes a stumble. Your choice: Be Safe and follow the FAQ or roll the dice until you get a major corruption fail. |
11-03-2020, 12:59 PM | #12 |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2014
Device: Calibre 1.25
|
I have moved the files to the old location and it worked again. Problem was the permission setting of my NAS. Couldn't change it und took the easy way out. :-) Thanks for your speedy replies.
|
Tags |
cantopenerror:cantopendb |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre removes files when I add new files | coffee792 | Library Management | 2 | 03-18-2015 07:18 PM |
Problem with viewing some .djvu files via calibre-64bit-2.21.0 | Danesh | Library Management | 4 | 03-13-2015 02:44 PM |
Need help with viewing .djvu eBook files with calibre-64bit-2.20.0 | Danesh | Library Management | 6 | 03-13-2015 10:36 AM |
Can't add HTML files in calibre | homeoLN | Conversion | 3 | 05-31-2013 07:06 PM |
Which is the best way to add SVG (vector graphics) to PDF files ? | DSpider | 0 | 04-01-2011 07:27 PM |