Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-12-2011, 02:46 AM   #1
SmiLynnLady
Junior Member
SmiLynnLady began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2010
Device: Kindle, iPAD
Calibre Error Message - Now I have NO BOOKS

I got two error messages as I was cleaning up Author(s) info. in Calibre.
So I closed Calibre - opened it up again expecting things to have cleared up - and suddenly I have ZERO BOOKS in Calibre. (My "Calibre Library" file with over 4,000 books appears to be okay. I copied it elsewhere to keep it from being damaged while I try to fix things.)

What do these error messages mean? Did I do something to cause the problem?

ERROR MESSAGE 1
calibre, version 0.8.9
ERROR: Unhandled exception: <b>DatabaseException</b>:disk I/O error
RemoteTraceback (most recent call last):
File "site-packages/calibre/library/sqlite.py", line 268, in run
OperationalError: disk I/O error
Traceback (most recent call last):
File "site-packages/calibre/gui2/library/models.py", line 889, in setData
File "site-packages/calibre/library/database2.py", line 1929, in set
File "site-packages/calibre/library/database2.py", line 2189, in set_authors
File "site-packages/calibre/library/database2.py", line 2133, in _set_authors
File "site-packages/calibre/library/sqlite.py", line 308, in run
DatabaseException: disk I/O error
RemoteTraceback (most recent call last):
File "site-packages/calibre/library/sqlite.py", line 268, in run
OperationalError: disk I/O error
-------------------
ERROR MESSAGE 2
calibre, version 0.8.9
ERROR: Unhandled exception: <b>DatabaseException</b>:disk I/O error
RemoteTraceback (most recent call last):
File "site-packages/calibre/library/sqlite.py", line 268, in run
OperationalError: disk I/O error

Traceback (most recent call last):
File "site-packages/calibre/gui2/ui.py", line 692, in closeEvent
File "site-packages/calibre/gui2/ui.py", line 602, in write_settings
File "site-packages/calibre/gui2/init.py", line 278, in save_layout_state
File "site-packages/calibre/gui2/library/views.py", line 331, in save_state
File "site-packages/calibre/gui2/library/views.py", line 325, in write_state
File "site-packages/calibre/library/prefs.py", line 58, in set
File "site-packages/calibre/library/prefs.py", line 53, in __setitem__
File "site-packages/calibre/library/sqlite.py", line 308, in run
DatabaseException: disk I/O error
RemoteTraceback (most recent call last):
File "site-packages/calibre/library/sqlite.py", line 268, in run
OperationalError: disk I/O error
-----------------------
Can you tell me what happened, and how to keep it from happening again? Can I just download Calibre again and tell it to use the same "Calibre Library" - or do you think the Library itself is damaged?
SmiLynnLady is offline   Reply With Quote
Old 07-12-2011, 03:03 AM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
That message is telling you that there is a problem with accessing your the Calibre metadata.db file on the hard disk! It could be genuine hardware level error, or the Calibre metadata.db file could have been corrupted in some way.

What OS are you using? The first thing you should run is whatever utility the OS provides for checking the hard disk, and take whatever action is required to remedy the issue if there is an underlying hardware of filing system fault. This would fix most problems with a hard disk and rectify any file system level errors.

If the Calibre metadata.db database file is damaged then you will then either need to restore it from a backup, or use the calibre facility for restoring it by rebuilding it from the files in your Calibre library.
itimpi is offline   Reply With Quote
Advert
Old 07-12-2011, 12:02 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: 29,884
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Question Did a Unusual event happen

Was there something that may have caused this?
Mains failure? Computer lockup? BSOD?

Are other programs now having issues

Windows Event viewer (administrative tools): System section:
Anything RED should be reviewed. Any RED message that mentions Disk drive should get a second opinion.

Warning: Do NOT defrag a failing Hard Drive.

That's like asking a cardiac patient to run up hill
theducks is offline   Reply With Quote
Old 07-12-2011, 03:44 PM   #4
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.
 
PeterT's Avatar
 
Posts: 12,219
Karma: 74000000
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Quote:
Originally Posted by theducks View Post

Warning: Do NOT defrag a failing Hard Drive.

That's like asking a cardiac patient to run up hill
LOL.. That reminds me of many years ago, a friend and I each had an Eagle portable PC; one of the early PC clones. He had ran a defrag of his hard disk and now few if any of the DOS programs would work. He was convinced he had a bad virus on his PC.

We found the problem was that he had faulty memory; the defrag read all files into RAM and wrote them back out. Any of the contents of the files read into the faulty error of RAM were now corrupt.
PeterT is offline   Reply With Quote
Old 07-12-2011, 04:38 PM   #5
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,884
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by PeterT View Post
LOL.. That reminds me of many years ago, a friend and I each had an Eagle portable PC; one of the early PC clones. He had ran a defrag of his hard disk and now few if any of the DOS programs would work. He was convinced he had a bad virus on his PC.

We found the problem was that he had faulty memory; the defrag read all files into RAM and wrote them back out. Any of the contents of the files read into the faulty error of RAM were now corrupt.
Ouch!
Yes, Defrag is also RAM and I/O intensive.

Had a pair of 1/2 height 40M Seagate MFM drives that started having sector errors. Every few days another few sectors would come up bad.

2 drives from different lots, at the same time

Borrowed a PSU for a AT (286) clone. Drives came up clean.
1 @ $100 PSU was a whole lot cheaper than those $450 40M Segates.
theducks is offline   Reply With Quote
Advert
Old 07-12-2011, 04:47 PM   #6
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.
 
PeterT's Avatar
 
Posts: 12,219
Karma: 74000000
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
I remember those MFM drives... I even bought an MFM Adaptec controller to get some extra storage on them
PeterT is offline   Reply With Quote
Old 07-12-2011, 06:14 PM   #7
banjomike
Addict
banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.
 
banjomike's Avatar
 
Posts: 319
Karma: 397404
Join Date: Aug 2009
Location: UK
Device: PRS-505,DSlibris,nook Glow & Simple & HD+,Tab S2,Moon+,Kobo Clara
That sounds like the old Seagate ST-251. They made a weird DOINK noise on startup.
banjomike is offline   Reply With Quote
Old 07-12-2011, 06:45 PM   #8
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,884
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by banjomike View Post
That sounds like the old Seagate ST-251. They made a weird DOINK noise on startup.
Thanks for jogging my brain. Yep, those beasts.
I had the hot setup. 10MHz 0 Wait state 286 with a 2M Intel Above Board and 2 HD.
Smoking fast Paradox (DOS) Database machine. The data crunch: Seconds. The print job: hours (Epson MX80 with Dots Perfect+)
theducks is offline   Reply With Quote
Old 07-12-2011, 08:27 PM   #9
SmiLynnLady
Junior Member
SmiLynnLady began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2010
Device: Kindle, iPAD
Thanks, ITIMPI. I'm using MAC OSX version 10.6.8. Don't know about utilities on the MAC ... spent many years with PC, but this is first problem with MAC. Guess I'd better find out. I found the metadata.db file in my Calibre Library ... but when I click on it, My an iPHOTO update program starts up! How can I get a "clean" metadata.db file to replace it? (I'd like to cram iPHOTO ver. 11 in a dark hole ... it's become a nightmare to tag my 24,000+ photos, and it's impossible to convert back to the previous version. But that's another problem for another day.)
SmiLynnLady is offline   Reply With Quote
Old 07-12-2011, 08:49 PM   #10
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,884
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by SmiLynnLady View Post
Thanks, ITIMPI. I'm using MAC OSX version 10.6.8. Don't know about utilities on the MAC ... spent many years with PC, but this is first problem with MAC. Guess I'd better find out. I found the metadata.db file in my Calibre Library ... but when I click on it, My an iPHOTO update program starts up! How can I get a "clean" metadata.db file to replace it? (I'd like to cram iPHOTO ver. 11 in a dark hole ... it's become a nightmare to tag my 24,000+ photos, and it's impossible to convert back to the previous version. But that's another problem for another day.)
each Metadata.db is unique.
If it is so damaged it can't be run,
You need to delete (back it up somewhere else) and "Rebuild" using The Library Maintenance" tool.
theducks is offline   Reply With Quote
Old 07-14-2011, 05:12 AM   #11
SmiLynnLady
Junior Member
SmiLynnLady began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2010
Device: Kindle, iPAD
Thanks ducks ... I went back a couple of days in TimeMachine to a good backup & restored my Library. Re-downloaded Calibre ... and it all works again! Thank God for regular backups!
SmiLynnLady is offline   Reply With Quote
Reply

Tags
error message, library


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error message by calibre alroy Calibre 5 09-01-2013 11:46 PM
Can't open Calibre-error message matcor Calibre 2 02-26-2011 12:51 AM
Error Message In Calibre ilovelabbies Calibre 10 10-16-2010 11:10 PM
Help! Calibre Error-message larserik Calibre 6 12-18-2009 05:49 PM
Calibre / Comic2LRF Error Message ColdSun Calibre 1 11-06-2008 11:36 AM


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


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