2024-04-05 GnuCash IRC logs
00:13:33 *** fell has quit IRC
00:13:52 *** fell has joined #gnucash
00:13:52 *** ChanServ sets mode: +o fell
01:45:23 *** fell has quit IRC
01:46:16 *** fell has joined #gnucash
01:46:17 *** ChanServ sets mode: +o fell
03:27:38 *** Eklof has joined #gnucash
06:40:43 *** Eklof has quit IRC
07:08:19 *** chris has joined #gnucash
07:08:19 *** ChanServ sets mode: +v chris
08:19:40 *** chris has quit IRC
08:48:12 *** fabior has joined #gnucash
09:18:26 *** fabior has quit IRC
10:22:16 *** Kaligula has joined #gnucash
10:22:31 *** ChanServ sets mode: +v Kaligula
11:27:55 *** palerider has joined #gnucash
11:41:47 *** palerider has left #gnucash
12:12:53 <Kaligula> GnuCash crashes when I try to save.
12:13:38 <Kaligula> GnuCash official 5.6+(2024-03-30)
12:19:06 <Kaligula> Tracefile is usually empty. Once it had 9 lines of:
12:19:06 <Kaligula> * 18:08:11 ERROR <gnc.backend.xml> xmlNode* text_to_dom_tree(const char*, const char*): assertion 'str' failed
12:19:56 <Kaligula> Once it had 3 WARN lines about `<gnc.core-utils> Could not locate file AUTHORS` (and DOCUMENTERS and LICENSE)
12:21:24 <Kaligula> I wonder 1) if it's only me, 2) if there's anything else I could check before reporting to Bugzilla
12:31:30 <Kaligula> The same for latest nightly [gnucash-5.6-2024-04-05-git-5.6-5-g3285bb8e6c+.setup.exe]
13:37:03 <Simon> Are you saving a file you've opened, modified, etc.?
13:59:29 *** CWehli has joined #gnucash
14:30:37 *** CWehli has quit IRC
14:31:01 <Kaligula> Yes, it's my only file, that I use. I open GnuCash, and it remembers which file was opened recently. I have a few scheduled transactions for today so the file is already modified (I see an asterisk in the title bar). Either I input a transaction or not, the app crashes when I choose menu/File/Save.
14:33:42 <Simon> ok, so something in one of your scheduled transactions may be doing it
14:34:30 <Kaligula> Even if I cancel the window that pops up with scheduled tx?
14:34:43 <Simon> that happens after they're created
14:34:59 <Simon> I have it disabled because it's unnecessary annoying
14:35:09 <Kaligula> Yes, I understand
14:35:49 <Kaligula> but I wonder if they can cause crash even if I don't create them. I mean, the window pops up and I hit cancel.
14:36:11 <Simon> you should make a backup of the file in case you accidentally fix it and then can't reproduce it
14:36:20 <Kaligula> So, I should delete them and try again
14:36:42 <Kaligula> yeah, backup every time when fiddling around ;)
14:40:13 <Kaligula> Indeed, this happens with my file, but not with a new test file.
14:40:25 <Kaligula> I'll investigate.
14:40:36 <Simon> are you familiar with editing the XML file?
14:40:44 <Kaligula> That was my next question :D
14:40:58 <Simon> I'd make a copy, remove all the transactions/prices and see if it still happens
14:40:59 <Kaligula> Yeah, I wanted to ask if I can edit it just like an XML
14:41:04 <Kaligula> ok thx
14:41:31 <Simon> then trim the scheduled transactions down by removing them until you find those that cause it
14:42:04 <Simon> eventually you can either spot something odd or just edit it down to a minimum number of accounts that you can then rename and share
14:42:20 <Simon> alternatively since I think you can run it in a Linux VM, do that
14:42:36 <Simon> that is the fastest way to identify the cause because you'll get a stack trace
14:43:27 <Kaligula> ok! Where can I look for the stack trace? GnuCashWiki/Tracefile will help me? I use Linux OSs rarely.
14:43:33 <Simon> there's a way to do it on Windows too, but Linux is far easier: https://wiki.gnucash.org/wiki/Stack_Trace#Windows
14:43:50 <Simon> looks like you can just run the MSYS2 gdb
15:55:10 *** CWehli has joined #gnucash
15:55:23 *** CWehli has quit IRC
18:34:24 <Kaligula> I couldn't get gdb to run so I edited the *.gnucash file as XML trying to find out if this is a price/tx/sx/account/commodity issue, but no result so far. The last thing I remove from file are commodities (when I tried to remove them first I got empty Accounts list after opening the file) and the file becomes saveable when I remove one of the commodities – each try it was another commodity (depending on the brightness of the Mo
18:34:24 <Kaligula> on't know). Now I'm installing a Linux VM, but it's late night here…
18:49:35 *** Kaligula has quit IRC
18:49:36 <jralls> Kaligula I have the best luck with gdb on Windows by running it in Powershell. Make sure you have mingw-w64-i686-gdb and not plain gdb. Use full paths, e.g. `"C:\gcdev64\msys2\mingw32\bin\gdb.exe" "C:\Program Files (x86)\gnucash\bin\gnucash.exe"`
20:00:02 *** raghukamath has quit IRC
20:12:15 *** raghukamath has joined #gnucash
20:12:15 *** ChanServ sets mode: +v raghukamath
21:42:35 *** fell has quit IRC
21:42:55 *** fell has joined #gnucash
21:42:55 *** ChanServ sets mode: +o fell
22:18:04 *** fell has quit IRC
22:18:07 *** fell_laptop has joined #gnucash
22:18:08 *** ChanServ sets mode: +o fell_laptop
23:43:49 *** fell_laptop has quit IRC
23:43:59 *** fell_laptop has joined #gnucash
23:43:59 *** ChanServ sets mode: +o fell_laptop
23:47:41 *** fell_laptop has quit IRC
23:47:50 *** fell has joined #gnucash
23:47:50 *** ChanServ sets mode: +o fell
23:49:39 *** fell has quit IRC
23:49:44 *** fell_laptop has joined #gnucash
23:49:44 *** ChanServ sets mode: +o fell_laptop
23:52:30 *** fell_laptop has quit IRC
23:52:51 *** fell_laptop has joined #gnucash
23:52:51 *** ChanServ sets mode: +o fell_laptop