Error on sync: Report ID 160065265 [Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)]

During a sync, I receive the following error:

[JavaScript Error: "[Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: file:///usr/lib/firefox-3.0.8/components/nsSessionStore.js :: sss_saveState :: line 1909" data: no]" {file: "file:///usr/lib/firefox-3.0.8/components/nsSessionStore.js" line: 1909}]

The sync stops with yellow caution triangle overlayed on the icon. I am running:

-Zotero 1.5b2
-Firefox 3.0.8
-Ubuntu Intrepid Ibex 8.10 x64

Any help would be appreciated.
  • I tried doing a reset from server and receive the following error (as in Report 1188884205):

    [JavaScript Error: "[Exception... "'Cannot add tag to unsaved item in Zotero.Item.addTagByID()' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]"]

    Is there any way to figure out which is the offending item? Is there anything else I can do?
  • This only seems to happen when I try to sink with WebDAV. Sinking meta data only (not files) appears to work. However, WebDAV was working fine before (I'm not sure what has changed).
  • I tried emptying my 'Trash' collection to see if that would help. Sinking with WebDAV still fails, but now I get a different error (Report ID: 628305017):

    [JavaScript Error: "undefined" {file: "chrome://zotero/content/xpcom/storage.js" line: 2504}]

    [JavaScript Error: "[Exception... "'Request 'PXJ3PJPC' is already finished' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]"]

    I took a look at the 'storage.js' file and tried commenting out line 2504:

    Zotero.Sync.Storage.Queue.prototype.logError = function (msg) {
    Zotero.debug(msg, 1);
    Components.utils.reportError(msg); <-- line 2504
    // TODO: necessary?
    this._errors.push(msg);
    }

    This stops the first error, but it's not really helpful since I'm assuming that the root cause of both errors has already occurred at this point.

    Any ideas?
  • I should mention that I'm posting to an Apache server using the DAV module. Syncing with WebDAV used to work fine, so I doubt it's the WebDAV server.
  • Try this:

    gear icon > preferences > sync > reset

    then select "restore to zotero server" but make sure you have the most updated version of your library on that computer.

This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.