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 01-24-2015, 10:22 AM   #1
Squash0001
Junior Member
Squash0001 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2015
Location: Deventer, NL
Device: Kobo Glo
Unhappy Error message - adding books

hi,

while trying to add new books to updated calibre library, get the following message, which to me does not make a lot of sense.

Traceback (most recent call last):
File "site-packages/calibre/gui2/add.py", line 366, in add_book
File "site-packages/calibre/db/legacy.py", line 211, in create_book_entry
File "site-packages/calibre/db/cache.py", line 57, in call_func_with_lock
File "site-packages/calibre/db/cache.py", line 1471, in create_book_entry
File "site-packages/calibre/db/backend.py", line 793, in execute
File "src/cursor.c", line 231, in resetcursor
CantOpenError: CantOpenError: unable to open database file

I get this error for every book I try and add,

What am I doing wrong, what can I do to remedy, if at all possible.

Grateful for any insight anybody may have.

- Working on a Mac, with updated OS and Calibre 2.17 -,

Thx
Squash0001 is offline   Reply With Quote
Old 01-24-2015, 10:32 AM   #2
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: 45,253
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's an error trying to open the calibre database, this typically happens if you place the calibre library in a networked location or an malfunctioning disk or some such.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-24-2015, 11:13 AM   #3
Squash0001
Junior Member
Squash0001 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2015
Location: Deventer, NL
Device: Kobo Glo
further to adding books,..

dear kovid,

thanks for yr reply.

the database is ON my mac, not networked.

if I e.g. double click on a book on the database, I do get a similar message, shorter in text, around 'not being able to open the database', but this then disappears, and the book nicely opens.

is it possible that it has to do with the size of the database, it is pretty large.
and what can I do to eliminate this error and malfunctioning?

thanks in advance,

squash
Squash0001 is offline   Reply With Quote
Old 01-24-2015, 12:04 PM   #4
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: 45,253
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Run a disk check, check the permissions on the metadata.db file and the library folder.
kovidgoyal is offline   Reply With Quote
Reply

Tags
error:add:adding:database


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error message: Following books are virtual RobertJSawyer Calibre 20 01-27-2014 05:08 AM
Error message when auto adding books Rachel Library Management 3 04-08-2012 12:27 PM
Calibre Error Message - Now I have NO BOOKS SmiLynnLady Calibre 10 07-14-2011 05:12 AM
error message when I delete books ficbot Calibre 0 01-20-2010 06:31 PM
Error Message - can't add books davidwat Calibre 4 03-01-2009 11:25 PM


All times are GMT -4. The time now is 12:10 AM.


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