That error indicates the db file is being accessed by another program. Either you have two instance of calibre running (a separate calibre server for example) or you have an aggressive antivirus program or your database is on a network share like dropbox.
|