-
-
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
JabRef error if keyword group has no name #9776
Comments
Which JabRef version was run on the Linux machine? I would assume 3.8.2. |
Can you send the whole bib file to us? Find my email adress in my GitHub profile. - The stacktrace |
I am running v5.9 also on the Linux machine (Fedora 37 and flatpak install from Software store) |
I am not sure I can send it to you as the whole bib file is rather huge (25+ MB) and is a part of a research project. The thing is, this is a bib file collated from multiple sources of various quality for a larger review (hence we use the priority classification). It contains non-Latin characters as well, just checked and the file is encoded as UTF-8 with LF with some non-ASCII characters (checked with VScode). I need to change whether I can open this file on a Windows 10 machine JabRef too... will feed back once I get access to such a machine |
Can you try to open the file with the latest development version? I vaguely remember something about this |
On may you need to execute xattr -d com.apple.quarantine /Applications/JabRef.app in the terminal |
I tried to open it, and it provided the following error:
|
I tried to send the file to your email, hopefully it will go through. |
Thanks! Received it! |
@alfureu Good news. I found the issue and a fix for you is simple. The problem is that the Keyword Group for the field priority did not have a name! At the end of the file, where the group metadata is defined
and voila it works again :) I will do more tests to find how this could be even possible to prevent such cases in the future. |
Hm, this is interesting. Literally what I did was that I saved the bib file in JabRef on Linux, and I tried to open it on JabRef macOS. No idea what is happening between these. I was also surprised that the file does not open. Thanks for looking into this! |
I could reproduce this now with another library. Saving is not a problem, but on opening the parser fails to properly parse the group structure (off by one) |
amazing, I was able to open the file in JabRef on macOS. Thanks again, great work! Will leave the ticket open until it gets fixed in the code by the devs |
Hi, I am the university of adelaide student. Our group would like to sovle the issue. I think the solution above consider abnormally formatted data. Can I have the test file? |
As a general advice for newcomers: check out Contributing for a start. Also, guidelines for setting up a local workspace is worth having a look at. Feel free to ask here at GitHub, if you have any issue related questions. If you have questions about how to setup your workspace use JabRef's Gitter chat. Try to open a (draft) pull-request early on, so that people can see you are working on the issue and so that they can see the direction the pull request is heading towards. This way, you will likely receive valuable feedback. |
To test this. Create a new library, add some entries and create a new automatic keyword group without a name. |
Update: Read on at #9776 (comment)
JabRef version
5.9 (latest release)
Operating system
macOS
Details on version and operating system
macOS 13.3.1
Checked with the latest development build
Steps to reproduce the behaviour
priority
Appendix
...
Log File
The text was updated successfully, but these errors were encountered: