-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
import hangs for ris files with "ER - " field, also other bib files common from journal web sites #7737
Comments
I have reproduced this issue in the latest version . And I want try to fix it , could you give me some advise , thank you @Siedlerchr |
@Noname690 I would take a look at the RIS Importer and debug what happenns when the importer cones to this line. |
How can I do this?
From: Christoph ***@***.***>
Sent: Monday, May 17, 2021 4:27 PM
To: JabRef/jabref ***@***.***>
Cc: Singer, Sherwin ***@***.***>; Author ***@***.***>
Subject: Re: [JabRef/jabref] import hangs for ris files with "ER - " field, also other bib files common from journal web sites (#7737)
@Noname690<https://urldefense.com/v3/__https:/github.com/Noname690__;!!KGKeukY!g0ZyhezQd2W3VLpS5vfI2xylxSca86zln7hiwV1SF951JzfZ1h7GZfHEyibmAEIrTwWdrf2I5EA$> I would take a look at the RIS Importer and debug what happenns when the importer cones to this line.
You can also start with a Unit test to reproduce this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/JabRef/jabref/issues/7737*issuecomment-842616711__;Iw!!KGKeukY!g0ZyhezQd2W3VLpS5vfI2xylxSca86zln7hiwV1SF951JzfZ1h7GZfHEyibmAEIrTwWd0oIZjBo$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AJII6NESRXCEC3LDHLPJ2FTTOF3Z7ANCNFSM446EKA7A__;!!KGKeukY!g0ZyhezQd2W3VLpS5vfI2xylxSca86zln7hiwV1SF951JzfZ1h7GZfHEyibmAEIrTwWd8TLax28$>.
|
Yes, for ris files the “ER – “ at the end is the problem. If one removes that last line it’s OK.
I have not been able to determine which line causes problems in the bib file. In the past, I removed all non-essential without isolating which one was the problem. I will work on removing lines one by one and try to isolate the problem with bib files.
Thanks for your work on Jabref!
Sherwin
From: Noname690 ***@***.***>
Sent: Wednesday, May 19, 2021 5:09 AM
To: JabRef/jabref ***@***.***>
Cc: Singer, Sherwin ***@***.***>; Author ***@***.***>
Subject: Re: [JabRef/jabref] import hangs for ris files with "ER - " field, also other bib files common from journal web sites (#7737)
[4T2~J6YMXU}9066${JQTB5G]<https://urldefense.com/v3/__https:/user-images.githubusercontent.com/56827551/118786104-11671080-b8c4-11eb-8e80-85563cd06f29.png__;!!KGKeukY!mzE5wcSrfsVeCKwJ2yD7uJkBjAinENDw0meOhBhl32QvPNwqUqh6UkWX6lhuEb2spwq-K-wTvpw$>
The entries after processing are like this , I think the problem may cause by that
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/JabRef/jabref/issues/7737*issuecomment-843906522__;Iw!!KGKeukY!mzE5wcSrfsVeCKwJ2yD7uJkBjAinENDw0meOhBhl32QvPNwqUqh6UkWX6lhuEb2spwq-o_HYwAY$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AJII6NCK4CCMLPH6CZ7R3FTTON52LANCNFSM446EKA7A__;!!KGKeukY!mzE5wcSrfsVeCKwJ2yD7uJkBjAinENDw0meOhBhl32QvPNwqUqh6UkWX6lhuEb2spwq-5Jq8zRk$>.
|
…ame690-master * 'master' of https://github.com/Noname690/jabref: add a test add a test for #7737 fix RIS importer fix the ris importer
@CodeSJS Thanks to @Noname690 this issue is now fixed in the latest development build http://builds.jabref.org/main |
JabRef version JabRef 5.3--2021-05-15--0a26d31
Windows 10 10.0 amd64
Java 16.0.1
JavaFX 16+8
Certain files I download from journals cause import to hang. (I looked through other bug reports concerning "import hangs" and this seems to be different. Apologies if duplicate.) The problem was perfectly reproducible in 5.2. In 5.3 some problem files occasionally load. If you cannot reproduce the bug, please try opening the problem files 3 or 4 times.
With ris files the problem is clear. When the ris file contains "ER - " as the last line, import (ctrl-I) hangs and I have to kill jabref and restart. Removing the last line solves the problem. This may be an illegal ris format, but many journal citation files end this way. I have provided examples from J. Chem. Phys., J. Phys. Chem., WIREs Comput. Mol Sci., and Biophys. J. It is interesting, but there is no problem opening such a file using right click, open with jabref.
Bib files from journals also give similar problems. I delete portions of the file until jabref does not hang. However, I have not pinned down the problem as I have with ris files. Examples of both ris and bib problem files will be attached.
I cannot post a log file example. When the import hangs and I have to "close program", the log is empty upon restart.
Several ris and bib files that cause problems are attached. The ris files all contain the "ER - " last line.
FilesThatCauseImportHangs.zip
Thank you.
The text was updated successfully, but these errors were encountered: