zotero-plugin-toolkit: registering prefpane fails
I’m using the toolkit to load this prefpane: https://gist.github.com/988368e73613c8f3a44240afa7854ecf
but that gets me
error log
console.trace:
chrome://zotero-better-bibtex/content/better-bibtex.js 2907 log
chrome://zotero-better-bibtex/content/better-bibtex.js 3187 parseXHTMLToFragment
chrome://zotero-better-bibtex/content/better-bibtex.js 3660 node_modules/zotero-plugin-toolkit/dist/managers/preferencePane.js/register/onOpenWindow/<
console.groupEnd:
zotero(3)(+0000005): {"location":null}
console.groupCollapsed: ({})
console.trace:
chrome://zotero-better-bibtex/content/better-bibtex.js 2907 log
chrome://zotero-better-bibtex/content/better-bibtex.js 3661 node_modules/zotero-plugin-toolkit/dist/managers/preferencePane.js/register/onOpenWindow/<
console.groupEnd:
zotero(3)(+0000002): {}
JavaScript error: chrome://global/content/bindings/tabbox.xml, line 250: TypeError: children[i].getAttribute is not a function
JavaScript error: chrome://global/content/bindings/menulist.xml, line 236: TypeError: val.setAttribute is not a function
JavaScript error: chrome://global/content/bindings/menulist.xml, line 236: TypeError: val.setAttribute is not a function
JavaScript error: chrome://global/content/bindings/menulist.xml, line 236: TypeError: val.setAttribute is not a function
JavaScript error: chrome://global/content/bindings/menulist.xml, line 236: TypeError: val.setAttribute is not a function
JavaScript error: chrome://global/content/bindings/menulist.xml, line 236: TypeError: val.setAttribute is not a function
JavaScript error: chrome://global/content/bindings/menulist.xml, line 236: TypeError: val.setAttribute is not a function
JavaScript error: chrome://global/content/bindings/menulist.xml, line 236: TypeError: val.setAttribute is not a function
JavaScript error: chrome://global/content/bindings/menulist.xml, line 236: TypeError: val.setAttribute is not a function
JavaScript error: chrome://global/content/bindings/menulist.xml, line 236: TypeError: val.setAttribute is not a function
JavaScript error: chrome://global/content/bindings/menulist.xml, line 236: TypeError: val.setAttribute is not a function
..... lots more
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 51 (24 by maintainers)
They will be once again when BBT goes zotero-7-only.
I haven’t tried with Mac, not sure if this bug is related to the Mac platform. I’ll try to run them on my PC and feedback once I have the results.
The default NS of Zotero seems to be changed at some point in their beta version. Not sure which one will be the default in the final release, so setting it manually is always a good option.