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 06-20-2020, 01:02 PM   #1
w0wbagger
Junior Member
w0wbagger began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2020
Device: Kindle Fire
Attempt to add books fails

Hey all, my calibre has been working fine for quite a while. Yesterday the RAID that I store them all was full (I was unaware) and I attempted to add some books, and they failed, and now that I've cleared space on it and attempt to add some books, it goes through the "Adding" sequence, including asking me if I want to add some books that are already there in a different format, but when I select "yes", It throws an error. It says it Failed to add any books, and the "Show Details" looks like this:

calibre, version 4.19.0
ERROR: Errors while adding: Failed to add any books, click "Show details" for more information


----------------------------------------------------------------------
Failed to add the book: Resist: Tales From A Future Worth Fighting Against
C:\Users\ituck\AppData\Local\Temp\calibre_5piamr\u qppwh_add_books\0\resist.mobi
With error:
Traceback (most recent call last):
File "site-packages\calibre\gui2\add.py", line 414, in add_book
File "site-packages\calibre\db\legacy.py", line 225, in create_book_entry
File "site-packages\calibre\db\cache.py", line 62, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 1594, in create_book_entry
File "site-packages\calibre\db\backend.py", line 878, in execute
File "site-packages\calibre\db\backend.py", line 865, in conn
File "site-packages\calibre\db\backend.py", line 294, in __init__
File "site-packages\calibre\db\backend.py", line 338, in execute
File "c:\t\t\apsw-47cp24d7\src\cursor.c", line 1019, in APSWCursor_execute.sqlite3_prepare
File "c:\t\t\apsw-47cp24d7\src\statementcache.c", line 386, in sqlite3_prepare
IOError: IOError: disk I/O error

Now, my catalog appears to be okay (at least, I can look at it), but it won't allow me to add new ones. Now that I type this, I realize that perhaps I should reboot my RAID in case a file is showing open, so I'll try that, but if anyone has any other ideas, please let me know.
w0wbagger is offline   Reply With Quote
Old 06-20-2020, 02:11 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: 31,043
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Your security software/OS may have updated and you no longer can write to your TEMP folder.
other Keywords: relocate Calibre Temp folder
theducks is offline   Reply With Quote
Advert
Old 06-20-2020, 04:32 PM   #3
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,486
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I'd suggest trying library maintenance on your calibre library. I can't help but think it became corrupted when the disk filled up.
PeterT is offline   Reply With Quote
Old 06-20-2020, 07:54 PM   #4
w0wbagger
Junior Member
w0wbagger began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2020
Device: Kindle Fire
Follow-up.

The database is on a RAID box, so rebooting my computer didn't do it, but as I suspected above, rebooting the RAID seems to have reset any permissions/open ownerships that might have been blocking the program from writing to the calibre database.

So, problem resolved, thanks for your suggestions!
w0wbagger is offline   Reply With Quote
Old 06-20-2020, 11:46 PM   #5
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,338
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
that's a disk I/O error, it means sqlite failed to write data to the disk.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic adding folder sometimes fails to add kaito Calibre 14 09-10-2018 10:59 AM
add-tts-engine fails to run dlibke Plugins 2 05-04-2018 06:26 PM
Trying to add large library of books - add books seems to have hung nicknefarious Library Management 1 06-18-2012 09:32 AM
Calibredb add after ebook-convert fails spullar Calibre 5 03-04-2010 01:14 PM
Attempt to add 1187 ebooks in one folder fails silently earthq Calibre 1 06-12-2009 12:20 AM


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


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