Cannot sync file from webdav
Report ID: 190327077
I met following errors when trying to sync files from webdav
[JavaScript Error: "XML Parsing Error: no root element found
Location: https://dilved1014@gmail.com:****@dav.jianguoyun.com/dav/zotero/
Line Number 1, Column 1:" {file: "https://dilved1014@gmail.com:****@dav.jianguoyun.com/dav/zotero/" line: 1}]
[JavaScript Error: "XML Parsing Error: no root element found
Location: https://dilved1014@gmail.com:****@dav.jianguoyun.com/dav/zotero/
Line Number 1, Column 1:" {file: "https://dilved1014@gmail.com:****@dav.jianguoyun.com/dav/zotero/" line: 1}]
[JavaScript Error: "Renaming single file '2002.09783.pdf' in ZIP to known filename 'Tan 和 Cong - 2021 - Optimality Study of Existing Quantum Computing Lay.pdf'" {file: "chrome://zotero/content/xpcom/storage/storageLocal.js" line: 874}]
Zotero.Sync.Storage.Local._processZipDownload<@chrome://zotero/content/xpcom/storage/storageLocal.js:874:11
tryCatcher@resource://zotero/loader.jsm -> resource://zotero/bluebird/util.js:16:16
module.exports/PromiseSpawn.prototype._promiseFulfilled@resource://zotero/loader.jsm -> resource://zotero/bluebird/generators.js:97:18
module.exports/Promise.prototype._settlePromise@resource://zotero/loader.jsm -> resource://zotero/bluebird/promise.js:609:17
module.exports/Promise.prototype._settlePromise0@resource://zotero/loader.jsm -> resource://zotero/bluebird/promise.js:649:5
module.exports/Promise.prototype._settlePromises@resource://zotero/loader.jsm -> resource://zotero/bluebird/promise.js:729:13
_drainQueueStep@resource://zotero/loader.jsm -> resource://zotero/bluebird/async.js:93:9
_drainQueue@resource://zotero/loader.jsm -> resource://zotero/bluebird/async.js:86:9
Async.prototype._drainQueues@resource://zotero/loader.jsm -> resource://zotero/bluebird/async.js:102:5
Async/this.drainQueues@resource://zotero/loader.jsm -> resource://zotero/bluebird/async.js:15:9
[JavaScript Error: "Download request 1/BFZJUEIY failed"]
[JavaScript Error: "Invalid attachment hash 'undefined'" {file: "chrome://zotero/content/xpcom/data/item.js" line: 3335}]
[JavaScript Error: "Renaming single file '0005101.pdf' in ZIP to known filename 'Eisert 等 - 2000 - Optimal local implementation of non-local quantum .pdf'" {file: "chrome://zotero/content/xpcom/storage/storageLocal.js" line: 874}]
Zotero.Sync.Storage.Local._processZipDownload<@chrome://zotero/content/xpcom/storage/storageLocal.js:874:11
tryCatcher@resource://zotero/loader.jsm -> resource://zotero/bluebird/util.js:16:16
module.exports/PromiseSpawn.prototype._promiseFulfilled@resource://zotero/loader.jsm -> resource://zotero/bluebird/generators.js:97:18
module.exports/Promise.prototype._settlePromise@resource://zotero/loader.jsm -> resource://zotero/bluebird/promise.js:609:17
module.exports/Promise.prototype._settlePromise0@resource://zotero/loader.jsm -> resource://zotero/bluebird/promise.js:649:5
module.exports/Promise.prototype._settlePromises@resource://zotero/loader.jsm -> resource://zotero/bluebird/promise.js:729:13
_drainQueueStep@resource://zotero/loader.jsm -> resource://zotero/bluebird/async.js:93:9
_drainQueue@resource://zotero/loader.jsm -> resource://zotero/bluebird/async.js:86:9
Async.prototype._drainQueues@resource://zotero/loader.jsm -> resource://zotero/bluebird/async.js:102:5
Async/this.drainQueues@resource://zotero/loader.jsm -> resource://zotero/bluebird/async.js:15:9
[JavaScript Error: "Download request 1/ND7RB6SL failed"]
[JavaScript Error: "Invalid attachment hash 'undefined'" {file: "chrome://zotero/content/xpcom/data/item.js" line: 3335}]
version => 6.0.23, platform => MacIntel, oscpu => Intel Mac OS X 10.16, locale => en-US, appName => Zotero, appVersion => 6.0.23, extensions => Zotero LibreOffice Integration (6.0.4.SA.6.0.23, extension), Zotero Word for Mac Integration (6.0.6.SA.6.0.23, extension)
I met following errors when trying to sync files from webdav
[JavaScript Error: "XML Parsing Error: no root element found
Location: https://dilved1014@gmail.com:****@dav.jianguoyun.com/dav/zotero/
Line Number 1, Column 1:" {file: "https://dilved1014@gmail.com:****@dav.jianguoyun.com/dav/zotero/" line: 1}]
[JavaScript Error: "XML Parsing Error: no root element found
Location: https://dilved1014@gmail.com:****@dav.jianguoyun.com/dav/zotero/
Line Number 1, Column 1:" {file: "https://dilved1014@gmail.com:****@dav.jianguoyun.com/dav/zotero/" line: 1}]
[JavaScript Error: "Renaming single file '2002.09783.pdf' in ZIP to known filename 'Tan 和 Cong - 2021 - Optimality Study of Existing Quantum Computing Lay.pdf'" {file: "chrome://zotero/content/xpcom/storage/storageLocal.js" line: 874}]
Zotero.Sync.Storage.Local._processZipDownload<@chrome://zotero/content/xpcom/storage/storageLocal.js:874:11
tryCatcher@resource://zotero/loader.jsm -> resource://zotero/bluebird/util.js:16:16
module.exports/PromiseSpawn.prototype._promiseFulfilled@resource://zotero/loader.jsm -> resource://zotero/bluebird/generators.js:97:18
module.exports/Promise.prototype._settlePromise@resource://zotero/loader.jsm -> resource://zotero/bluebird/promise.js:609:17
module.exports/Promise.prototype._settlePromise0@resource://zotero/loader.jsm -> resource://zotero/bluebird/promise.js:649:5
module.exports/Promise.prototype._settlePromises@resource://zotero/loader.jsm -> resource://zotero/bluebird/promise.js:729:13
_drainQueueStep@resource://zotero/loader.jsm -> resource://zotero/bluebird/async.js:93:9
_drainQueue@resource://zotero/loader.jsm -> resource://zotero/bluebird/async.js:86:9
Async.prototype._drainQueues@resource://zotero/loader.jsm -> resource://zotero/bluebird/async.js:102:5
Async/this.drainQueues@resource://zotero/loader.jsm -> resource://zotero/bluebird/async.js:15:9
[JavaScript Error: "Download request 1/BFZJUEIY failed"]
[JavaScript Error: "Invalid attachment hash 'undefined'" {file: "chrome://zotero/content/xpcom/data/item.js" line: 3335}]
[JavaScript Error: "Renaming single file '0005101.pdf' in ZIP to known filename 'Eisert 等 - 2000 - Optimal local implementation of non-local quantum .pdf'" {file: "chrome://zotero/content/xpcom/storage/storageLocal.js" line: 874}]
Zotero.Sync.Storage.Local._processZipDownload<@chrome://zotero/content/xpcom/storage/storageLocal.js:874:11
tryCatcher@resource://zotero/loader.jsm -> resource://zotero/bluebird/util.js:16:16
module.exports/PromiseSpawn.prototype._promiseFulfilled@resource://zotero/loader.jsm -> resource://zotero/bluebird/generators.js:97:18
module.exports/Promise.prototype._settlePromise@resource://zotero/loader.jsm -> resource://zotero/bluebird/promise.js:609:17
module.exports/Promise.prototype._settlePromise0@resource://zotero/loader.jsm -> resource://zotero/bluebird/promise.js:649:5
module.exports/Promise.prototype._settlePromises@resource://zotero/loader.jsm -> resource://zotero/bluebird/promise.js:729:13
_drainQueueStep@resource://zotero/loader.jsm -> resource://zotero/bluebird/async.js:93:9
_drainQueue@resource://zotero/loader.jsm -> resource://zotero/bluebird/async.js:86:9
Async.prototype._drainQueues@resource://zotero/loader.jsm -> resource://zotero/bluebird/async.js:102:5
Async/this.drainQueues@resource://zotero/loader.jsm -> resource://zotero/bluebird/async.js:15:9
[JavaScript Error: "Download request 1/ND7RB6SL failed"]
[JavaScript Error: "Invalid attachment hash 'undefined'" {file: "chrome://zotero/content/xpcom/data/item.js" line: 3335}]
version => 6.0.23, platform => MacIntel, oscpu => Intel Mac OS X 10.16, locale => en-US, appName => Zotero, appVersion => 6.0.23, extensions => Zotero LibreOffice Integration (6.0.4.SA.6.0.23, extension), Zotero Word for Mac Integration (6.0.6.SA.6.0.23, extension)
Thanks for your help
In any case, you should delete that file and the corresponding ZIP file. You can then Reset File Sync History from the Sync → Reset pane of the Zotero preferences from the computer where that attachment exists to force it to reupload. (Paste ND7RB6SL into the search field in All Fields & Tags mode to find the file in question.)
Your only option is to delete the files that it shows an error for.
Thanks
[error output removed — D.S.]
I got it. Thanks a lot for your help!