Gnucash 2.4.7 with mysql incorrectly fails dbi startup test.

Dave dhamblen at roadrunner.com
Wed Apr 11 08:45:06 EDT 2012


A clean install of Xubuntu 11.10, Gnucash-2.4.7 fails with mysql on 
startup.  If I start from the command line with

$ gnucash mysql://user@localhost/gnucash

when it tries to load the user data a blank popup appears.  If I hit 
<enter>, gnucash opens with an empty "Unsaved Book", and the trace file 
contains

* 08:26:59  WARN <gnc.backend.dbi> [conn_test_dbi_library()] 
Test_DBI_Library: Failed to insert test row into table
* 08:26:59  WARN <Gtk> gtk_widget_size_allocate(): attempt to allocate 
widget with width -2147483648 and height 20
* 08:26:59  WARN <Gtk> gtk_widget_size_allocate(): attempt to allocate 
widget with width -2147483648 and height 20
* 08:27:32  WARN <Gtk> gtk_widget_size_allocate(): attempt to allocate 
widget with width -2147483648 and height 20
* 08:27:32  CRIT <gnc.backend.dbi> gnc_dbi_unlock: assertion 
`dbi_conn_error( dcon, NULL ) == 0' failed

My guess is that the <Gtk> warnings are from the blank popup.

Once gnucash is running, I can open the mysql db and everything seems 
fine.  Opening an xml or sqlite3 file from the command line works well.  
Also compiling 2.4.10-1 from source behaves the same way.  I've been 
running this same configuration on Ubuntu 10.10 for months.

Dave





More information about the gnucash-devel mailing list