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.
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.
Upgrade Storage
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.
What happens when you try to install the style directly from the Cite preferences?
[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 () {...}
}
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.