Unable to Open Local PDFs Offline
Report ID: 1452282969
I am trying to use Zotero when offline.
When my computer is offline, Zotero:
1) Will not open PDFs or other files attached to items
2) Intermittently raises a report error: “A file sync error occurred. Please try syncing again."
Notes:
- All files are stored locally
- Preferences > Sync > Data Syncing> Sync automatically is OFF. Sync full-text content is ON. I have also tried with Sync full-text content OFF. No change.
- When I reconnect to the Internet, all the requested PDFs open in Zotero
- I am still able to open the files offline by navigating to their location on my hard drive.
I am trying to use Zotero when offline.
When my computer is offline, Zotero:
1) Will not open PDFs or other files attached to items
2) Intermittently raises a report error: “A file sync error occurred. Please try syncing again."
Notes:
- All files are stored locally
- Preferences > Sync > Data Syncing> Sync automatically is OFF. Sync full-text content is ON. I have also tried with Sync full-text content OFF. No change.
- When I reconnect to the Internet, all the requested PDFs open in Zotero
- I am still able to open the files offline by navigating to their location on my hard drive.
This has nothing to do with the "Sync full-text content" setting. The relevant setting for syncing files is the "as needed"/"at sync time" file-syncing setting. Meaning what? If you do right-click → Show File, it will either show the file or say that the file doesn't exist.
Correct: The file exists on my hard drive. The Data Directory also goes to a folder my hard drive. Even offline, using Zotero, right click, “Show File,” I can navigate to the attached PDF and open it using Adobe etc. I just cannot open the PDF or other files in Zotero when I am offline. And the error report crops up intermittently regardless of whether I try to open a PDF.
Are you using "at sync time" or "on demand" for file syncing?
If a file exists locally, you modify it on another computer, you sync Zotero on that computer, and then you sync Zotero on this computer using "on demand" file syncing, Zotero on this computer will know the file was modified and needs to be downloaded. If you're later offline and try to open the file, Zotero won't be able to download the file, and you'll get a sync error, because the alternative would be opening the outdated local file, which could lead to a file conflict.
If you're sometimes working offline, you should use "at sync time" for file syncing.
– I went offline
- I tried to open a PDF in Zotero by double-clicking it. Nothing happens.
- I right click => Show file => navigate to fold and open the PDF using other software
- I go back online and generate debug report.
- Result: D103262015
I am not sure if that is what is needed. When I get the automatic error report, it provides the following:
[JavaScript Error: "The connection was refused when attempting to contact wss://stream.zotero.org/."]
[JavaScript Error: "WebSocket connection closed: 1006 "]
[JavaScript Error: "The connection was refused when attempting to contact wss://stream.zotero.org/."]
[JavaScript Error: "WebSocket connection closed: 1006 "]
[JavaScript Error: "Error connecting to server. Check your Internet connection."]
[JavaScript Error: "Error connecting to server. Check your Internet connection."]
[JavaScript Error: "Error connecting to server. Check your Internet connection."]
[JavaScript Error: "S3 returned 0 for 1/HKKEBYLW -- retrying download" {file: "chrome://zotero/content/xpcom/storage/zfs.js" line: 180}]
Zotero.Sync.Storage.Mode.ZFS.prototype.downloadFile 6.0.16, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => en-US, appName => Zotero, appVersion => 6.0.16, extensions => Zotero LibreOffice Integration (6.0.3.SA.6.0.16, extension), Zotero Word for Windows Integration (6.0.2.SA.6.0.16, extension)
Preferences > Sync > File Syncing
Turn OFF both “Sync attachment files in My Library” and “Sync attachment files in group libraries etc.”
In short, turn off all syncing. Perhaps that works if one uses Zotero on only one computer.
You're at your file sync quota, though, so some of your files, including this one, just don't exist online. If you actually want to use file syncing, you would want to upgrade your storage. If not, you should just leave file syncing off. (You'd be getting a warning about that on every sync telling you that you're at your quota.)
Also, do you recall previously using "Reset File Sync History"? Zotero shouldn't be trying to download this file at all if it was added on this computer and never uploaded. But it's possible being at your quota is complicating things.