After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 555173 - save deletes file
save deletes file
Status: RESOLVED DUPLICATE of bug 556022
Product: GnuCash
Classification: Other
Component: Backend - XML
2.2.x
Other All
: Normal critical
: ---
Assigned To: Andreas Köhler
Andreas Köhler
Depends on:
Blocks:
 
 
Reported: 2008-10-06 05:07 UTC by sharky
Modified: 2018-06-29 22:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sharky 2008-10-06 05:07:11 UTC
Please describe the problem:
Occasionally, when I sit down to do some accounting with GnuCash, I discover that my saved GnuCash files have gone missing.  When this happens, I am always able to recover them from the backup files that GnuCash automatically creates (thank goodness!).  However, this has happened enough now that I'm starting to get a bit paranoid.

Now, whenever I use GnuCash, I always start with a shell to verify (using "ls") that my file is there.  I change into the file's folder and run GnuCash using the command "gnucash filename.xac &".  Then I use the application for a while, save the book, and then use the shell to make sure my file's still there.  Sometimes, it's not!  All I have to do to resolve the problem is save again, but this is really not the experience you want your users to have!

I've been using GnuCash since 2001 and it is only recently that I have begun to observe this behavior.  This is really scary!

Steps to reproduce:
Make a change and save; repeat.  Eventually, it will happen.  It's very rare, but it does happen.  There's some weak evidence that suggests it's more likely to happen when you confirm a save while exiting the application.

Actual results:
Usually, everything behaves as it should.  Rarely, the data doesn't get saved and the original file disappears.

Expected results:
The original file should be renamed as a backup file, and the revised book data should be written out to the disk with the same name as the original file before it was renamed.

Does this happen every time?
No, it's infrequent, but very serious.

Other information:
I'm running Fedora 8 on LVM file system.  Who knows?  LVM could be a factor.
Comment 1 Christian Stimming 2008-10-27 12:17:54 UTC
*** Bug 556022 has been marked as a duplicate of this bug. ***
Comment 2 Phil Longstaff 2009-06-22 20:26:18 UTC
Changing component
Comment 3 Christian Stimming 2009-12-29 20:44:02 UTC

*** This bug has been marked as a duplicate of bug 556022 ***
Comment 4 John Ralls 2018-06-29 22:11:01 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=555173. Please update any external references or bookmarks.