2019-06-10 GnuCash IRC logs

00:07:36 *** boldstripe has quit IRC
00:08:32 *** boldstripe has joined #gnucash
00:21:18 *** marusich has joined #gnucash
00:21:18 *** ChanServ sets mode: +v marusich
00:29:24 *** ArtGravity has quit IRC
00:31:23 *** marusich has quit IRC
00:33:29 *** Mechtilde has joined #gnucash
00:35:51 *** Mechtilde has quit IRC
00:36:07 *** jervin has joined #gnucash
00:36:20 *** storyjesse has joined #gnucash
00:36:27 *** Mechtilde has joined #gnucash
00:38:10 *** jervin has quit IRC
01:09:05 *** Mechtilde has quit IRC
01:17:09 *** fell has quit IRC
01:17:46 *** O01eg has quit IRC
01:18:29 *** fell has joined #gnucash
01:18:29 *** ChanServ sets mode: +o fell
01:45:00 *** Mechtilde has joined #gnucash
02:01:18 *** phebus has quit IRC
02:02:41 *** Mechtilde has quit IRC
02:08:16 *** boldstripe has quit IRC
02:08:28 *** Mechtilde has joined #gnucash
02:09:12 *** boldstripe has joined #gnucash
02:09:13 *** Mechtilde has quit IRC
02:09:46 *** Mechtilde has joined #gnucash
02:10:09 *** phebus has joined #gnucash
02:10:09 *** ChanServ sets mode: +v phebus
02:31:45 *** puck has quit IRC
02:38:56 *** puck has joined #gnucash
02:42:38 *** Mechtilde has quit IRC
02:49:31 *** Mechtilde has joined #gnucash
03:14:55 *** fabior has joined #gnucash
03:40:32 *** fabior has quit IRC
04:00:37 *** gncbot has joined #gnucash
04:08:57 *** boldstripe has quit IRC
04:09:54 *** boldstripe has joined #gnucash
04:46:03 *** gjanssens has joined #gnucash
04:46:05 *** ChanServ sets mode: +o gjanssens
04:46:15 <gjanssens> .
04:46:15 <gncbot> gjanssens: Sent 1 day, 10 hours, and 7 minutes ago: <jralls> I discovered while testing your travis1604 branch that you're putting some go files into lib/gnucash/scm/ccache/2.2/gnucash/engine/include. Let's not call it that, that name is commonly used for C header files.
04:46:16 <gncbot> gjanssens: Sent 1 day, 10 hours, and 4 minutes ago: <jralls> I also found that your changes have broken `ninja check` unless `ninja` is run first. That actually starts with chris's borrowed/guile-json commit, but building engine-utilities.go fails earlier in HEAD on that branch.
04:46:18 <gncbot> gjanssens: Sent 1 day, 10 hours, and 3 minutes ago: <jralls> The timezone problems didn't reproduce on Debian stable, so I'm setting up an Ubuntu VM to test there.
04:46:19 <gncbot> gjanssens: Sent 1 day, 8 hours, and 49 minutes ago: <jralls> I set up an Ubuntu 16.04 VM and provisioned it (after updating) using the commands from your ubuntu-16.04-docker, then built and tested your travis1604 branch. The emoji tests failed as expected but test-gnc-timezone passed. Hmm, one difference, I used the System Settings to add the deb-src repositories to sources.list and it didn't uncomment every deb-src line.
04:46:20 <gncbot> gjanssens: Sent 1 day, 8 hours, and 43 minutes ago: <jralls> Removing all of the commented deb-src lines gets me a bunch of warnings about duplicates but no new updates.
04:46:22 <gncbot> gjanssens: Sent 1 day, 8 hours, and 5 minutes ago: <jralls> As for Windows, I found I did in fact have libgnc-gnome.dll on the install path, once I deleted that gnucash builds cleanly. I've run pacman -Syuu on the build vm until it's clean, we'll see what happens with tomorrow's builds.
04:46:23 <gncbot> gjanssens: Sent 1 day, 7 hours, and 54 minutes ago: <jralls> As for Windows, I found I did in fact have libgnc-gnome.dll on the install path, once I deleted that gnucash builds cleanly. I've run pacman -Syuu on the build vm until it's clean, we'll see what happens with tomorrow's builds.
04:46:23 *** gjanssens sets mode: +o gncbot
04:46:24 <gncbot> gjanssens: Sent 1 day, 5 hours, and 59 minutes ago: <chris> I'll supercharge test-graphing.scm to demonstrate most exposed chartjs functionality, and a couple others to demonstrate how to modify arbitrary chartjs options tree... and numerous comments too
04:46:25 <gncbot> gjanssens: Sent 1 day, 5 hours, and 52 minutes ago: <chris> jcowan says guile macros are not first class, so, cannot call old one
04:46:25 <gjanssens> .
04:46:26 <gncbot> gjanssens: Sent 1 day, 5 hours, and 45 minutes ago: <chris> the solution is to copy defition of use-modules from guile sources and augment it. (I'd vote to skip this to avoid clutter...)
04:46:27 <gncbot> gjanssens: Sent 12 hours and 23 minutes ago: <jralls> I've fixed the test failure in test-html-utilities-srfi64 with guile-2.0.13 and merged maint into master. I've rebased your branch onto master and fixed one other test failure (you forgot to remove tests when you removed deprecated functions). I don't think a PR will work because of the rebase but I can force-push to your repo if you want.
05:01:16 *** Mechtilde has quit IRC
05:21:09 *** fabior has joined #gnucash
05:52:23 <chris> gjanssens: there's a way to (define-syntax use-modules) which can still access old macro (use-modules (srfi srif-1)) == ((@ (guile) use-modules) (srfi srfi-1)) but this requires some macro-fu that may be slightly outside my knowledge right now
05:53:34 *** Mechtilde has joined #gnucash
05:54:52 <gjanssens> chris: thanks. I'll experiment with that a bit and see what happens.
06:02:48 <chris> ok my limited knowledge of macros: (define-macro ...) is unhygienic. (define-syntax xxx (syntax-rules ...)) is the easy version, (define-syntax xxx (lambda (x) (syntax-case ...))) is mind-boggling...
06:09:37 *** boldstripe has quit IRC
06:10:32 *** boldstripe has joined #gnucash
06:31:49 *** Jimraehl1 has joined #gnucash
06:32:44 *** Jimraehl1 has left #gnucash
06:42:39 *** le_gaucher has joined #gnucash
06:42:45 <gjanssens> jralls: I have rebased locally on your work and force-pushed my branch. Then I created PR #519 you can push your fix to.
06:42:53 *** le_gaucher has left #gnucash
06:43:25 <gjanssens> So in a full VM it works, while it fails on a docker instance :(
06:43:37 <gjanssens> The timezone test I mean
06:43:45 <gjanssens> I'll see if I can investigate further.
06:55:04 <gjanssens> chris: looking at the define-syntax stuff, it may be over my head as well
06:55:41 <gjanssens> We're typically using (use-modules (name)), but use-modules can have a much more elaborate form
06:56:14 <gjanssens> I'm not very confident I will be able to write a generic enough syntax pattern to catch them all
07:00:10 <gjanssens> chris: another question - do you know of a function in guile that does something similar to
07:00:17 <gjanssens> python3 -c "from distutils import sysconfig; print(sysconfig.get_python_lib(prefix='/home/janssege/test', plat_specific=True))"
07:00:54 <gjanssens> This function returns the path where to install python modules, relative to the prefix installation prefix.
07:01:55 <gjanssens> I'm looking for something similar to find the %load-path and %load-compiled-path, yet transformed to be based on top of a given prefix
07:07:36 <gjanssens> Hmm %load-path is not exactly it. I'm looking for where to install site packages for guile. The default %load-path contains such a directory.
07:08:44 <gjanssens> However as we can install in a custom location I'd need a transformed version of that directory and I don't know if this is the same on all platforms.
07:08:58 <gjanssens> So I'd rather query guile itself for it like is possible on python.
07:43:17 *** jervin has joined #gnucash
07:47:06 *** jervin has quit IRC
08:03:19 *** oozer has joined #gnucash
08:10:17 *** boldstripe has quit IRC
08:11:17 *** boldstripe has joined #gnucash
08:32:16 *** oozer has quit IRC
08:35:41 *** bertbob has quit IRC
08:37:46 *** bertbob has joined #gnucash
08:37:47 *** ChanServ sets mode: +v bertbob
08:44:29 *** jervin has joined #gnucash
08:49:30 *** fabior has quit IRC
09:03:30 *** jervin has quit IRC
09:04:30 <gjanssens> jralls: found the timezone issue in docker - I need to explicitly install the tzdata package
09:08:40 <chris> gjanssens you're looking for a function that returns the "/usr/share/guile/site/2.2" in my %load-path ("/usr/share/guile/2.2" "/usr/share/guile/site/2.2" "/usr/share/guile/site" "/usr/share/guile") ??
09:10:17 <chris> there's the function (%site-dir)
09:12:05 <gjanssens> chris: nice
09:12:18 *** oozer has joined #gnucash
09:12:54 <chris> digging through guile-sources is also fun
09:13:10 <chris> it gets it from sitedir="$pkgdatadir/site/$GUILE_EFFECTIVE_VERSION" in configure.ac
09:13:11 <gjanssens> Does it have an equivalent to get where the compiled files should go ?
09:13:19 *** fabior has joined #gnucash
09:13:45 <chris> (%site-ccache-dir) i think
09:14:27 <gjanssens> Right that's the one
09:14:43 <chris> https://www.gnu.org/software/guile/manual/html_node/Build-Config.html has all
09:15:04 <gjanssens> I did also find that 'guile-config info sitedir' gives the same info
09:15:16 * chris not sure what it returns in Windows
09:15:31 <gjanssens> And 'guile-config info 'sideccachedir' returns %site-ccache-dir
09:17:48 <gjanssens> But that one one works for guile 2.2, not guile 2.0
09:18:11 <gjanssens> (%guile-ccache-dir) on the other hand works for both versions so that should do it
09:18:25 <gjanssens> I believe I can work from there. Thanks for the pointers
09:18:35 <chris> NP
09:31:41 *** kael has joined #gnucash
09:31:41 *** ChanServ sets mode: +v kael
09:33:31 *** fell has quit IRC
09:54:47 <gjanssens> jralls: I see the report-utilities test failure fix is trivial so I have added it in my branch (force pushed). If you have other fixes, feel free to add them to the PR
10:01:33 *** CDB-Man_ has joined #gnucash
10:01:33 *** ChanServ sets mode: +v CDB-Man_
10:03:32 *** CDB-Man has quit IRC
10:04:00 *** tienne has joined #gnucash
10:12:33 *** CDB-Man has joined #gnucash
10:12:33 *** ChanServ sets mode: +v CDB-Man
10:15:00 *** CDB-Man_ has quit IRC
10:15:53 *** fell has joined #gnucash
10:15:53 *** ChanServ sets mode: +o fell
10:32:52 *** GabrieleV has quit IRC
10:33:32 *** jervin has joined #gnucash
10:35:04 *** GabrieleV has joined #gnucash
10:46:30 *** CDB-Man has quit IRC
10:47:44 *** CDB-Man has joined #gnucash
10:47:44 *** ChanServ sets mode: +v CDB-Man
11:00:21 *** CDB-Man_ has joined #gnucash
11:00:21 *** ChanServ sets mode: +v CDB-Man_
11:01:00 *** boldstripe_ has joined #gnucash
11:01:09 *** boldstripe has quit IRC
11:01:10 *** boldstripe_ is now known as boldstripe
11:01:20 *** CDB-Away_ has joined #gnucash
11:01:20 *** ChanServ sets mode: +v CDB-Away_
11:01:44 *** CDB-Away__ has joined #gnucash
11:02:41 *** CDB-Man has quit IRC
11:03:46 *** CDB-Man_ has quit IRC
11:03:57 *** warlord has joined #gnucash
11:03:57 *** gncbot sets mode: +o warlord
11:04:20 *** CDB-Away_ has quit IRC
11:07:02 *** jervin has quit IRC
11:07:12 *** CDB-Away__ has quit IRC
11:08:03 *** CDB-Man has joined #gnucash
11:08:06 *** ChanServ sets mode: +v CDB-Man
11:33:40 *** guak has joined #gnucash
11:47:24 *** jervin has joined #gnucash
11:55:49 *** O01eg has joined #gnucash
11:57:49 *** jervin has quit IRC
11:58:39 *** jervin has joined #gnucash
12:05:48 *** warlord has quit IRC
12:05:57 *** warlord has joined #gnucash
12:05:57 *** gncbot sets mode: +o warlord
12:16:31 *** storyjesse has quit IRC
12:16:59 <jralls> gjanssens: No, the test-Ereport-utilities fix was as far as I went, as that got all test passing.
12:19:05 <jralls> Somehow github isn't seeing that travis finished the checks on your PR.
12:20:24 <jralls> On the Windows front, the scheduled build task didn't run last night, apparently because builder wasn't logged in. I didn't see any reboots in the event log, not sure what's up with that.
12:31:00 *** ArtGravity has joined #gnucash
12:31:00 *** ChanServ sets mode: +v ArtGravity
12:52:25 *** jervin has joined #gnucash
12:56:36 *** tienne has quit IRC
13:16:52 *** fabior has quit IRC
13:21:41 <warlord> .
13:36:04 *** jervin has quit IRC
13:39:06 *** kael has quit IRC
13:39:09 *** fell has quit IRC
13:40:31 *** warlord has quit IRC
13:41:46 *** fell has joined #gnucash
13:41:49 *** ChanServ sets mode: +o fell
14:04:46 *** boldstripe_ has joined #gnucash
14:06:23 *** boldstripe has quit IRC
14:06:23 *** boldstripe_ is now known as boldstripe
14:20:03 *** guak has quit IRC
14:21:27 *** guak has joined #gnucash
14:28:08 *** warlord has joined #gnucash
14:28:08 *** gncbot sets mode: +o warlord
14:58:48 *** kael has joined #gnucash
14:58:48 *** ChanServ sets mode: +v kael
16:09:52 *** boldstripe has quit IRC
16:33:51 *** tienne has joined #gnucash
16:48:18 *** gjanssens has quit IRC
16:53:20 *** boldstripe has joined #gnucash
17:36:39 *** User_ has joined #gnucash
18:29:47 *** warlord has quit IRC
18:58:32 *** boldstripe has quit IRC
19:07:33 *** jervin has joined #gnucash
19:09:55 *** kael has quit IRC
19:32:13 *** jonas_ has joined #gnucash
19:34:26 *** jonas has quit IRC
20:16:27 *** tienne has quit IRC
20:25:27 *** guak has quit IRC
20:26:20 *** warlord has joined #gnucash
20:26:21 *** gncbot sets mode: +o warlord
20:40:43 *** ArtGravity has quit IRC
20:46:28 *** jervin has quit IRC
21:43:23 *** Dan613 has joined #gnucash
21:44:22 *** oozer has quit IRC
21:44:51 *** ChanServ sets mode: +v Dan613
21:52:42 *** marusich has joined #gnucash
21:52:42 *** ChanServ sets mode: +v marusich
21:56:36 *** Dan613 has quit IRC
22:05:32 *** marusich has quit IRC
22:46:49 *** storyjesse has joined #gnucash
22:52:47 *** fell has quit IRC
23:18:21 *** ArtGravity has joined #gnucash
23:18:21 *** ChanServ sets mode: +v ArtGravity