Those errors indicate a corrupted metadata.db file in your calibre library folder. Delete it and calibre should start with an empty metadata.db. You can then restore your books by clicking the calibre icon on the toolbar and using library maintenance->restore database
|