Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Adioffer opened this issue Mar 11, 2023 · 3 comments

Comments

@Adioffer
Copy link

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
Copy link
Member

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.

@tobiasdiez tobiasdiez changed the title JabRef chrome extension stuck on "Searching for bibliographic data..." Error: Zotero.Date: Zotero.Date.init() not called with resource/dateFormats.json Mar 18, 2023
@Adioffer
Copy link
Author

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
Copy link
Author

Adioffer commented Mar 18, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants