Error report: 1766825078
Zotero standalone throws an error when I try to drag a pdf or other attachment OUT onto the desktop (or elsewhere):
"Error Copying File or Folder
Unspecified error"
I ran the error report above but it said no errors had occurred.
Steps to reproduce:
Open Zotero standalone
Choose an entry with one or more attachments
Drag an attachment out of the Zotero window onto the desktop
The file does not arrive and the error above appears in a dialogue box
Steps to attempt remedy:
Tried different attachments
Tried different file destinations (Explorer windows)
Tried re-starting Zotero
Tried re-starting computer
When did this appear? Several weeks ago. I've been checking for updates thinking it may be fixed, but it has become annoying enough to report now.
My system: MS Studio 2, Win10, Zotero 5.0.89
"Error Copying File or Folder
Unspecified error"
I ran the error report above but it said no errors had occurred.
Steps to reproduce:
Open Zotero standalone
Choose an entry with one or more attachments
Drag an attachment out of the Zotero window onto the desktop
The file does not arrive and the error above appears in a dialogue box
Steps to attempt remedy:
Tried different attachments
Tried different file destinations (Explorer windows)
Tried re-starting Zotero
Tried re-starting computer
When did this appear? Several weeks ago. I've been checking for updates thinking it may be fixed, but it has become annoying enough to report now.
My system: MS Studio 2, Win10, Zotero 5.0.89
Anyway, back to the original issue. I have tried to work out what else is going on.
If I right-click a pdf in Zotero standalone and click Show File, it will say "The attached file could not be found...." BUT if I instead double-click to open that pdf, it will open the file (without any errors) and display it. Afterwards, THAT file will Show File and/or drag to the desktop properly. My local file storage therefore seems to be semi-messed up - Zotero is pretending not to know where the file is but actually does!
Zotero file syncing can be set to download files "at sync time" or "as needed" in the Sync pane of the preferences. If set to the latter, files aren't download until you try to open them in Zotero, but that won't currently happen automatically for Show File or for dragging to the filesystem. We should be able to fix that for the former, but the latter might not be possible for technical reasons (though we could probably show a clearer error message).
For now, if you want to drag a file to the filesystem, you should open it once from Zotero first so that the file exists locally. You can enable the Attachments column to see whether a file exists locally (empty or filled circle).
Future versions of Zotero will provide more control over downloaded files, including probably the ability to download files without opening them and specify how much disk space is used for locally saved files.
And yes, I agree, that error box was indeed spectacularly unhelpful! :)
But if files aren't present locally after setting it to "at sync time", see Files Not Syncing.