2020-02-04 GnuCash IRC logs

00:18:54 *** jervin has quit IRC
00:38:11 *** omnireq_ has quit IRC
00:38:22 *** omnireq_ has joined #gnucash
00:55:12 *** Mechtilde has joined #gnucash
00:59:11 *** omnireq_ has quit IRC
00:59:36 *** omnireq_ has joined #gnucash
01:27:39 *** bertbob has quit IRC
01:31:32 *** bertbob has joined #gnucash
01:31:32 *** ChanServ sets mode: +v bertbob
01:38:31 *** Mechtilde has quit IRC
01:41:11 *** omnireq_ has quit IRC
01:41:40 *** omnireq_ has joined #gnucash
01:42:57 *** mauritslamers has quit IRC
01:59:08 *** CDB-Man has joined #gnucash
01:59:08 *** ChanServ sets mode: +v CDB-Man
02:00:29 *** fell has quit IRC
02:01:34 *** CDB-Man_ has quit IRC
02:01:48 *** fell has joined #gnucash
02:01:48 *** ChanServ sets mode: +o fell
02:33:20 <fell> @tell gjanssens From https://code.gnucash.org/builds/win32/build-logs/maint/2020-02/build-maint-2020-02-03-03-01-02.log: *** Error during phase configure of gnucash-git: ########## Error running cmake -DCMAKE_INSTALL_PREFIX=/c/gcdev64/gnucash/maint/inst -DCMAKE_INSTALL_LIBDIR=lib -G Ninja -DCMAKE_FIND_ROOT_PATH=$MSYS2ROOT -DCMAKE_PREFIX_PATH=$MSYS2ROOT -DPERL_EXECUTABLE=/usr/bin/perl -DGNC_DBD_DIR=$PREFIX/lib/dbd -DGTEST_
02:33:20 <gncbot> fell: The operation succeeded.
02:33:22 <fell> ROOT=$SRCROOT/googletest/googletest -DGMOCK_ROOT=$SRCROOT/googletest/googlemock -DCMAKE_BUILD_TYPE=Debug /c/gcdev64/gnucash/maint/src/gnucash-git *** [14/16]
02:49:16 <fell> I do not see, where cmakeargs are set for branch maint.
02:49:59 <fell> @tell gjanssens I do not see, where cmakeargs are set for branch maint.
02:49:59 <gncbot> fell: The operation succeeded.
03:11:32 *** Mechtilde has joined #gnucash
04:21:01 *** ecdhe has quit IRC
04:21:03 *** ecdhe has joined #gnucash
04:31:14 *** storyjesse has joined #gnucash
04:36:32 *** gjanssens has joined #gnucash
04:36:32 *** ChanServ sets mode: +o gjanssens
04:43:07 *** sbluhm has joined #gnucash
04:43:41 *** omnireq_ has quit IRC
04:43:53 *** omnireq_ has joined #gnucash
04:58:07 *** sbluhm has quit IRC
05:05:11 *** omnireq_ has quit IRC
05:05:58 *** omnireq_ has joined #gnucash
05:10:50 *** mauritslamers has joined #gnucash
05:10:51 *** ChanServ sets mode: +v mauritslamers
05:22:42 *** User__ has joined #gnucash
05:27:11 *** omnireq_ has quit IRC
05:27:40 *** omnireq_ has joined #gnucash
05:36:10 *** FH_thecat has quit IRC
05:55:55 *** Jimraehl1 has joined #gnucash
05:57:07 *** Jimraehl1 has quit IRC
06:01:19 *** User__ has quit IRC
06:20:07 *** sbluhm has joined #gnucash
07:03:22 *** mauritslamers has quit IRC
07:18:37 *** sbluhm has quit IRC
07:21:03 *** FH_thecat has joined #gnucash
07:57:28 *** Gerd has joined #gnucash
07:58:50 *** tonysoar has joined #gnucash
08:07:21 *** tonysoar has quit IRC
08:20:43 *** Gerd has quit IRC
08:25:34 *** Unhammer has quit IRC
08:38:46 *** chris__ has joined #gnucash
08:41:07 *** Unhammer has joined #gnucash
08:41:07 *** ChanServ sets mode: +v Unhammer
08:53:07 *** Mechtilde has quit IRC
08:54:35 *** Mechtilde has joined #gnucash
08:59:55 *** Mechtilde has quit IRC
09:06:58 *** blathijs has joined #gnucash
09:07:31 *** Mechtilde has joined #gnucash
09:08:58 <blathijs> Hey folks. Anyone know if there is a way to generate better backtraces for eguile reports? I upgrade gnucash to 3.7 and now I get "source expression failed to match any pattern" with no clear reference to my own code. I think that (part of) the eguile fails to parse, but there is no indication of what part exactly... Maybe I can add some debug trace statements to eguile-gnc.scm...
09:10:32 *** Mechtilde has quit IRC
09:19:20 *** chris__ has quit IRC
09:26:14 <warlord> blathijs, there is a guile function to print the stack trace. I'd have to grep the code to find it.
09:26:50 *** Mechtilde has joined #gnucash
09:28:55 <blathijs> warlord: It actually seems that eguile-gnc.scm already captures stacktraces and hides some of it, but the output does not seem to match the comments about what it does. I'm investigating now :-)
09:30:01 <warlord> good luck
09:31:56 *** Mechtilde has quit IRC
09:33:48 *** chris__ has joined #gnucash
09:34:36 *** mauritslamers has joined #gnucash
09:34:36 *** ChanServ sets mode: +v mauritslamers
09:41:19 *** chris__ has quit IRC
09:49:04 *** Mechtilde has joined #gnucash
09:49:08 <blathijs> Ah, it seems that display-backtrace displays from the given first index *upwards* into the stack, while the eguile-gnc.scm code assumes it displays *downwards*
09:51:17 <blathijs> So I get only the part of the stack that it is trying to hide, rather than the part that leads up to the actual error
09:52:05 *** Mechtilde has quit IRC
10:00:43 *** chris has joined #gnucash
10:00:43 *** ChanServ sets mode: +v chris
10:08:33 <warlord> hahaha
10:21:57 *** Mechtilde has joined #gnucash
10:28:10 *** Mechtilde has quit IRC
10:45:59 *** sbluhm has joined #gnucash
10:45:59 *** ChanServ sets mode: +v sbluhm
10:51:06 *** storyjesse has quit IRC
10:58:44 *** sbluhm has quit IRC
11:03:28 *** Mechtilde has joined #gnucash
11:06:30 *** Mechtilde has quit IRC
11:08:04 *** Mechtilde has joined #gnucash
11:09:32 *** Han has joined #gnucash
11:10:19 <chris> I think I'm close to cracking budget-totals...
11:10:19 <gncbot> chris: Sent 1 day, 0 hours, and 48 minutes ago: <warlord> not 100% done here, but 95%. Still working on minor stuff that I had to turn off for a while (like MRTG).. And I still need more more reboot to test the VM system properly.
11:10:36 <Han> anybode now how to book internal accounts internaly?
11:11:06 *** Mechtilde has quit IRC
11:14:31 *** Mechtilde has joined #gnucash
11:17:32 *** Mechtilde has quit IRC
11:20:46 <blathijs> warlord: I submitted https://bugs.gnucash.org/show_bug.cgi?id=797609 for this
11:28:20 *** omnireq_ has quit IRC
11:28:23 <warlord> blathijs, okay
11:28:31 <warlord> Han, what do you mean by that?
11:29:02 <Han> i use the online banking module libaqbanking
11:29:13 <chris> Writing backward compatibility code is annoying... :(
11:29:35 <warlord> chris, yeah, and forward-compatibility too
11:30:21 <Han> and if I transfer two accounts from different banks, than i have sometomes the same transaction in twho accounts
11:30:47 <Han> how can I melt theme together
11:31:13 <warlord> Han, if you're using AqBanking and importing them, then you will need to manually mark one as a duplicate during import.
11:31:15 <Han> -100, - from account a and +100 to account b
11:31:47 <Han> warlord, is that possible after the import?
11:32:05 <warlord> Since Bank A and Bank B don't know each other, after you import the -100 from A, you need to mark is as going to B.. And then when you import the +100 into B, mark it as a duplicate of the first one.
11:32:14 <warlord> It's better to do it during the import.
11:32:21 <warlord> After the import you need to delete one.
11:32:30 <Han> oh no
11:32:45 *** sbluhm has joined #gnucash
11:32:48 * chris thinks it'd be nice to have a report that lists 'suspect duplicates'
11:32:57 <warlord> You can correct it in your book, but most likely the next time you import it will bring it back again.
11:33:01 <Han> warlord, do you now where the duplicate button is?
11:33:14 <warlord> chris, Nah, the importer already does that.
11:33:31 <chris> Han: duplicate button isn't what you want...
11:33:44 <warlord> Han, sorry, not 100% sure. It's part of the transaction matcher API, but I don't use the importer at all for anything.
11:33:50 <Han> warlord, that is ok. because libaqbanking only transfer transactions after a date
11:34:15 <Han> chris, yes, that would be nice
11:34:30 <chris> gtg
11:34:38 <blathijs> Hm, anyone know if something changed to the (for ...) syntax defined by gnucash for reports? It seems my report is failing to expand some macro (I suspect the for macro, but I'm not sure).
11:34:43 <Han> warlord, I will look while the next import
11:35:48 <warlord> ok
11:36:11 <Han> thanks
11:36:17 <warlord> (for...) isn't defined by gnucash -- for is a schemeism
11:37:46 <blathijs> warlord: (for-each is scheme, (for is gnucash. And it seems (for key => value in ...) has been removed: https://github.com/Gnucash/gnucash/commit/e506b7c3325f09e84c1e5d9519e551cc49943535#diff-0e5f3da1af5a9af1929e52328ef4cf8c
11:37:52 <chris> (for ...) isn't a schemism -- it's a macro
11:38:53 *** chris has quit IRC
11:39:06 <blathijs> Seems that the hash-version of (for is replaced by (hash-for-each in the gnucash source, so it could be removed in that commit.
11:39:53 *** Mechtilde has joined #gnucash
11:40:59 <warlord> blathijs, You'll need to talk to gjanssens or jralls about that.
11:43:39 <blathijs> gjanssens: jralls: This commit removes (for key => value in ...) support, but it does not document this in the commit message. Was this intentional? https://github.com/Gnucash/gnucash/commit/e506b7c3325f09e84c1e5d9519e551cc49943535#diff-0e5f3da1af5a9af1929e52328ef4cf8c
11:47:17 *** kael has joined #gnucash
11:47:17 *** ChanServ sets mode: +v kael
11:52:33 *** Han has quit IRC
11:54:27 *** Mechtilde has quit IRC
11:55:19 <blathijs> gjanssens: jralls: I went ahead and documented the removal on the wiki at https://wiki.gnucash.org/wiki/Custom_Reports_Using_Eguile#Hashes_.28removed_in_Gnucash_3.7.29 but it seems a pity, the for macro was actually nicer than hash-for-each, since you can specify the has to loop over *before* the code to apply, rather than after, which is a lot easier to read.
11:58:53 <gjanssens> blathijs: No idea unfortunately. This is chris' doing, but he's offline now.
11:58:53 <gncbot> gjanssens: Sent 9 hours and 25 minutes ago: <fell> From https://code.gnucash.org/builds/win32/build-logs/maint/2020-02/build-maint-2020-02-03-03-01-02.log: *** Error during phase configure of gnucash-git: ########## Error running cmake -DCMAKE_INSTALL_PREFIX=/c/gcdev64/gnucash/maint/inst -DCMAKE_INSTALL_LIBDIR=lib -G Ninja -DCMAKE_FIND_ROOT_PATH=$MSYS2ROOT -DCMAKE_PREFIX_PATH=$MSYS2ROOT -DPERL_EXECUTABLE=/usr/bin/perl -DGNC_DBD_DIR=$PREFIX/lib/dbd -DGTEST_
11:58:54 <gncbot> gjanssens: Sent 9 hours and 8 minutes ago: <fell> I do not see, where cmakeargs are set for branch maint.
11:59:26 <gjanssens> chris is working a lot on modernizing our guile code, but I'm afraid I can't follow all of his work in detail any more.
12:01:13 <warlord> gjanssens, it's unclear if this was a guile change or wrapper change.
12:01:40 *** omnireq has joined #gnucash
12:01:40 *** ChanServ sets mode: +v omnireq
12:02:48 *** guak has joined #gnucash
12:03:36 <gjanssens> warlord: the change is clearly in our code repository in the eguile-utilities.scm file and this was done by chris...
12:04:40 <warlord> oh, okay
12:07:10 *** kael has quit IRC
12:09:03 <gjanssens> fell: for some reason the gnucash.modules file didn't update on the build server, hence the change wasn't picked up
12:09:54 <gjanssens> I have manually forced an update, the build now gets past this.
12:10:14 <gjanssens> Next nightly should build properly.
12:19:49 *** calvinct has joined #gnucash
12:26:40 *** Gerd has joined #gnucash
12:28:28 <blathijs> gjanssens: Thanks, I've left chris a note on github as a comment on that commit.
12:32:45 *** sbluhm has quit IRC
12:57:41 *** Mechtilde has joined #gnucash
13:01:34 *** Mechtilde has quit IRC
13:05:29 *** calvinct has quit IRC
13:15:57 *** Mechtilde has joined #gnucash
13:38:36 *** fell_laptop has joined #gnucash
13:38:37 *** ChanServ sets mode: +o fell_laptop
13:39:00 *** fell has quit IRC
13:43:34 *** sbluhm has joined #gnucash
13:43:34 *** ChanServ sets mode: +v sbluhm
13:43:50 *** Gerd has quit IRC
13:57:58 *** Agfarmer18 has joined #gnucash
14:10:42 *** Agfarmer18 has quit IRC
14:11:07 *** Gerd has joined #gnucash
14:26:09 *** frakturfreak has joined #gnucash
14:28:29 *** ArtGravity has joined #gnucash
14:28:29 *** ChanServ sets mode: +v ArtGravity
14:30:29 *** calvinct has joined #gnucash
14:30:50 *** sbluhm has quit IRC
14:36:16 *** ArtGravity has quit IRC
14:36:32 *** fell_laptop has quit IRC
14:48:06 *** Gerd has quit IRC
14:50:18 *** calvinct has quit IRC
15:04:07 *** bertbob has quit IRC
15:09:34 *** ArtGravity has joined #gnucash
15:09:34 *** ChanServ sets mode: +v ArtGravity
15:10:22 *** mauritslamers has quit IRC
15:13:04 *** Gerd has joined #gnucash
15:20:44 <warlord> I ran a speedtest on my network last night via fast, and it measured 800Mb down / 600Mb up..
15:22:59 <warlord> Just now, 890/500
15:37:10 *** bertbob has joined #gnucash
15:37:10 *** ChanServ sets mode: +v bertbob
15:38:08 *** bertbob has quit IRC
16:06:34 *** bertbob has joined #gnucash
16:06:34 *** ChanServ sets mode: +v bertbob
16:09:27 *** linas has quit IRC
16:10:11 *** linas has joined #gnucash
16:15:48 *** kael has joined #gnucash
16:15:48 *** ChanServ sets mode: +v kael
16:17:28 *** calvinct has joined #gnucash
16:22:28 *** gjanssens has quit IRC
16:29:34 *** Mechtilde has quit IRC
16:36:25 *** calvinct has quit IRC
16:47:20 *** fell_laptop has joined #gnucash
16:47:20 *** ChanServ sets mode: +o fell_laptop
16:52:11 *** fell_laptop is now known as fell
17:08:09 *** frakturfreak has quit IRC
17:11:29 *** calvinct has joined #gnucash
17:12:08 *** calvinct has quit IRC
17:14:45 *** User__ has joined #gnucash
17:32:10 *** calvinct has joined #gnucash
17:35:20 *** calvinct has quit IRC
17:35:57 *** chris has joined #gnucash
17:35:57 *** ChanServ sets mode: +v chris
17:36:24 <chris> .
17:38:36 <chris> blathijs: I am 100% sure you will disagree but this syntax was removed because it was unused in commited code. code cleanup is an ongoing effort to reduce code size and improve code quality
17:39:05 <chris> that particular syntax is not a schemism at all. may I suggest embedding the macro in your eguile report if you wish to use it?
17:39:14 <chris> it's a pythonism
17:40:43 <chris> it is much safer to define custom macros in your own reports than to rely on the gnucash exported code base
17:48:27 <chris> there is too much unused legacy code in gnucash; I do not think it is useful to keep them around
17:52:48 <chris> while I'd agree that your for syntax is a cleaner for-loop, I'd disagree that it's a safe macro... custom code should have a namespace gnc:foo to avoid conflict with future guile syntax
17:53:38 <chris> perhaps an RFE to guile instead?
17:59:19 *** Gerd has quit IRC
18:06:53 *** User__ has quit IRC
18:08:20 *** kael has quit IRC
18:20:46 *** chris has quit IRC
19:02:04 *** omnireq has quit IRC
19:10:30 *** chf has quit IRC
19:32:12 *** chf has joined #gnucash
19:49:47 *** omnireq has joined #gnucash
20:13:29 *** omnireq_ has joined #gnucash
20:14:41 *** omnireq has quit IRC
20:15:44 *** chris has joined #gnucash
20:15:44 *** ChanServ sets mode: +v chris
20:19:16 *** omnireq_ has quit IRC
20:19:30 *** omnireq_ has joined #gnucash
21:01:59 *** omnireq_ has quit IRC
21:02:05 *** omnireq_ has joined #gnucash
21:03:46 *** Gerd has joined #gnucash
21:23:16 *** omnireq_ has quit IRC
21:23:50 *** omnireq_ has joined #gnucash
21:26:16 *** Gerd has quit IRC
21:44:46 *** omnireq_ has quit IRC
21:44:57 *** omnireq_ has joined #gnucash
21:45:03 *** gggg has joined #gnucash
21:48:12 *** guak has quit IRC
21:50:19 *** Gerd has joined #gnucash
21:56:04 *** ArtGravity has quit IRC
22:13:16 *** Gerd has quit IRC
23:10:01 *** gggg has quit IRC