[GNC] Gnucash 3.1 and fedora 28

John Ralls jralls at ceridwen.us
Sun May 27 10:51:22 EDT 2018



> On May 26, 2018, at 5:13 AM, maniek <settlerk at gmail.com> wrote:
> 
> I installed GnuCash 2.6.x on Fedora 27 on virtual machines. Everything works
> fine.
> 
> I did again a test on fedora 28 and GnuCash erases all records during
> opening a database. I can't find anything special in logs except /No
> pre-existing state found, creating new one/:
> 


> * 13:59:00  INFO <gnc.app-utils> [gnc_state_get_current] No pre-existing
> state found, creating new one

is before 

> * 13:59:11  INFO <qof.session> [QofSessionImpl::load_backend]  Selected
> provider GnuCash Libdbi (MYSQL) Backend
> * 13:59:11  INFO <gnc.backend.dbi> [adjust_sql_options] Initial sql_mode:
> STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
> * 13:59:11  INFO <gnc.backend.dbi> [GncDbiBackend<Type>::session_begin]
> logpath=/home/gnucash_user/.local/share/gnucash/translog/mysql_localhost_root_gnucash_2018
> * 13:59:11  INFO <qof.session> [QofSessionImpl::begin] Done running
> session_begin on backend

Which is where GnuCash starts loading the database. This is more likely the problem:

> * 13:59:11  INFO <gnc.backend.sql> [query_transactions] Query SELECT * FROM
> transactions returned no results

MySQL apparently didn’t set an error, but maybe there’s some info in the logs about why that would be.

There’s no query there that would explain why the actual database is emptied either. Maybe the MySQL logs can shed some light on that as well.

Regards,
John Ralls


More information about the gnucash-user mailing list