Error 'setState'
I have the Zotero beta on 2 Windows10 computers. On both computers my Zotero storage folder is in the standard location and I'm using Zotero's sorting system. However, there's a symbolic link (mklink /d ...) that connects it to another folder in my 3rd party Drive service (e.g. Google Drive).
I've managed to import all my Mendeley files and annotations but now there's something wrong when I open the files with the built-in reader of the beta.
I get the following error:
Error 'setState'
PDF.js v2.8.151 (build: ead34cdca)
Message:
How can I solve this issue?
P.S. I do have Zotfile and I've used it to rename the pdf attachments only.
I've managed to import all my Mendeley files and annotations but now there's something wrong when I open the files with the built-in reader of the beta.
I get the following error:
Error 'setState'
PDF.js v2.8.151 (build: ead34cdca)
Message:
How can I solve this issue?
P.S. I do have Zotfile and I've used it to rename the pdf attachments only.
https://www.zotero.org/support/sync#alternative_syncing_solutions
"Alternatively, you can use a symlink to sync only the storage directory from your Zotero data directory using the external sync service. This will sync your attachment files without touching the main Zotero SQLite database. This is an advanced technique, and if you don't fully understand how to create symlinks and how they interact with your cloud storage service, you should not use it."
That's what I did.
I have to add that the "Sync automatically" option was not on. Due to this thing I received some popup messages on my second computer about the remote copy being different from the local one but nothing more than that.
Note that you should disable all third-party plugins when testing things like this.
I don't know how the error is triggered and I didn't notice any clear negative effect as I got the error message. It seems more like a warning.
In the output I see something like: [JavaScript Error: "Permission denied to access property "parentElement"" {file: "resource://zotero/pdf-reader/annotator.js" line: 2298}] repeated x20 times (more or less)
Image with Zotero settings available here: https://we.tl/t-l8yNaFgqrG
1) Another software (i.e. antivirus) is constantly accessing the file and shortly locking it.
2) You don't have write permissions to the file (or folder).
If that won't help you to figure out what is blocking writes to the file, you will need to wait for the next update until we see the specific error.
My guess is: the .zotero-pdf-state is periodically updated to the OneDrive servers and that's when I get the popup message. Either removing the popup or actually having a solution for the issue would be the same from my point of view.
Hope you have figured out the reason? I'm kinda worried that: would the error have any influence on my notes and marks? Will I lose my notes?