JabRef / JabRef-Browser-Extension

Browser extension for JabRef to allow importing of new items directly from the browser.
https://www.jabref.org/
GNU Affero General Public License v3.0
84 stars 22 forks source link

Error: Zotero.Date: Zotero.Date.init() not called with resource/dateFormats.json #551

Open Adioffer opened 1 year ago

Adioffer commented 1 year ago

Hello,

Kindly reporting about an issue I am encountering in the past day, when trying to add an article (example: https://doi.org/10.1109/IPCCC47392.2019.8958736) to JabRef using the chrome extension, it gets stuck right at the beginning with the message "Searching for bibliographic data...". Afterwards nothing happens. JabRef desktop client is running in the background but nothing pops up. I am using the portable version, with the "Remote operation" enabled on the default port 6050.

I have looked for the debug logs of the extension and saw the following error log: "Uncaught (in promise) Error: Zotero.Date: Zotero.Date.init() not called with resource/dateFormats.json" (attached below a screenshot)

Using Wireshark (and decrypting TLS) I could see a GET requests and a 200 OK response containing application/PDF, I am assuming this is due to using JabRef, so this might indicate where the problem exists.

Please let me know if there is anything else I can do to solve this or to help you debug. Thank you very much. Adi.

image

tobiasdiez commented 1 year ago

I cannot reproduce this, the link works for me. However, the error indeed points to a config issue in the code where we don't initialize zotero correctly. I'll look into it, but it would be helpful if you could provide another url where the issue occurs.

Adioffer commented 1 year ago

Thank you very much, Tobias.

Here are some links that have the exact same issue: https://dl.acm.org/doi/10.1145/1592451.1592455 https://link.springer.com/chapter/10.1007/978-3-642-10665-1_63

Here are "good links" that JabRef extension works fine with: https://journalofcloudcomputing.springeropen.com/articles/10.1186/s13677-017-0095-y https://arxiv.org/abs/1003.4074

Feel free to ask me for more information. Adi

Adioffer commented 1 year ago

By the way, I have encountered other issues that I thought are important to report about: https://onlinelibrary.wiley.com/doi/book/10.1002/9780470940105#page=23 image

https://www.degruyter.com/document/doi/10.7312/kell17114/html image

Attached my JabRefHost.ps1 file (with .txt extension for github upload) JabRefHost.ps1.txt