Handling of PDF files
Just wanted to provide an observation regards the download of PDF files from journal sites. I seem to have an unpredictable problem with downloading a journal article along with the PDF file. The PDF download will fail from the journal page. I can open the PDF file and the page will be recognized by the Zotero connector (all good) but it will not download the file into the Zotero database. I have attempted the download with both Firefox (default) and Chrome. This particular link provides a good example of the issue that I am having. http://www.pnas.org/content/113/19/5263
How are you authenticating for access to the PDF (i.e., are you on a university campus, do you go through some kind of proxy, do you log in to the website)?
Also, when you say "unpredictable", does that mean that you can sometimes download the file and sometimes not? Do PDF files download for journal articles ever?
I am not on a university campus and am not using a proxy
Right now it is plenty predictable....does not work.
Seems that there is some kind of javascript error coming up.
C:\Users\[UserName]\Documents\zotero\storage
. That could be due to initially running Zotero as administrator or some general permission messiness within Windows. You have to ensure that the user account that you run Zotero with has read and write permissions in that directory.What sort of set-up is this? Just a regular personal computer? user IDs as in there are Windows accounts on the computer you don't recognize? Certainly not Zotero's doing, but that would be a cause for concern more generally.
There was one question that MS had regards the behavior of the software. What persistent links are created to the destination storage folder? We attempted to uninstall and delete all remnants of Zotero. To save the current image we tried to rename the directory (called it zotero_old) but that failed. Seems that there is another process with a link to the folder. Even with the browsers and Zotero turned off, the link persisted. The only way to break the link was to restart the computer or uninstall Zotero. That was somewhat peculiar to them.
So far I have:
Reinstalled Zotero desktop and connector - twice.
Refreshed Firefox and reinsalled all add-ons
Removed security software
Performed an in place repair of MS Windows 10 - no change for any of these items.
Have you tried moving your data directory to the default location of C:\Users\:username:\Zotero?
I have uninstalled and reinstalled the Zotero software a number of times. I have allowed it to use the default location and in those instances the sync process with the Zotero servers has worked flawlessly. So it seems the Zotero software is able to write to the local storage directory. But the Zotero browser connector has not worked under any circumstance. Still the same error: access denied.
Most likely something is opening the new files after they're created in the temporary location, and on Windows it's common for files to be opened in a way that blocks writes. (E.g., if you have a PDF open, you often can't write to it or move it.)
Usually this is due to security software, but it could be something else. Have you tried with your third-party Zotero plugins disabled?
High Resolution Date & Time: 3/23/2018 12:36:08.3121537 PM
Event Class: File System
Operation: SetRenameInformationFile
Result: ACCESS DENIED
Path: C:\Users\Matthew Kostura\Documents\Zotero\storage\tmp-jn0ex7
TID: 21380
Duration: 0.0003793
ReplaceIfExists: True
FileName: C:\Users\Matthew Kostura\Documents\Zotero\storage\XVTXVAS8
There is no security program process or thread associated with any of the operations that I can see. I believe the error I am seeing is a failed interaction of the Windows Explorer file system and Zotero.
I'm also curious if the delete that happens on failure is happening successfully. (It should be, based on the lack of another error in the debug output.)
The process monitor I am using provides fairly extensive tracking and so far I have not noted another process especially a security program that is accessing the file.. But I could be missing something.
The Adobe Acrobat extension seemed to play nice.