can't open library
Hi,
I have a separate Zotero library for a work project and access it by using the following in terminal /Applications/Zotero.app/Contents/MacOS/zotero -P
Something has happened and now the library won't open. I get the following error message:
Error: Error(s) encountered during statement execution: database disk image is malformed [QUERY: SELECT version FROM version WHERE schema='lastsync'] [PARAMS: ] [ERROR: database disk image is malformed]
Zotero.DBConnection.prototype.valueQueryAsync@chrome://zotero/content/xpcom/db.js:731:13
From previous event:
ZoteroService@file:///Applications/Zotero.app/Contents/Resources/components/zotero-service.js:346:7
@chrome://zotero/content/include.js:4:14
Any suggestions?
Sarah
I have a separate Zotero library for a work project and access it by using the following in terminal /Applications/Zotero.app/Contents/MacOS/zotero -P
Something has happened and now the library won't open. I get the following error message:
Error: Error(s) encountered during statement execution: database disk image is malformed [QUERY: SELECT version FROM version WHERE schema='lastsync'] [PARAMS: ] [ERROR: database disk image is malformed]
Zotero.DBConnection.prototype.valueQueryAsync@chrome://zotero/content/xpcom/db.js:731:13
From previous event:
ZoteroService@file:///Applications/Zotero.app/Contents/Resources/components/zotero-service.js:346:7
@chrome://zotero/content/include.js:4:14
Any suggestions?
Sarah
You can try one of the zotero.sqlite backups in the Zotero data directory or try running the database through the DB Repair Tool.