Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-18-2017, 10:19 AM   #1
BiloKranks
Member
BiloKranks began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2017
Device: none
Disk IO Error when Exporting Library and Converting Books

I'm trying to export and backup my calibre library but I keep getting a disk IO error. I can access the books in my library alright, but I can't convert them.

I read a Disk IO error may mean the hard drive is failing? If so, I want to back this information up as soon as possible. Any advice? Code below:

calibre, version 2.85.1
ERROR: Failed: Failed to export data. Click "Show Details" for more information.

Traceback (most recent call last):
File "site-packages/calibre/gui2/dialogs/exim.py", line 140, in run_action
File "site-packages/calibre/utils/exim.py", line 195, in export
File "site-packages/calibre/db/cache.py", line 62, in call_func_with_lock
File "site-packages/calibre/db/cache.py", line 2170, in export_library
File "site-packages/calibre/db/backend.py", line 1772, in backup_database
IOError: IOError: error
BiloKranks is offline   Reply With Quote
Old 05-18-2017, 10:57 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,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Disk IO errors means there were errors reading./writing data from the disk. Usually that means your disk is failing. Best to move the calibre library to another disk.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-18-2017, 12:25 PM   #3
BiloKranks
Member
BiloKranks began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2017
Device: none
Thanks for the info, Kovid. Great software, btw. When I tried transferring my library to an external HD, I got a message saying "Cannot complete because metadata.db cannot be read".

How in trouble am I now? Any possible solutions? My library is huge and I don't want to lose it all.
BiloKranks is offline   Reply With Quote
Old 05-18-2017, 09:17 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,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use a file manager like windows explorer to transfer the folder. The in calibre click the calibre icon and choose Switch/create library and specify the location you transferred it to.

Moving it via calibre does a lot more work internally, so it's possible the transfer will succeed when done with a file manager instead, which just does a simple copy.
kovidgoyal is offline   Reply With Quote
Old 07-25-2017, 03:06 AM   #5
BiloKranks
Member
BiloKranks began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2017
Device: none
I moved my library to a brand new hard drive. The hard drive my old library was on still works fine.

Today, my library (on the new hard drive) gave me another I/O error. I thought it had to be a mistake, because it's a brand new hard drive and there are no other errors or problems with it.

I restarted my computer and upgraded Calibre to the newest version.

When I tried to reopen Calibre it says my library has been corrupted, and needs to be restored with this error message:

Traceback (most recent call last):
File "site-packages/calibre/gui2/main.py", line 303, in initialize_db
File "site-packages/calibre/db/legacy.py", line 81, in __init__
File "site-packages/calibre/db/legacy.py", line 48, in create_backend
File "site-packages/calibre/db/backend.py", line 405, in __init__
File "site-packages/calibre/db/backend.py", line 850, in execute
File "src/cursor.c", line 236, in resetcursor
IOError: IOError: disk I/O error


What do I do/what's going on? Both of these hard drives are working fine and I keep getting Calibre errors. I am afraid of not being able to access my library and losing all my data.

Please advise.
BiloKranks is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying books from external disk to Calibre library Jodo18 Library Management 2 01-22-2016 11:03 PM
Remove comma from file name when exporting books to disk davy39 Library Management 0 03-31-2013 11:54 PM
Error converting books in 0.8.27 paulfiera Calibre 12 11-19-2011 02:53 AM
Options for exporting to disk TMF Calibre 7 07-28-2009 03:46 PM


All times are GMT -4. The time now is 02:28 PM.


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