View Single Post
Old 09-15-2014, 06:55 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,650
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@smei for recognising this was caused by something you did, you'd be amazed how many folks swear black-'n'-blue they didn't do nuffin', and insist that calibre ate their library.

I'll assume the path to your broken library is /Users/thebestdog/Documents/Calibre Library/

Try this -
  1. start calibre with that broken library,
  2. create an empty library see first attachment
  3. close calibre
  4. open the broken library folder in Finder
  5. delete the metadata.db file and and any other FILES, leave the folders as they are
  6. using Finder copy the metadata.db from that empty library folder (/Users/thebestdog/Documents/_NewLibrary) into the the broken library folder (/Users/thebestdog/Documents/Calibre Library/)
  7. start calibre (and go into the broken library) - it will be empty
  8. run the Library Maintenance->Library Restore function - now you should have a lot of your library back
  9. run the Library Maintenance->Check Library - clear up all anomalies.
    • hit the button that copies the 'report' into the clipboard, and paste that into a text editor, so you can see it
    • close calibre
    • then use the list to carefully move dodgy author and book folders and any dodgy files out of the library folder to a scratch area
  10. start calibre and rerun the Check Library - hopefully it will now be error free.
  11. now you can deal what you copied to the scratch area by adding anything that's worthwhile to your library
  12. you can trash that _NewLibrary from calibre's view via Library->Remove library and then deleting the folder in Finder.
If that doesn't fix it then hmmm - what happened?

I do not have a MAC, but if I did then I probably would not run calibre and Time Machine concurrently. I would try to achieve that via an Automaton that suspended Time Machine's monitoring of my ebook library folders before it starting calibre and resuming Time Machine's monitoring of them when calibre terminated. I have no idea if that's actually possible.

BR
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	505
Size:	30.5 KB
ID:	128399  

Last edited by BetterRed; 09-15-2014 at 07:07 PM.
BetterRed is offline   Reply With Quote