JabRef-Browser-Extension
JabRef-Browser-Extension copied to clipboard
_translatorInfo undefined, or cannot read configOptions of undefined
JabRef version 5.2--2020-12-24--6a2a512 on Fedora Linux 5.10.15-100.fc32.x86_64 amd64, Java 15.0.1 Browser version 85.0.1 (64-bit)
JabRef Firefox extensions version 2.4 Last Updated January 31, 2021
- [] Mandatory: I have tested the latest development version from http://builds.jabref.org/master/ and the problem persists I did not test on the latest development version because the bug is most probably in the browser plugin.
When visiting the DBLP database ( https://dblp.uni-trier.de/ ) and pressing the plugin button then the pop up window shows "Searching for bibliographic data..." forever. The browser tabs are not blocked. Any interaction with the browser make the message disappear and nothing happens anyway. All other imports from the sites that I usually visit work perfectly fine. So I'm confident that the problem is with DBLP. This is a very important resource for computer science researchers.
Steps to reproduce the behavior:
- visit https://dblp.uni-trier.de/search?q=deep%20learning
- press the plugin import button
- wait forever
Log File
Paste an excerpt of your log file here
Can reproduce this, will move it to the browser extension repo
{…}
message: "HTTP request to https://dblp.uni-trier.de/null rejected with status 404"
stack: ""
status: 404
<prototype>: Object { stack: "" }
zotero.js:365:12
This looks like a bug in the translator itself, but I have to double check to confirm this. If you have the time, you can try to install the zotero addon and try it directly with them. If that fails, then please report it at forums.zotero.org.
This looks like a bug in the translator itself, but I have to double check to confirm this. If you have the time, you can try to install the zotero addon and try it directly with them. If that fails, then please report it at forums.zotero.org.
I have trouble to make zotero working. That's another story I think.
I finally tried in Zotero today and it works fine.
This still fails with the error message "TypeError: this._translatorInfo is undefined 2 translate.js:2395:22". I tried to the debug this now for over 2 hours and couldn't find the issue.
For some reason https://github.com/JabRef/JabRef-Browser-Extension/blob/560d84fa7d1612e9ee96635f068570d1fa92c72e/external-scripts/translate.js#L1828 returns undefined
although the script evaluation was successful (at least there has been no error).
Edit: on chrome the same issue occurs but the error message is different "cannot read configOptions of undefined"
Edit: This seems to be mainly happening for the RIS import translator https://github.com/zotero/translators/blob/master/RIS.js
Sorry, I don't know how to fix this :(