2023-10-21 GnuCash IRC logs

00:20:43 *** bertbob has quit IRC
00:21:04 *** bluesanta has quit IRC
00:21:09 *** bluesanta has joined #gnucash
00:21:10 *** ChanServ sets mode: +v bluesanta
00:21:57 *** NoobAlice has quit IRC
00:25:07 *** bertbob has joined #gnucash
00:25:07 *** ChanServ sets mode: +v bertbob
01:23:10 *** bluesanta has quit IRC
01:25:22 *** bluesanta has joined #gnucash
01:25:23 *** ChanServ sets mode: +v bluesanta
01:25:34 <bluesanta> exit
01:25:41 *** bluesanta has quit IRC
01:31:02 *** fell has quit IRC
01:32:22 *** fell has joined #gnucash
01:32:22 *** ChanServ sets mode: +o fell
02:23:24 *** gjanssens has joined #gnucash
02:23:25 *** ChanServ sets mode: +o gjanssens
03:23:44 *** gandalf has joined #gnucash
03:34:52 *** giuseppef has joined #gnucash
03:34:52 *** ChanServ sets mode: +v giuseppef
04:44:17 *** gandalf1 has joined #gnucash
04:44:44 *** gandalf has quit IRC
04:44:44 *** gandalf1 is now known as gandalf
05:15:10 *** chris has joined #gnucash
05:15:11 *** ChanServ sets mode: +v chris
05:17:44 <chris> gjanssens: we should centralize all init/shutdown especially app-utils components :)
05:17:58 <chris> see #1794 penultimate commit
05:18:42 <chris> there's gnc_prefs_init scattered around but no corresponding shutdown
05:35:39 <Simon> Robert847: it would be easier to attach the backtrace to a bug report, and it'll then require some more inspection of the state using gdb
05:52:44 *** miklcct has quit IRC
05:53:10 *** chris has quit IRC
05:57:20 *** miklcct has joined #gnucash
05:57:21 *** ChanServ sets mode: +v miklcct
06:26:55 <Simon> there's a very obvious null pointer dereference at the point where that crashes
06:28:02 *** chris has joined #gnucash
06:28:03 *** ChanServ sets mode: +v chris
06:30:20 <Simon> the wiki is running slow again
06:38:29 <Simon> I think I can reproduce your bug, although there may be another cause
06:50:05 <Simon> Robert847: make a backup of your GnuCash file because jralls will probably want more detail, and then perform the following steps:
06:51:00 <Simon> Robert847: in the GnuCash Preferences, select the "Scheduled Transactions" tab and enable "Run when data file opened" in the "Since Last Run" section
06:51:38 <Simon> Robert847: restart GnuCash and it'll tell you which scheduled transaction and why it's failing
06:51:48 <Simon> I've created a bug https://bugs.gnucash.org/show_bug.cgi?id=799108 for this
06:52:27 <Simon> the problem is that when you use the menu option "Since Last Run" it'll crash on any errors; if it's creating them automatically on startup it will be able to display the errors instead
07:06:41 <Simon> gnc_main_window_cmd_actions_since_last_run() and gnc_sx_sxsincelast_book_opened() could do with reusing a single function
07:07:29 <Simon> https://github.com/Gnucash/gnucash/pull/1801 will fix the crash
07:07:49 <Simon> although it tells you it created two scheduled transactions and then reports an error creating them
07:13:50 <Simon> but so does the startup version if the notification window is enabled
07:14:44 *** chris has quit IRC
07:39:28 *** gandalf1 has joined #gnucash
07:39:55 *** gandalf has quit IRC
07:39:55 *** gandalf1 is now known as gandalf
07:46:33 *** jervin has joined #gnucash
07:54:50 *** jervin has quit IRC
08:26:10 *** fell has quit IRC
08:28:10 *** fell has joined #gnucash
08:28:11 *** ChanServ sets mode: +o fell
09:02:48 *** nevivurn has joined #gnucash
09:02:48 *** ChanServ sets mode: +v nevivurn
10:31:28 *** gandalf1 has joined #gnucash
10:31:56 *** gandalf has quit IRC
10:31:56 *** gandalf1 is now known as gandalf
10:57:34 *** palerider has joined #gnucash
10:59:20 *** palerider has left #gnucash
11:09:07 *** miklcct has quit IRC
11:09:34 *** miklcct has joined #gnucash
11:09:34 *** ChanServ sets mode: +v miklcct
12:10:00 *** chris has joined #gnucash
12:10:00 *** ChanServ sets mode: +v chris
13:46:52 <jralls> Simon, thanks for finding Robert847's crash.
13:47:29 <jralls> Robert847, I'm always logged in here, but I
13:49:48 <jralls> I'm generally at the keyboard during the day (except Wednesdays) US pacific time; the exact hours vary with what's going on in meat-space.
13:53:37 *** chris has quit IRC
14:03:19 <jralls> gjanssens, what do you think about using cmake presets (https://cmake.org/cmake/help/latest/manual/cmake-presets.7.html) for cflags instead of hard-coding them in CMakeLists.txt?
14:36:05 *** jervin has joined #gnucash
14:44:09 *** gandalf1 has joined #gnucash
14:44:36 *** gandalf has quit IRC
14:44:36 *** gandalf1 is now known as gandalf
14:53:09 *** gandalf1 has joined #gnucash
14:53:36 *** gandalf has quit IRC
14:53:36 *** gandalf1 is now known as gandalf
15:06:01 <gjanssens> @tell chris centralizing all init/shutdown code was something I had in mind when I proposed a "libgnucash". That was meant to be the unifying glue api for all of engine, core-utils and app-utils that could be used by bindings of all kinds to start working with engine, core-utils and app-utils. It would offer a simple way to initialize and shutdown all of the lower level objects.
15:06:01 <gncbot> gjanssens: The operation succeeded.
15:06:31 <gjanssens> @tell chris It would have made more sense to make that a c++ class with constructor and destructor, but as you noted I didn't get that far.
15:06:31 <gncbot> gjanssens: The operation succeeded.
15:08:02 <gjanssens> jralls: presets seem like an interesting approach. But it needs cmake 3.19. ISTR that's not available yet on code ?
15:08:31 <gjanssens> I'll get back to chris' PR and your broader question over there later this weekend.
15:08:43 <gjanssens> I'm ready to leave for the night now.
15:11:05 <gjanssens> Hmm, gncbot is not acknowledging my tell commands. Seems to be non-functional. I'll retry tomorrow.
15:11:26 *** gjanssens has quit IRC
15:13:38 *** jralls sets mode: +o gncbot
15:14:39 <jralls> @tell chris <from gjanssens>It would have made more sense to make that a c++ class with constructor and destructor, but as you noted I didn't get that far.
15:14:39 <gncbot> jralls: The operation succeeded.
15:15:27 <jralls> @tell chris <from gjanssens, and this should have gone first>centralizing all init/shutdown code was something I had in mind when I proposed a "libgnucash". That was meant to be the unifying glue api for all of engine, core-utils and app-utils that could be used by bindings of all kinds to start working with engine, core-utils and app-utils. It would offer a simple way to initialize and shutdown all of the lower level o
15:15:27 <gncbot> jralls: The operation succeeded.
15:15:27 <jralls> bjects.
15:16:13 <jralls> @tell gjanssens Yesterday gncbot needed to be op'd. I did that and relayed your messages to chris.
15:16:13 <gncbot> jralls: The operation succeeded.
15:19:10 <jralls> @tell gjanssens As for cmake 3.19 and code, I guess we need it for flatpak builds?
15:19:10 <gncbot> jralls: The operation succeeded.
15:33:17 <Robert847> Thank you Simon and Jralls. I have found and deleted the SX that was triggering the SLR crash in my data file. I am glad that Simon was able to identify a bug and fix it for future releases. I will continue to monitor Bug 799108 and provide additional input if needed.
15:39:57 *** Robert847 has left #gnucash
15:43:20 <Simon> it would have been useful to know if it was a reasonable SX error condition or not :/
17:02:15 *** gandalf has quit IRC
19:40:57 *** palerider has joined #gnucash
20:00:03 *** raghukamath has quit IRC
20:10:18 *** raghukamath has joined #gnucash
20:10:19 *** ChanServ sets mode: +v raghukamath
20:14:58 *** icarus_79 has quit IRC
20:19:43 *** chris has joined #gnucash
20:19:43 *** ChanServ sets mode: +v chris
20:19:43 *** gncbot sets mode: +o chris
20:57:10 *** fell has quit IRC
20:58:30 *** fell has joined #gnucash
20:58:30 *** ChanServ sets mode: +o fell
21:02:21 *** chris has quit IRC
21:27:04 *** chris has joined #gnucash
21:27:04 *** ChanServ sets mode: +v chris
21:27:04 *** gncbot sets mode: +o chris
21:27:12 <chris> @tell gjanssens I guess the issue about c++ ctor/dtor is that it becomes more difficult to determine the exact order of init/shutdown
21:27:12 <gncbot> chris: The operation succeeded.
22:04:28 *** palerider has left #gnucash
22:05:52 *** jervin has quit IRC
22:08:41 *** chris has quit IRC
23:41:52 *** chris has joined #gnucash
23:41:52 *** ChanServ sets mode: +v chris
23:41:52 *** gncbot sets mode: +o chris