Semantic Scholar browser plugin failure
Tried on browsers: brave, chrome, firefox (disabled all security as well)
systems: macos Mojave, linux (Manjaro latest)
I attempted steps in troubleshooting zotero translators.
sample url:
https://www.semanticscholar.org/search?year[0]=2018&year[1]=2018&q=deepdream&sort=relevance
(for error console is bottom newest?) There are only 2 error messages that come up:
[JavaScript Error: "Cannot access contents of url "data:text/plain,". Extension manifest must request permission to access this host."]
[JavaScript Error: "TypeError: Cannot read property 'hasPdf' of undefined
at eval (eval at (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/inject/translate_inject.js:63:4), :114:15)
at chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero/translation/translate.js:384:8
at Zotero.Translate.Import._runHandler (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero/translation/translate.js:1128:32)
at run (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero/translation/translate.js:188:23)
at Object._itemDone (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero/translation/translate.js:244:5)
at Object._itemDone (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/inject/translate_inject.js:89:17)
at Zotero.Item.complete (eval at (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/inject/translate_inject.js:63:4), :1:432)
at beginRecord (eval at (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/inject/translate_inject.js:63:4), :917:17)
at readString (eval at (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/inject/translate_inject.js:63:4), :961:25)
at eval (eval at (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/inject/translate_inject.js:63:4), :937:4)" {file: "[object Object]"}]
systems: macos Mojave, linux (Manjaro latest)
I attempted steps in troubleshooting zotero translators.
sample url:
https://www.semanticscholar.org/search?year[0]=2018&year[1]=2018&q=deepdream&sort=relevance
(for error console is bottom newest?) There are only 2 error messages that come up:
[JavaScript Error: "Cannot access contents of url "data:text/plain,". Extension manifest must request permission to access this host."]
[JavaScript Error: "TypeError: Cannot read property 'hasPdf' of undefined
at eval (eval at (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/inject/translate_inject.js:63:4), :114:15)
at chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero/translation/translate.js:384:8
at Zotero.Translate.Import._runHandler (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero/translation/translate.js:1128:32)
at run (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero/translation/translate.js:188:23)
at Object._itemDone (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero/translation/translate.js:244:5)
at Object._itemDone (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/inject/translate_inject.js:89:17)
at Zotero.Item.complete (eval at (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/inject/translate_inject.js:63:4), :1:432)
at beginRecord (eval at (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/inject/translate_inject.js:63:4), :917:17)
at readString (eval at (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/inject/translate_inject.js:63:4), :961:25)
at eval (eval at (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/inject/translate_inject.js:63:4), :937:4)" {file: "[object Object]"}]
-
adamsmithThanks, I can reproduce. We'll take a look.
-
tmchartrandI'd be interested to hear if this can be fixed also!
-
guyaglionbyPull request that fixes this https://github.com/zotero/translators/pull/1920, hopefully will come through soon.