Zotero on linux not responding

I recently reshuffled some space on my LVM volumes. This may be related to the problem or not, but now when I open Zotero my library is not there--it's totally empty. I clicked on "Preferences" in the settings menu to try to restore the library, but it turns out no menu items work: I click an item, and there is no response.

I'm running Debian stretch and have never had an issue with Zotero on Linux before. I usually use Zotero 4 from the official Debian repositories, but this error persists even with version 5.0 downloaded directly from the website.

Any ideas?
  • It sounds like Zotero may just be completely broken for you, so see Reporting Startup Errors.
  • Here's what I get from the -jsconsole (-ZoteroDebug did not work):

    [JavaScript Warning: "Unrecognized chrome manifest modifier 'platform'." {file: "file:///usr/share/zotero-standalone/chrome.manifest" line: 2}]

    [JavaScript Error: "SyntaxError: "0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead" {file: "jar:file:///usr/lib/firefox-esr/omni.ja!/components/addonsInfo.js" line: 91 column: 66 source: "outstream.init(file, 0x2A /* TRUNCATE | WRONLY | CREATE */, 0666, 0);
    "}]

    Contract ID '@mozilla.org/toolkit/addonsInfo-clh;1' was registered as a command line handler for entry 'a-addons-info', but could not be created.

    [JavaScript Error: "SyntaxError: missing ( after for" {file: "file:///usr/share/zotero-standalone/components/zotero-service.js" line: 264 column: 5 source: " for each(var xpcomFile in (isConnector ? xpcomFilesConnector : x"}]

    Contract ID '@mozilla.org/commandlinehandler/general-startup;1?type=zotero' was registered as a command line handler for entry 'm-zotero', but could not be created.

    [JavaScript Error: "SyntaxError: missing ( after for" {file: "chrome://zotero/content/standalone/standalone.js" line: 49 column: 6 source: " for each(var scheme in ["http", "https"]) {
    "}]

    [JavaScript Warning: "Failed to load overlay from chrome://global/content/editMenuOverlay.xul." {file: "chrome://zotero/content/standalone/standalone.xul" line: 0}]

    [JavaScript Warning: "Failed to load overlay from chrome://global/content/editMenuOverlay.xul." {file: "chrome://global/content/console.xul" line: 0}]

    [JavaScript Error: "Versioned JavaScripts are no longer supported. Please remove the version parameter." {file: "chrome://zotero/content/zoteroPane.xul" line: 41}]

    [JavaScript Error: "Versioned JavaScripts are no longer supported. Please remove the version parameter." {file: "chrome://zotero/content/zoteroPane.xul" line: 46}]

    (Several more nearly identical...)

    No chrome package registered for chrome://zotero-platform/content/overlay.css

    [JavaScript Error: "NS_ERROR_XPC_GS_RETURNED_FAILURE: Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" {file: "chrome://zotero/content/include.js" line: 1}]
    @chrome://zotero/content/include.js:1:14

    [JavaScript Error: "SyntaxError: missing ( after for" {file: "chrome://zotero/content/fileInterface.js" line: 502 column: 6 source: " for each(var item in items) {
    "}]

    [JavaScript Error: "SyntaxError: missing ( after for" {file: "chrome://zotero/content/reportInterface.js" line: 76 column: 6 source: " for each(var item in items) {
    "}]

    [JavaScript Error: "ReferenceError: assignment to undeclared variable Q" {file: "resource://zotero/q.js" line: 106}]
    @resource://zotero/q.js:106:13
    @resource://zotero/q.js:29:2
    Zotero_RecognizePDF<@chrome://zotero/content/recognizePDF.js:35:2
    @chrome://zotero/content/recognizePDF.js:34:27

    [JavaScript Error: "NS_ERROR_XPC_GS_RETURNED_FAILURE: Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" {file: "chrome://zotero/content/include.js" line: 1}]
    @chrome://zotero/content/include.js:1:14

    No chrome package registered for chrome://zotero-platform/content/standalone/menuOverlay.xul

    [JavaScript Warning: "Failed to load overlay from chrome://zotero-platform/content/standalone/menuOverlay.xul." {file: "chrome://zotero/content/standalone/standalone.xul" line: 0}]

    [JavaScript Error: "SyntaxError: missing { before function body" {file: "chrome://zotero/content/bindings/tagselector.xml" line: 513 column: 34 source: " if (ids.some(function (val) val.split("/")[1] == 'tagColors')) {
    "}]

    [JavaScript Error: "SyntaxError: missing ( after for" {file: "chrome://zotero/content/bindings/itembox.xml" line: 313 column: 10 source: " for each(var field in this._fieldOrder) {
    "}]

    [JavaScript Warning: "Unknown property ‘-moz-border-top-colors’. Declaration dropped." {file: "chrome://zotero/skin/bindings/itembox.css" line: 116}]

    (lots more about chrome packages not being registered...)

    [JavaScript Error: "ReferenceError: ZoteroPane_Local is not defined" {file: "chrome://zotero/content/standalone/standalone.xul" line: 1}]
    onselect@chrome://zotero/content/standalone/standalone.xul:1:5
    set_selectedIndex@chrome://global/content/bindings/tabbox.xml:395:15
    tabs_XBL_Constructor@chrome://global/content/bindings/tabbox.xml:260:11
  • That's from Zotero 4. We'd need to see output from Zotero 5 downloaded from this site.
  • OK. I realize now when I tried to run Zotero 5 I was accidentally running Zotero 4 still. Have now uninstalled Zotero 4, and Zotero 5 does not have the errors. Now I just need to create a shortcut for Zotero 5 in Gnome...
Sign In or Register to comment.