Gnucash 2.4.7 with mysql incorrectly fails dbi startup test.

David G. Hamblen dhamblen at roadrunner.com
Wed Apr 11 11:31:55 EDT 2012


On 04/11/2012 10:38 AM, Colin Law wrote:
> On 11 April 2012 13:45, Dave<dhamblen at roadrunner.com>  wrote:
>> 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.
> In case it is of interest starting gnucash like that works fine for me
> on Ubuntu 12.04 with 2.4.7 and 2.4.10
>
> Colin
>

Interesting, maybe it's the libdbd-mysql.  That changed in 12.04.  The 
other candidate is libdbi0, but that didn't change.

Dave

>> Dave
>>
>>
>>
>> _______________________________________________
>> gnucash-devel mailing list
>> gnucash-devel at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
>



More information about the gnucash-devel mailing list