-
-
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
The JabRef goes mad after clicking Enable saving actions
in database properties.
#2596
Comments
I cannot reproduce this. When I enable save actions on my bib file, there is no performance increase or weird creation of save files. I assume your problem is the following: You have a large bib file with many things to fix. When you first enable save actions, every action taken triggers a change event, which results in the sav file being created. Since there are many entries and many things to fix, this happen a lot of times. However, this is a one time process. Once the save actions have reformatted your fields, or whatever you configured them to do, the next save will be significantly faster since fewer actions will be performed. How large is your file? Which save actions are you using? How many line changes are there after the 'mad' save? (Since your file seems to be in git that should be very easy to find out). |
My Here is my enabled save actions. @Comment{jabref-meta: saveActions:enabled;
date[normalize_date]
pages[normalize_page_numbers]
month[normalize_month]
all-text-fields[latex_to_unicode,ordinals_to_superscript]
title[html_to_unicode]
;} Strange enough, I checked my bib file, and I found there was not a single line really changed except those lines about |
Ok, thanks! With this information I can reproduce the behavior! The problem is the following save action In this configuration you are telling JabRef: "Convert all LaTeX stuff to Unicode (latex_to_unicode) and convert all ordinals to LaTeX superscript (ordinals_to_superscript)." This contradicts with each other since JabRef is trying to remove all LaTeX stuff and add LaTeX stuff at the same time. It seems, strangely, that JabRef is stuck in a loop as a result. You will have to select, though: Do you want all LaTeX code to be replaced by Unicode or do you want to have things like Using just one of the formatters works fine for me. |
Thank you so much for your explanation in such details. I removed Howerver, what I want to mention here is that these save actions are actually the recommended ones of Did I make it clear? And I hope these feedbacks could be of help. |
1 similar comment
Thank you so much for your explanation in such details. I removed Howerver, what I want to mention here is that these save actions are actually the recommended ones of Did I make it clear? And I hope these feedbacks could be of help. |
Thanks for pointing this out, this needs to be changed! I guess that the combination worked at the time when it was defined. We are constantly improving the formatters, for instance the latex to unicode formatter was heavily extended recently. Due to such changes, the configuration might have been broken. |
Thank you very much! It will be great then. |
Version information:
Steps to reproduce:
database properties
dialog, and ClickEnable saving actions
.Tasks Manager
in Windows 10, you will see JabRef costing a high quota of CPU, esp. higher than 30% for my laptop.BibTex
file will continuously generate new *.sav.log file and delete it again and again.Exception
tab.Only one log of opening my database found in the error console
Additionally, when I disabled the saving actions, everything becomes still at once.
The text was updated successfully, but these errors were encountered: