Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-13-2011, 04:20 PM   #1
windom
Member
windom began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Dec 2010
Device: Nook Color; Axim X51v; Cruz Reader R101
Library Damaged - Need Repair

Last night I started copying books from one library on my laptop to another on my server. This is a regular thing for me. However, some time later, I close my laptop for the night. I opened it up a couple of minutes later because it didn't suspend. When I opened it, I found Calibre in the middle of the process that I forgot. I waited for it to resume but it never did. There was no response from Calibre when I tried to shutdown so I just killed the processes and shutdown my laptop for the night. The next morning I thought I'd just start the copy over again. When I tried, the copy process did nothing. The copy window hung at 0%. I killed and started a few times with the same result. Finally I tried to open the destination Library but it would not open. I figure it must be damaged. What can I do? I am running 7.49 on Ubuntu. When I shut the laptop the first time it definitely stop the network. Also, I was doing copy with delete not just plain copy.

-w-
windom is offline   Reply With Quote
Old 03-13-2011, 04:41 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,047
Karma: 60358908
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 windom View Post
Last night I started copying books from one library on my laptop to another on my server. This is a regular thing for me. However, some time later, I close my laptop for the night. I opened it up a couple of minutes later because it didn't suspend. When I opened it, I found Calibre in the middle of the process that I forgot. I waited for it to resume but it never did. There was no response from Calibre when I tried to shutdown so I just killed the processes and shutdown my laptop for the night. The next morning I thought I'd just start the copy over again. When I tried, the copy process did nothing. The copy window hung at 0%. I killed and started a few times with the same result. Finally I tried to open the destination Library but it would not open. I figure it must be damaged. What can I do? I am running 7.49 on Ubuntu. When I shut the laptop the first time it definitely stop the network. Also, I was doing copy with delete not just plain copy.

-w-
Next to the Library Icon, there is a little arrow. Maintenance options are there.
you can try the repair., the last item tries to rebuild from the OPF stored with each book (plan on some time being consumed).
theducks is online now   Reply With Quote
Advert
Old 03-13-2011, 06:37 PM   #3
windom
Member
windom began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Dec 2010
Device: Nook Color; Axim X51v; Cruz Reader R101
How do I do this if I can't open the Library?

-w-
windom is offline   Reply With Quote
Old 03-13-2011, 06:44 PM   #4
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,047
Karma: 60358908
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 windom View Post
How do I do this if I can't open the Library?

-w-
Will Calibre open at all? This is a metadata.db reconstruction tool, that looks in each folder (where you normally don't need to look) and reads the .opf file and rebuilds the database from that.
You can also do this with the command line tools (syntax in the on-line manual)
theducks is online now   Reply With Quote
Old 03-14-2011, 06:21 PM   #5
windom
Member
windom began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Dec 2010
Device: Nook Color; Axim X51v; Cruz Reader R101
I finally fixed the library. But it wasn't a direct route. I issued the command calibredb restore_database -r --with-library=/media/Calibre/Fiction/. It resides on an NFS share. Looked liked it work. No joy. Still could not open the library. Restarted the server, NFS, etc. Still no joy. Finally took the server down and moved the USB drive to my desk where I copied the library directory to my local drive. I reissued the command (changing the path of course) and then there was joy. Copied it back to the USB drive and there was still joy. Moved the drive back to the server and it still worked. I mention all this so others don't give up easily. Rescue still may be possible. Why it didn't work on the server is now a quickly fading issue now that the library is fixed.

Thanks for the tip on using the command line.

-w-
windom is offline   Reply With Quote
Advert
Old 03-14-2011, 08:13 PM   #6
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,047
Karma: 60358908
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 windom View Post
Why it didn't work on the server is now a quickly fading issue now that the library is fixed.

Thanks for the tip on using the command line.

-w-
Caching can be your enemy with desktop (single user) databases)
If you have fine control, disable the caching for the Library folder path. You will take a performance hit, but your data will be safer
theducks is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-650 Is this screen damaged? glarus Sony Reader 26 06-28-2011 02:04 AM
Damaged Kindle stargazir Amazon Kindle 5 02-09-2011 07:46 PM
Gen3 Damaged Screen... Halk Bookeen 10 12-24-2009 01:53 PM
Sell 2x PRS505 - damaged for spares/repair Ekhtelion Flea Market 0 12-17-2009 09:21 AM
Another damaged unit? wataru iRex 2 11-09-2008 09:25 AM


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


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