Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/Dbo/Gnucash.cpp:30 /home/serveradmin/LorimarkSolutions.gnucash
- src/Dbo/Gnucash.cpp:36 qof_session_begin
- src/Dbo/Gnucash.cpp:41 error: 0
- src/Dbo/Gnucash.cpp:43 qof_session_load
- * 08:14:35 ERROR <qof.engine> [qof_commit_edit()] unbalanced call - resetting (was -1)
- src/Dbo/Gnucash.cpp:49 qof_session_get_book
- src/Dbo/Gnucash.cpp:51 0x7f8d8c01e870
- 30 std::cout << __FILE__ << ":" << __LINE__ << " " << path() << std::endl;·
- 31 ·
- 33 gnc_engine_init( 0, nullptr );·
- 34 auto s = gnc_get_current_session(); // qof_session_new( qof_book_new() );·
- 35 ·
- 36 std::cout << __FILE__ << ":" << __LINE__ << " qof_session_begin" << std::endl;·
- 37 std::string url = "sqlite3://" + path();·
- 38 // qof_session_begin( s, url.c_str(), SESSION_NORMAL_OPEN );·
- 39 qof_session_begin( s, url.c_str(), SESSION_BREAK_LOCK );·
- 40 ·
- 41 std::cout << __FILE__ << ":" << __LINE__ << " error: " << qof_session_get_error( s ) << std::endl;·
- 42 ·
- 43 std::cout << __FILE__ << ":" << __LINE__ << " qof_session_load" << std::endl;·
- 44 qof_session_load( s, NULL );·
- 45 ·
- 49 std::cout << __FILE__ << ":" << __LINE__ << " qof_session_get_book" << std::endl;·
- 50 auto book = qof_session_get_book( s );·
- 51 std::cout << __FILE__ << ":" << __LINE__ << " " << book << std::endl;·
- 52 ·
Advertisement
Add Comment
Please, Sign In to add comment