[GNC] GC terminates after database load

Ed Reeder ereeder at mailup.net
Wed Sep 18 20:06:28 EDT 2024


I am on Windows 10, 64-bit, GnuWin32: DiffUtils version 2.8.7, and was viewing an Account Report.  Instead of closing it I must have accidentally closed GC.  I restarted GC, the GC banner showed, then a window saying that GC could not obtain the lock for <filename>Household.gnucash.  I said to "Open Anyway".  At the bottom of the GC banner it showed Version 5.8, Build ID: 5.8+(2024-07-06), when I pressed "Open Anyway" a "Loading data ..." progress bar appeared.  When the bar indicated that the data was loaded GC silently terminated.

I tried the following and the behavior was the same (GC terminates after database load):
Running GC as Administrator
Open Read-Only
Deleting the .LCK file
Deleting the .LCK file while running as Administrator

There were multiple gnucash.trace.XXXXXX.log files.  The most current ones were 0 length.
These are the contents of the only non-0-length file

* 14:36:08 ERROR <gnc.gui> [gnc_gui_refresh_all()] suspend counter not zero
* 14:43:28 ERROR <gnc.gui> [gnc_gui_refresh_all()] suspend counter not zero
* 14:48:04 ERROR <gnc.gui> [gnc_gui_refresh_all()] suspend counter not zero
* 14:56:25 ERROR <gnc.gui> [gnc_gui_refresh_all()] suspend counter not zero
* 15:39:56  WARN <gnc.import> [gnc_import_process_trans_item()] Updated transaction 'CHASE CREDIT CRD EPAY~ Future Amount: 9999.99 ~ Tran: ACHDW', but not other split.
* 15:39:56  WARN <gnc.import> [gnc_import_process_trans_item()] Updated transaction 'CHASE CREDIT CRD EPAY~ Future Amount: 9999.99 ~ Tran: ACHDW', but not other split.
* 15:39:57 ERROR <gnc.gui> [gnc_gui_refresh_all()] suspend counter not zero
* 15:47:43  WARN <qof.engine> [gnc_dmy2time64_internal()] Date computation error from Y-M-D 200-1-1: Year is out of valid range: 1400..9999
* 15:47:45  WARN <qof.engine> [gnc_dmy2time64_internal()] Date computation error from Y-M-D 202-1-1: Year is out of valid range: 1400..9999
--------------------------------------------------------------------------------------------------------------
I do have a number of these collections of files in my GC directory, where <numbers> are identical.:
Household.gnucash.<numbers>.log
Household.gnucash<numbers>_conf(digit).log   (usually only digit 1, sometime multiples files: 1 though 5)
Household.gnucash<numbers>

Any thoughts on how to recover?

TIA

Ed


More information about the gnucash-user mailing list