Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-15-2019, 12:30 PM   #1
gvantass
Member
gvantass began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2018
Device: kindle paperwhite
I think I broke my database

Overnight, I was had set a large number of files to auto-import to my Calibre database, which resides on an installed SD card. When I woke up this morning, the card had run out of space and now every time I try to open the database, I get the following error message. Can someone help me recover somehow?


Code:
calibre, version 3.44.0
ERROR: Startup error: There was an error during calibre startup. Parts of calibre may not function. Click Show details to learn more.

Traceback (most recent call last):
  File "site-packages/calibre/gui2/main.py", line 291, in initialize_db_stage2
  File "site-packages/calibre/gui2/main.py", line 235, in start_gui
  File "site-packages/calibre/gui2/ui.py", line 436, in initialize
  File "site-packages/calibre/gui2/init.py", line 780, in save_layout_state
  File "site-packages/calibre/gui2/library/views.py", line 635, in save_state
  File "site-packages/calibre/gui2/library/views.py", line 629, in write_state
  File "site-packages/calibre/db/cache.py", line 62, in call_func_with_lock
  File "site-packages/calibre/db/cache.py", line 616, in set_pref
  File "site-packages/calibre/db/backend.py", line 134, in set
  File "site-packages/calibre/db/backend.py", line 131, in __setitem__
SQLError: SQLError: no such savepoint: _apsw-0
gvantass is offline   Reply With Quote
Old 06-15-2019, 06:20 PM   #2
DaltonST
Deviser
DaltonST is the One.DaltonST is the One.DaltonST is the One.DaltonST is the One.DaltonST is the One.DaltonST is the One.DaltonST is the One.DaltonST is the One.DaltonST is the One.DaltonST is the One.DaltonST is the One.
 
DaltonST's Avatar
 
Posts: 1,499
Karma: 101298
Join Date: Aug 2013
Location: Texas
Device: 8" Win10 Tablet w/Calibre64
Scan and Repair the SD Card.

Copy the library to a proper HD.

If Calibre will open it, use Calibre's Check Library function. Fix any etrors.

If not, rename the bad library then run Calibre. It will create a new library. Go from there.
DaltonST is offline   Reply With Quote
Advert
Old 06-15-2019, 06:37 PM   #3
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: 23,268
Karma: 24326584
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A, Kobo Aura2
SD cards can fail without notice. Active Library duty does a lot of reads and writes. If you need more drive, get a USB drive or Get a bigger drive that fits, and clone your existing drive to it (allow the clone to use the entire drive), then swap in the new drive. This process usually takes about an hour
theducks is offline   Reply With Quote
Reply

Tags
database errors, sql error

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aura I can't believe I broke it.... booklover6 Kobo Reader 20 03-13-2015 04:58 PM
I Broke My PE! bobmutch enTourage Archive 8 05-23-2011 01:05 AM
Calibre Database cp Kindle Database mitch13 Library Management 1 05-22-2011 07:33 PM
Broke my Kindle hellraiser06 Amazon Kindle 39 02-14-2011 01:19 AM
Opus Help! I think I broke it Crusader Bookeen 19 12-07-2009 06:43 PM


All times are GMT -4. The time now is 11:04 AM.


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