GNUcash crashes on save - losing all changes

Bill Wohler wohler at newt.com
Tue Jul 29 22:08:42 CDT 2003


Thanks, Vincent. You would not believe this but we now have an Internet
connection out on our boat which is moored off the coast of Maui. Thanks
to an IP Wireless modem and Maui Sky Fiber. Where was I?

Oh yes...

Derek Atkins <warlord at MIT.EDU> writes:

> As for being more proactive about removing the lockfile, I'm a bit
> torn about that.  What happens if you try to exit gnome but still have
> unsaved changes in gnucash?  I do agree that gnucash should clean up better
> on a "clean" shutdown, but I'm still not convinced that exiting gnome
> is necessarily a clean shutdown.  Is Ctl-Alt-Backspace a clean shutdown?
> What about a power outage?

Let me ask a question: if you have an unclean shutdown, saved or unsaved
changes notwithstanding, what does the orphaned lock file buy you?

Maybe I'm missing an additional reason for the lock file, but my
understanding was that it prevented you from having two instances of
gnucash on the same file. The lock file should thus go away if the
gnucash process goes away, no matter how.

Unless, as I mentioned before, the lock file is doing something more.

In answer to your other concerns about unclean shutdowns, there should
already be a feature request for replaying the log the next time gnucash
starts (after first querying the user) if it is more recent than the
data file.

--
Bill Wohler <wohler at newt.com>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.


More information about the gnucash-user mailing list