[New pdf] Error "SetState" .zotero-pdf-state - File used by another process

edited 27 days ago
I would like to share an error log from the new pdf editor.
After I open and start to read/underline the pdf (not happening with each pdf, just few/random) the warning red bar appears, I can just ignore it and continue to work, If I close and open the pdf again the error usually does not appear, it seems to be random/not associated with specific behavior (or not that I noticed).

I'm on win10 with Zotero 5.0.97-beta.44+fa4020f78. I never used Mendeley, so no import from other managers (maybe the pdf was originally in Zotero stable database, before I upgrade to beta, I can not confirm).

Please, if I can better debug the issue let me know the steps I have to follow.

PDF.js v2.8.149 (build: 4f4cd761c)

Stack: Win error 32 during operation delete on file C:\Users\...\storage\6GJKNK7N.zotero-pdf-state (Impossible to open file. The file is used by another process.
(No stack trace)
From previous event:
captureStackTrace@resource://zotero/loader.jsm -> resource://zotero/bluebird/debuggability.js:915:23
CapturedTrace@resource://zotero/loader.jsm -> resource://zotero/bluebird/debuggability.js:807:5
longStackTracesCaptureStackTrace@resource://zotero/loader.jsm -> resource://zotero/bluebird/debuggability.js:482:19
doThenable@resource://zotero/loader.jsm -> resource://zotero/bluebird/thenables.js:60:5
tryConvertToPromise@resource://zotero/loader.jsm -> resource://zotero/bluebird/thenables.js:28:20
module.exports/Promise.cast@resource://zotero/loader.jsm -> resource://zotero/bluebird/promise.js:222:15
  • @martynas_b might have some idea, but this might be due to some sort of security software on your system interfering with Zotero.
  • Ok, I can reproduce the issue with a quick test that does simultaneous writes to the same file. That fails only Windows, while no issues observed on Linux, macOS. This might affect any part of Zotero, not only PDF reader.
  • It will be fixed in the next update.
  • Great! Thank you, please let me know if you need more help by my side.
Sign In or Register to comment.