GnuCash crash recovery

Doug Laidlaw laidlaws@murraytel.com.au
Mon, 12 Nov 2001 11:38:00 +1100


To get back to where you were before the crash, just rename the latest .xac 
file as your usual account file.  It seems to me that this is what you were 
really asking.  I am not sure that this is correct, but it worked for me.

Doug.

On Mon, 12 Nov 2001 10:33, you wrote:
> On Sun, 2001-11-11 at 17:20, Dave Peticolas wrote:
> > On Sun, 2001-11-11 at 13:18, Anthony W. Juckel wrote:
> > > After a fair account re-arranging session, GnuCash crashed on me.  As I
> > > hadn't hit save during the process, I lost about an hours work...  I've
> > > noticed that GnuCash stores quite a few .xac and .log files in the
> > > directory it saves to, so I'm wondering if those could be used to
> > > recover the information that I lost.
> >
> > Do you remember what action preceded the crash?
>
> I clicked on "Reports->Income & Expense->Expense Barchart", and crash.
> I can't find a core-dump but if I ran it through a terminal window I get
> the following message:
>
> ** CRITICAL **: file gnome-font.c: line 194 (gnome_font_new): assertion
> `face != NULL' failed.
> I can't find the default fonts needed by Guppi.
> In 99% of all cases, this means that there is a problem with
> your installed version of gnome-print.
>
> While it looks like I have an error on my system, it would be nice if
> someone with a little more knowledge about gnucash internals could look
> into this.  I generated an strace of the process, but that might be too
> low-level to be good (and it is reproducable, so I'll leave the system
> that way for now, maybe try to figure out if it is a gnucash or guppi
> problem).
>
> > > I did a quick mailing list search, and I found that someone had written
> > > a quick and dirty recovery perl script for the 1.4.x series.  I've
> > > downloaded the script, but I can't seem to find the perl libraries it
> > > requires (I have gnucash installed via .deb), and I'm not sure that it
> > > would work on the 1.6.x series..I just don't know what changes there
> > > were to the engine.  So, I'm wondering what would be my best option for
> > > recovering this data?  Or am I better off just redoing the work (I
> > > didn't lose any transactions, I was just rearranging them)?
> >
> > Probably better off redoing them, and hitting 'save' occasionaly.
> >
> > dave
>
> Anthony W. Juckel
> GnuCash 1.6.4 (debian/sid)
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user@lists.gnumatic.com
> http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-user