2020-05-23 GnuCash IRC logs

00:16:36 *** Mechtilde has joined #gnucash
00:21:53 *** Eric has joined #gnucash
00:24:53 *** Eric has quit IRC
00:32:50 *** Eric has joined #gnucash
00:44:39 *** Eric has quit IRC
00:47:41 *** chris has quit IRC
01:25:48 *** Han has joined #gnucash
01:27:05 *** fell_laptop has joined #gnucash
01:27:06 *** ChanServ sets mode: +o fell_laptop
01:28:43 *** fell has quit IRC
01:37:04 *** chris has joined #gnucash
01:37:04 *** ChanServ sets mode: +v chris
01:42:03 *** sbluhm has joined #gnucash
01:49:10 *** fell_laptop is now known as fell
01:59:25 *** Aussie_matt has quit IRC
02:02:25 *** chris has quit IRC
02:21:48 *** sbluhm has quit IRC
02:21:49 *** suukim has joined #gnucash
02:43:12 *** sbluhm has joined #gnucash
02:43:13 *** ChanServ sets mode: +v sbluhm
02:48:18 *** Mechtilde has quit IRC
02:51:28 *** sbluhm has quit IRC
02:52:35 *** Mechtilde has joined #gnucash
03:17:07 *** gjanssens has joined #gnucash
03:17:07 *** ChanServ sets mode: +o gjanssens
03:52:09 *** chris has joined #gnucash
03:52:10 *** ChanServ sets mode: +v chris
03:57:10 *** chris has quit IRC
04:01:27 *** chris has joined #gnucash
04:01:27 *** ChanServ sets mode: +v chris
04:02:40 <chris> .
04:32:39 *** sbluhm has joined #gnucash
04:32:39 *** ChanServ sets mode: +v sbluhm
04:33:33 *** sbluhm has quit IRC
04:43:14 *** User_ has joined #gnucash
05:13:40 *** Aussie_matt has joined #gnucash
05:24:12 *** fabior has joined #gnucash
05:27:18 *** omnireq has quit IRC
05:27:33 *** omnireq has joined #gnucash
05:27:33 *** ChanServ sets mode: +v omnireq
05:30:58 *** Gerd has quit IRC
05:31:07 <chris> anyone can confirm if master's piecharts are very broken?
05:35:05 *** Gerd has joined #gnucash
05:35:55 *** chris has quit IRC
05:44:16 *** fabior has quit IRC
06:12:02 *** fabior has joined #gnucash
06:29:32 *** chris has joined #gnucash
06:29:32 *** ChanServ sets mode: +v chris
07:06:42 *** FH_thecat has quit IRC
07:24:23 *** fabior has quit IRC
07:30:18 *** keiffer has joined #gnucash
07:38:31 *** storyjesse has joined #gnucash
08:03:47 <gjanssens> chris: did you run make/ninja install and run from the installation directory ?
08:04:01 <gjanssens> It's known to be broken when starting from the build directory
08:08:39 *** chris_ has joined #gnucash
08:09:27 *** chris has quit IRC
08:09:41 <chris_> I meant the piechart is broken. income/expense piechart will offer averaging function which is IMHO silly. shows $0 when it is selected.
08:09:48 <chris_> I meant the piechart is broken. income/expense piechart will offer averaging function which is IMHO silly. shows $0 when it is selected.
08:09:51 <chris_> I meant the piechart is broken. income/expense piechart will offer averaging function which is IMHO silly. shows $0 when it is selected.
08:09:53 <chris_> I meant the piechart is broken. income/expense piechart will offer averaging function which is IMHO silly. shows $0 when it is selected.
08:10:26 *** chris_ is now known as chris
08:10:28 <chris> oops
08:33:57 *** chris has quit IRC
08:39:48 <gjanssens> Ok, that's something else then :)
08:40:26 <gjanssens> jralls: yesterday's master fails to build on Windows for me.
08:41:13 <gjanssens> I completely removed c:\gcdev64\gnucash\master and reran setup-mingw64.ps1
08:42:01 <gjanssens> After the usual xmlsec failure (which seems to resolve itself when rerunning the build) it now consistently fails while linking bdw-gc
08:45:41 <gjanssens> I get tons of duplicate symbol errors.
08:45:48 <gjanssens> The full output is here: https://pastebin.com/m6EXpDDf
08:47:00 <gjanssens> I'll likely be afk before you come online (and I'll be afk until at least Tuesday), but I post it here anyway wondering if you ran into this as well.
08:59:46 *** Jimraehl1 has joined #gnucash
09:02:37 *** Jimraehl1 has left #gnucash
09:31:40 *** sbluhm has joined #gnucash
09:31:40 *** ChanServ sets mode: +v sbluhm
09:38:01 <fell> gjanssens, but it was built on https://code.gnucash.org/builds/win32/master/?C=M;O=D
09:39:21 <gjanssens> fell: sure. It may well be that works because it wasn't done from a fully clean environment or it may be that this is only on Windows 7
09:43:38 *** chris has joined #gnucash
09:43:38 *** ChanServ sets mode: +v chris
09:43:43 <fell> gjanssens, You are ofte building in 'detached HEAD' state?
09:44:11 <gjanssens> Nope, it's in an open VM session.
09:51:45 <fell> It starts with 'git clone git://github.com/ivmai/bdwgc -b gc7_6_0', but then "switching to '8ac1d84a40eb7a431fec1b8097e3f24b48fb23fa'."
09:51:52 <fell> Was that intended?
09:56:08 *** storyjesse1 has joined #gnucash
09:56:22 <fell> I see no branch gc7_6_0 there.
09:56:31 *** storyjesse has quit IRC
09:56:31 *** storyjesse1 is now known as storyjesse
09:57:19 <fell> only a release-7_6
09:58:40 *** storyjesse has quit IRC
10:13:03 <fell> Ah, gc7_6_0 is a tag.
10:46:35 *** fabior has joined #gnucash
10:53:28 *** jervin has joined #gnucash
11:00:01 *** fabior has quit IRC
11:00:39 *** fabior has joined #gnucash
11:07:40 *** sbluhm has quit IRC
11:14:16 *** sbluhm has joined #gnucash
11:14:16 *** ChanServ sets mode: +v sbluhm
11:15:13 *** aminbegood has joined #gnucash
11:18:50 *** jervin has quit IRC
11:27:00 *** sbluhm has quit IRC
11:38:13 <jralls> gjanssens, no, I haven't seen that. I did clean both the maint and master build trees on the build VM last week to get the single-threaded guile going... and there hasn't been a hang since. But both that and my primary Win VM are Win10. I'll fire up the Win7 VM and give it a try.
11:40:27 <gjanssens> jralls: I had one hang yesterday while updating mingw (when running setup_mingw64.ps1) and had to kill it
11:40:48 <gjanssens> Perhaps that corrupted my install. I'm now reinstalling msys from scratch to see if that makes a difference
11:41:22 <gjanssens> Given the current download speeds this probably won't finish until after I'm afk.
11:41:34 <jralls> Not the hang I mean. I mean guile hangs while compiling Gnucash scm files.
11:41:55 <gjanssens> I did get that ;)
11:42:07 <gjanssens> I was just trying to clarify where my potential issue could be.
11:43:02 <jralls> Was your hang yesterday while running pacman -Syuu?
11:43:16 <gjanssens> I believe so yes
11:43:30 <gjanssens> It was in the postprocessing step
11:44:16 <gjanssens> While I have your attention and I still have a few minutes left -
11:44:34 <gjanssens> I'm looking at our startup code
11:44:42 <gjanssens> In particular the locale setup
11:45:22 <gjanssens> I see you have written it such that on MacOS and Windows setlocale is called before the environment file is parsed
11:45:24 <jralls> That's actually normal when it upgrades the system libraries. You're supposed to kill the MSYS2 terminal session. In theory setup_minw64.ps1 should detect it and re-run pacman, but sometimes it doesn't. When that happens you should do so manually after setup_mingw64 finishes.
11:45:59 <gjanssens> I did that. And afterwards I had the gc linker errors
11:46:31 <gjanssens> As for the environment file, doesn't that mean users on Windows and MacOS can't set LANG and LANGUAGE in the environment file ?
11:46:47 <gjanssens> Well, they can, but won't that be ignored then ?
11:47:25 <jralls> Sorry, I didn't follow the context switch. What about the environment file?
11:47:40 <gjanssens> Yeah, sorry for that switch
11:47:57 <gjanssens> I see in gnucash-bin.c both Windows and MacOS will setlocale before the environment file is parsed
11:48:28 <gjanssens> The idea however originally was that users could set LANG and LANGUAGE options in that file to tell gnucash what language to use.
11:48:45 <gjanssens> I wonder if setlocale is called before these parameters are set, won't they then be ignored ?
11:49:01 <gjanssens> Or is LANG handled differently by other tools ?
11:49:12 <gjanssens> I mean by other function calls ?
11:53:04 <jralls> See the commit message in https://github.com/Gnucash/gnucash/commit/6c7ccbd9e77fd377c8eae97323fbdadd77d3192f.
11:55:35 <gjanssens> Ok, that actually confirms my concern: set_win32_thread_locale is called before the environment file is parsed, yet it checks the values of various environment variables.
11:55:50 *** ldir is now known as KevinDB
11:56:07 *** fabior has quit IRC
11:56:08 <gjanssens> So it seems to me whatever is set in the environment file (which is supposed to set variables in the current environment) will be too late
11:56:22 <jralls> Right. So that gnc_environment_setup() has the last word.
11:56:34 <gjanssens> Huh ?
11:57:00 <gjanssens> It will set the environment, but will gnucash still switch locale after that ?
11:57:19 <gjanssens> Perhaps I don't understand very well how that works exactly.
11:57:46 <jralls> set_mac_locale() and set_win32_thread_locale() read the user's settings from defaults and the registry respectively. If we process the environement file first they'll replace whatever it has done.
11:57:57 <jralls> We want to do it the other way around.
11:58:26 <jralls> Yes, every call to setlocale() changes the environment settings. It's the last call that matters.
11:58:38 <gjanssens> Ok. That's the part I was missing.
11:59:20 <gjanssens> So set_mac_locale() and set_win32_thread_locale() are really looking for the default system locale and then users can override if they prefer.
11:59:47 <gjanssens> Perhaps these functions can be renamed to set_system_locale for both platforms ?
12:00:00 <gjanssens> Or set_default_system_locale?
12:00:25 <jralls> setlocale also returns a token to the locale that it replaces so e.g. if you have a section of code that needs to execute in the "C" locale you do foo = setlocale(LC_ALL, "");/* the locale-less code*/ setlocale(LC_ALL, foo);
12:00:33 <gjanssens> Related question: do you have objections to move these functions to gnc-locale-utils ?
12:01:20 <gjanssens> Yeah, that's the "save locale dance" we sometimes do indeed.
12:02:45 <gjanssens> I would like to group all locale specific code in one place, so gnc-locale-utils seems like a good home for these functions even if we only need to call them once.
12:02:49 <jralls> I don't really like foo-utils kitchen sink files any more than I like foo-utils directories. If you want to write a GncLocale class with platform subclasses that would be OK.
12:03:21 <gjanssens> Ok, I could look at that.
12:04:28 <gjanssens> Yet another project...
12:04:56 <gjanssens> I'll defer it until after the gnucash-cli work I'd like to see still in gnucash 4.x
12:05:08 <gjanssens> New feature deadline is approaching rapidly :)
12:05:14 <jralls> locale is even worse that usual because we have both gnc-locale-utils.c and a one-function gnc-locale-utils.cpp to create the std::locale.
12:05:34 <gjanssens> Yeah, I saw that...
12:05:38 <jralls> Yes it is.
12:05:46 <gjanssens> I'll see what I can do still
12:06:11 <gjanssens> setup_mingw32 is stuck again
12:06:28 <jralls> I think we really need to switch to ICU for locales. libc locales just don't get it any more.
12:06:29 <gjanssens> This time right after upgrading wget
12:07:00 <jralls> What's actually stuck? Use task manager.
12:07:01 <gjanssens> That should not be too hard as we're already depending on ICU anyway
12:07:31 <jralls> It will be a lot of work, though. We have localization code splattered all over everywhere.
12:07:58 <gjanssens> Tell me about it...
12:08:05 <gjanssens> I'm not sure what's stuck really
12:08:15 <gjanssens> There's hardly anything in there
12:09:03 <gjanssens> What shows a hanging process ?
12:09:14 <gjanssens> All current processes are 0%
12:09:36 <jralls> Right. You're looking for one that shouldn't be.
12:11:40 <gjanssens> There's two conhost.exe, one csrss.exe, dwm.exe, explorer.exe, gpg-agent.exe, powershell.exe, scdaemon.exe, two taskhost.exe's, one taskmgr.exe, one vdagent.exe and one winlogon.exe
12:12:11 <gjanssens> None of these look like anything related to pacman running.
12:12:30 <gjanssens> So it seems pacman has either died or finished
12:13:21 <gjanssens> Anyway that will be for later. I have to leave now.
12:13:29 <jralls> OK.
12:13:29 <gjanssens> Enjoy your day!
12:13:43 <jralls> Have fun, see you Tuesday!
12:15:28 *** sbluhm has joined #gnucash
12:15:29 *** ChanServ sets mode: +v sbluhm
12:24:48 *** omnireq has quit IRC
12:26:20 *** omnireq has joined #gnucash
12:26:20 *** ChanServ sets mode: +v omnireq
12:48:40 *** gjanssens has quit IRC
12:54:53 *** aminbegood has quit IRC
12:57:58 *** mib_xl34tm has joined #gnucash
12:58:05 *** mib_xl34tm has left #gnucash
13:06:28 *** sbluhm has quit IRC
13:23:26 *** sbluhm has joined #gnucash
13:23:27 *** ChanServ sets mode: +v sbluhm
13:33:12 *** sbluhm has quit IRC
13:40:34 *** aminbegood has joined #gnucash
13:50:25 *** aminbegood has quit IRC
14:02:21 *** User_ has quit IRC
14:03:53 *** suukim has quit IRC
14:05:25 *** angel has joined #gnucash
14:08:11 *** sbluhm has joined #gnucash
14:08:11 *** ChanServ sets mode: +v sbluhm
14:25:16 *** frakturfreak has joined #gnucash
14:36:47 *** guak has joined #gnucash
14:44:55 *** sbluhm has quit IRC
14:52:50 *** sbluhm has joined #gnucash
14:52:50 *** ChanServ sets mode: +v sbluhm
14:53:33 *** angel has quit IRC
15:27:20 *** sbluhm has quit IRC
15:43:04 *** Han has quit IRC
15:50:51 *** Mechtilde has quit IRC
15:56:16 *** keiffer has quit IRC
16:02:01 *** keiffer has joined #gnucash
16:13:27 *** sbluhm has joined #gnucash
16:13:27 *** ChanServ sets mode: +v sbluhm
16:13:35 *** Unhammer has quit IRC
16:18:59 *** keiffer has quit IRC
16:20:50 <CDB-Man_> jralls: checking this out now. what are you referring to with this "resize" problem?
16:21:23 <CDB-Man_> is that regarding Mike Alexander's comment on the dropdowns?
16:29:57 *** sbluhm has quit IRC
16:32:18 *** Unhammer has joined #gnucash
16:55:54 <jralls> CDB_Man_ If you're referring to the account field, yes.
16:57:05 <jralls> CDB_Man_ Bob-IT noticed that the action field doesn't work.
17:03:39 *** angel has joined #gnucash
17:05:02 *** Agfarmer18 has joined #gnucash
17:35:12 *** jervin has joined #gnucash
17:49:39 *** guak has quit IRC
17:55:17 *** jervin has quit IRC
18:04:06 *** jervin has joined #gnucash
18:17:48 *** angel has quit IRC
18:28:33 *** lmat has joined #gnucash
18:33:26 *** Agfarmer18 has quit IRC
18:57:36 <jralls> @tell gjanssens Your fresh build problem was due to MinGW64 upgrading to gcc10.1 and bdwgc having a lot of carelessly declared (no extern) globals.
18:57:36 <gncbot> jralls: The operation succeeded.
19:01:24 *** aminbegood has joined #gnucash
19:15:54 *** aminbegood has quit IRC
20:06:29 *** aminbegood has joined #gnucash
20:12:24 *** bertbob has quit IRC
20:19:29 *** bertbob has joined #gnucash
20:19:29 *** ChanServ sets mode: +v bertbob
20:19:30 *** frakturfreak has quit IRC
20:36:37 *** jervin has quit IRC
20:39:32 *** jervin has joined #gnucash
20:57:47 *** jervin has quit IRC
20:58:58 *** jervin has joined #gnucash
21:19:17 *** jervin has quit IRC
21:40:00 *** jtrh has joined #gnucash
21:43:22 *** marusich has quit IRC
21:56:39 *** TownsendHardware has quit IRC
22:32:16 *** chris has quit IRC
22:37:39 *** chris has joined #gnucash
22:37:39 *** ChanServ sets mode: +v chris
22:45:15 *** Gerd1 has joined #gnucash
22:45:51 *** Gerd has quit IRC
22:45:51 *** Gerd1 is now known as Gerd
23:55:19 *** bertbob has quit IRC
23:57:16 *** bertbob has joined #gnucash
23:57:17 *** ChanServ sets mode: +v bertbob