View Single Post
Old 08-21-2012, 03:34 PM   #1
laird
Junior Member
laird began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2012
Device: nook simple touch
Rsync failure, Database repair, missing books

I use an rsync job to keep my laptop and home machine in sync. I think I probably had a network failure while syncing and now I see that my calibre library is missing some books.

I performed a database restore and had lots of warnings like this:

Quote:
/Users/laird/Calibre_Library/Charles Stross/Down on the Farm (Laundry Files) (4138) with error:
Traceback (most recent call last):
File "site-packages/calibre/library/restore.py", line 245, in restore_books
File "site-packages/calibre/library/restore.py", line 259, in restore_book
File "site-packages/calibre/library/database2.py", line 3332, in create_book_entry
File "site-packages/calibre/library/sqlite.py", line 313, in run
IntegrityError: PRIMARY KEY must be unique
Any suggestions on how to fix this?

Thanks,

Alan
laird is offline   Reply With Quote