A mistake happend when I try to capture a screen shot

It said that :
PDF.js v2.8.0 (build: fdde957)
信息:Error(s) encountered during statement execution: UNIQUB constraint failed: items . 1ibraryID, items .key IQUERY:
INSERI INTO items (itemID, 1ibraryID, key, clientDatenodified, itemTypeID, dateAdded, datenodified) VAIUES
(3,2,2,2,2,2, 2) 1 [PARAMS: 3004, 1, "IULYFZAF",
"2022-11-28 14:11:32", 1,"2022-11-28 14:11:32",
"2022-11-28 14:11:32"1
[ERROR: UNIQUE constraint failed: items.libraryID, items.key]
堆栈:Error: Error (S) encountered during statement execution : UNIQUE constraint failed: items .1ibraryID, items .key
[QUERY: INSERT INTO items (itemID, libraryID, key, clientDateModified, itemTypeID, datedded, dateModified) VALUES (?,?,?,2,?,?,?) ] [PARAMS: 3004, 1,
"IULYFZAF"
"2022-11-28 14:11:32",1,"2022-11-28 14:11:32",“2022-11-28 14:11:32"]
[ERROR: UNIQUE constraint failed: items.libraryID, items.key]
Zotero.DBConnection.prototype.queryAsync@chrome://zotero/content/xpcom/db.js:680:13
From previous event:
captureStackTraceresource://zotero/loader.jsm -> resource://zotero/bluebird/debuggability.js:915:23
CapturedTraceresource://zotero/loader.jsm -> resource://zotero/bluebird/debuggability.js:807:5
longStackTracesCaptureStackTrace@resource://zotero/loader.jsm-> resource: //zotero/bluebird/debuggability.js:482:19 module.exports/Promise.prototype.
thendresource://zotero/loader.jsm -> resource://zotero/bluebird/promise.js:261:9
module.exports/Promise.prototype. passThrough@resource://zotero/loader.jsm -> resource:/ /zotero/bluebird /finally.js:94:12
module.exports/Promise.prototype.finally@resource:/ /zotero/loader.jsm -> resource://zotero/bluebird
/finally.js:103:12
PromiseSpawnresource://zotero/loader.ism -> resource://zotero/bluebird/generators.is: 36:25
module.exports/Promise.coroutine/ resource://zotero/bluebird/generators.js:197:21
Zotero .DataOb ject .prototype . saves/result<echrome : / /zotero/content/ xpcom/data/dataob ject . js :941:15
TaskImpl run@resource:/ /gre/modules /Task.jsm: 326:42
TaskImpl@resource:/ /gre/modules /Task. ism: 275:3
asyncFunction@resource://gre/modules/Task.jsm:247:14
Task spawn@resource://gre/modules /Task. ism: 161:12
executeTransaction/promise</transactionPromise<@resource://gre/modules/Sqlite.jsm:588:30
  • edited November 29, 2022
    We always need a Report ID or Debug ID, not raw output. Can you restart Zotero and provide a Debug ID for reproducing this?

    You should make sure you're trying with third-party plugins disabled, and you should check your database integrity from the Advanced → Files and Folders pane of the Zotero preferences.
  • Also, by "screen shot", do you mean an image annotation in the PDF reader?
  • Yes,It means the image annotation, and I cannot replay this bug now, When I meet it again, I will try to find the Report ID and DebuID. Thank you very much!
Sign In or Register to comment.