-
-
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 suddenly warns the file has changed on disk and requires review of changes (dropbox) #4143
Comments
In that situation, when the "Review changes" button is shown in the left pane of the GUI, clicking the "x" icon to close the program brings up a dialog "Please wait..." / "Waiting for save operation to finish" which is then shown forever. |
DO you have autosave feature enabled? That could be causing issues in your case |
If you mean the option "Autosave local libraries" in Options - File, then no, this was not checked. However, I just noticed that there is a setting that may have made this a bit less frustrating: under "Library properties" there is the option "Refuse to save the library before external changes have been reviewed" which appears to have been set by default. Unsetting this will at least let me simply save the library even when JabRef incorrectly thinks for some reason it has been modified on the disk. |
OK, turns out enabling the saving is not working as expected either: JabRef now allows the save button to get pressed, but after this the GUI becomes unresponsive and I still have to kill the program and start over and it turns out the latest version of the database was not saved. |
HI, sorry to hear this. |
I confirm an error. It is reproduced since version 4.1 to current master. |
This is nothing special to Linux, I have Windows 7 and the same issues which I have ignored because it is not critical. And yes, I have the autosave feature enabled. |
I experience the same problem at JabRef 5.0-dev--snapshot--2018-07-02--master--aed7712bc |
With the snapshot from yesterday, the problem is still there. |
I am sorry to bring this up again. There was a reaction to the waiting for feedback already some time ago. At least remove the label "waiting for feedback", please. |
JabRef 4.3.1 JabRef 5.0-dev--snapshot--2018-08-28--master--9365d9cb1 I confirm the error in 4.3.1 and in the current development snapshot. It's very annoying when one is trying to work seriously and sometimes leads to data loss. Screenshot from development snapshot: Screenshots from 4.3.1: |
As you seem to encounter this more often, could you please add some information and or upload your preferences? (you can export them). |
I have no idea what activities precede this "file updated externally" message. I have tried to think of trigger situations, and I can't. I am editing a record: that's a common feature. Otherwise I do have Dropbox running on all my machines. So Dropbox is periodically copying my bib files to the cloud. I've often wondered if that's the issue. It shouldn't be, but.... Here are my preferences (I have in the past had "autosave" turned on; I just turned it off today): |
Dropbox could indeed be an issue. If I remember correctly, saving causes JabRef to make a temporary copy of the db and then replacing the original file. So it could be that during that copying process dropbox kicks in with synchronizing the changes before the copy finished which would explain the review changes messages Edit// With a NextCloud sync folder I can reproduce the issue The save logic is still a relict of old times when saving was unreliable. As far as I know @stefan-kolb already took a look at that. Maybe he can shed some light on that issue here |
Does that mean that turning off "autosave" should prevent the problem?
johann-petrak reported having autosave off, but still encountering the
problem.
|
This should be fixed in the latest development version. Could you please check the build from http://builds.jabref.org/master/. Thanks! Please remember to make a backup of your library before trying-out this version. |
I regularly update to the latest development version and I have not seen this happening for a while now. |
yes, still/again present in current snap version - I am reporting this as a new issue |
This happened with version 4.3.1 on a Linux system: I added a few dozen new entries, saving the database after each new added entry, when suddenly the GUI told me that the database has changed on disk and forced me to review the changes, showing me the changes I have just made myself!
I am pretty sure no other process has actually updated the database on disk.
I know that there is nothing to review and I do not care if for some reasons the file modification date is not what jabref expects, I just want it to save and override the file on disk, but Jabref apparentlly does not allow that. This is very annoying.
So what I have to do is kill/abort jabref (losing the entry I was in the process of adding) and start it again.
The text was updated successfully, but these errors were encountered: