Problem installing value-in-health style from (null)

"An unexpected error occurred when installing from (null)" - when attempting to install Value in Health style - just updated to Zotero 5.0, but that did not fix the issue. Using Chrome, moved .csl file to desktop, didn't fix it. Any solution with a similar style will work, as this is the only one so far that has given an error.
  • dstillman Zotero Team
    edited July 28, 2017
    Report ID?

    Note that in 5.0 you don't need to save the file to the desktop, though that should work (and does for me, albeit it with the incorrect "(null)" message, which we'll fix). You can install the style directly from the Styles preferences in Zotero or just by clicking on the style on the styles page with the Zotero Connector installed.
  • dstillman Zotero Team
    But I'd guess that you saved it as an HTML file by accident. Just install the style one of the two other ways and this should work fine.
  • Thank you dstillman, I definitely saved it as .csl and tried all the other suggestions but I can't install connector without requesting a security exception, which I did. In meantime, if you have a direct link to the connector file, I can install it, but I imagine the only link to the file is through the store. Thanks again!
  • dstillman Zotero Team
    edited July 29, 2017
    Yes, the Chrome connector is only available through the Chrome Web Store.

    What happens when you try to install the style directly from the Cite preferences?
  • dstillman Zotero Team
    If this is an extremely locked-down machine, installing from a file indeed might not work, but installing via the preferences (or the connector) should still work.
  • same thing from within cite prefs, unexpected error occurred while installing (null).
  • dstillman Zotero Team
    edited July 29, 2017
    You didn't provide a Report ID above, but can you instead generate a Debug ID for an import attempt via the preferences?
  • Hi dstillman, I had to revert to standalone 4, and I did try to generate a Debug ID for an import attempt via prefs, but there is a problem communicating with the Zotero server, so I am pasting in my debug output, sorry for the space and how it looks; no Debug ID could be generated. Thank you so much.

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    [JavaScript Error: "syntax error" {file: "moz-nullprincipal:{407fc505-1a23-4394-8958-eaa0372b755e}" line: 1 column: 1 source: "TY - JOUR"}]

    version => 4.0.29.17, platform => Win32, oscpu => Windows NT 6.1; WOW64, locale => en-US, appName => Zotero, appVersion => 4.0.29.17

    =========================================================

    (3)(+0000000): HTTP GET file:///C:/Users/M31566/Zotero/storage/9JVCQ2XD/value-in-health%20(2).csl

    (3)(+0001795): HTTP GET http://www.zotero.org/styles/elsevier-vancouver

    (1)(+0000534): HTTP GET http://www.zotero.org/styles/elsevier-vancouver failed: Unexpected status code 0

    (1)(+0000008): [object Object] {
    "xmlhttp": [object XMLHttpRequest] {
    "open": function open() { [native code] }
    "setRequestHeader": function setRequestHeader() { [native code] }
    "send": function send() { [native code] }
    "abort": function abort() { [native code] }
    "getResponseHeader": function getResponseHeader() { [native code] }
    "getAllResponseHeaders": function getAllResponseHeaders() { [native code] }
    "overrideMimeType": function overrideMimeType() { [native code] }
    "onreadystatechange": null
    "readyState": 4
    "timeout": 0
    "withCredentials": false
    "upload": [object XMLHttpRequestUpload] {
    "onloadstart": null
    "onprogress": null
    "onabort": null
    "onerror": null
    "onload": null
    "ontimeout": null
    "onloadend": null
    "addEventListener": function addEventListener() { [native code] }
    "removeEventListener": function removeEventListener() { [native code] }
    "dispatchEvent": function dispatchEvent() { [native code] }
    "setEventHandler": function setEventHandler() { [native code] }
    "getEventHandler": function getEventHandler() { [native code] }
    "ownerGlobal": null
    }
    "responseURL": ""
    "status": 0
    "statusText": ""
    "responseType": ""
    "response": ""
    "responseText": ""
    "responseXML": null
    "mozAnon": false
    "mozSystem": true
    "UNSENT": 0
    "OPENED": 1
    "HEADERS_RECEIVED": 2
    "LOADING": 3
    "DONE": 4
    "getInterface": function getInterface() { [native code] }
    "mozBackgroundRequest": true
    "channel": null
    "networkInterfaceId": ""
    "onloadstart": null
    "onprogress": null
    "onabort": null
    "onerror": null
    "onload": null
    "ontimeout": null
    "onloadend": function () {...}
    "addEventListener": function addEventListener() { [native code] }
    "removeEventListener": function removeEventListener() { [native code] }
    "dispatchEvent": function dispatchEvent() { [native code] }
    "setEventHandler": function setEventHandler() { [native code] }
    "getEventHandler": function getEventHandler() { [native code] }
    "ownerGlobal": null
    }
    "status": 0
    "message": "HTTP GET http://www.zotero.org/styles/elsevier-vancouver failed: Unexpected status code 0"
    "toString": function () {...}
    }
  • Yes, that's due to security restrictions on your system preventing Zotero from access the network.

    In this case you can probably work around it by installing the elsevier-vancouver style first, because the one you're trying to install is just that with a different name, and it's failing when Zotero tries to download the parent one.

    But, of course, many things in Zotero won't work properly if it can't access the network.
  • Thank you, I really appreciate it. Elsevier Vancouver worked when no others would install, thank you!

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

Sign In or Register to comment.