2018-04-23 GnuCash IRC logs

00:12:38 *** O01eg has joined #gnucash
00:36:42 *** Cuare has joined #gnucash
00:41:52 *** Mechtilde has joined #gnucash
01:28:28 *** fell has quit IRC
01:29:38 *** fell has joined #gnucash
01:57:11 *** Mechtilde has quit IRC
01:57:32 *** Mechtilde has joined #gnucash
02:10:09 *** Mechtilde has quit IRC
02:18:35 *** gour has joined #gnucash
02:30:05 *** gjanssens has joined #gnucash
02:30:05 *** ChanServ sets mode: +o gjanssens
02:30:27 <gjanssens> .
02:30:27 <gncbot> gjanssens: Sent 8 hours and 35 minutes ago: <jralls> The swig fix fixes all of the remaining errors for 795134: expressions-2.0 and stylesheets-2.0 are where they belong.
02:30:28 <gncbot> gjanssens: Sent 7 hours and 46 minutes ago: <jralls> Unfortunately copying guile_scm_run.swg to common (already on the include list) doesn't get it called. It's not %included anywhere so that paragraph in the docs apparently doesn't apply.
02:30:29 <gncbot> gjanssens: Sent 7 hours and 21 minutes ago: <jralls> But undeffing scm_to_utf8_string and scm_from_utf8_string in guile-mappings.h does.
02:33:48 <gjanssens> @tell jralls Clever hacking! Glad that fixed it.
02:33:48 <gncbot> gjanssens: The operation succeeded.
02:36:52 *** jotrago1 has quit IRC
02:43:03 *** fekepp has quit IRC
02:58:11 *** fabior has joined #gnucash
04:01:51 *** fekepp has joined #gnucash
04:06:10 *** harshitaneja has joined #gnucash
04:21:35 *** bertbob has quit IRC
04:23:33 *** bertbob has joined #gnucash
04:26:48 *** bertbob has quit IRC
04:40:36 *** surrlim has joined #gnucash
04:41:28 *** bertbob has joined #gnucash
04:44:48 *** bertbob has quit IRC
04:46:57 *** gour_ has joined #gnucash
04:48:58 *** gour has quit IRC
04:54:01 <surrlim> first of all, thanks to all the developers for gnucash. awesome software and gets things done. lately my mannager wanted to list the the amount due to the customer to this date in the invoice. for example
04:56:03 <surrlim> if a customer buys for 100$ in 1/3/2018 and pays in 15/3 a 75$ and today orders for a 200$ she wants the invoice to list the items and the total of the invoice as usual but also to list 25$ under it
04:58:00 *** ncv__ has joined #gnucash
05:00:53 *** bertbob has joined #gnucash
05:06:23 *** jotrago1 has joined #gnucash
05:17:33 *** fekepp1 has joined #gnucash
05:17:49 *** fekepp has quit IRC
05:17:50 *** fekepp1 is now known as fekepp
05:20:57 *** fekepp has quit IRC
05:26:11 *** thardin_ is now known as tms
05:45:32 *** fekepp has joined #gnucash
06:08:01 *** fekepp has quit IRC
06:25:07 *** gour_ is now known as gour
06:36:24 *** gncbot sets mode: +o fell
06:43:03 *** ArtGravity has quit IRC
06:49:10 *** pilotauto has quit IRC
06:52:47 <chris> gour: I find fixnum very similar to others, and was incredibly impressed with the SICP videos from Sussman & Abelson
06:53:45 <chris> surrlim: https://www.gnucash.org/docs/v3/C/gnucash-help/busnss-ar-payment1.html#busnss-ar-overpay2
06:57:07 <gour> chris: just watching this one: https://www.youtube.com/watch?v=uwiaT3MoDVs and wonder whether guile could be used as 'general purpose' language over e.g. racket
07:00:50 *** fabior has quit IRC
07:01:53 *** jotrago1 has quit IRC
07:19:24 *** surrlim has quit IRC
07:20:33 <chris> surrlim: sorry didn't read your question carefully. don't think such report exists
07:21:16 <chris> gour: I think it can... but guile and racket teams are very different; guile attracts OSS coders with various interests whereas Racket seems to be a tight bunch of academics
07:24:26 <gour> chris: i've to check what is guile offering for (multi-platform) gui
07:25:46 <chris> gour: never explored gui building with guile :)
07:33:08 *** oozer has joined #gnucash
07:53:14 *** Mechtilde has joined #gnucash
08:08:12 *** Mechtilde has quit IRC
08:24:48 *** fabior has joined #gnucash
08:26:42 *** boldstripe has joined #gnucash
08:32:29 <warlord> .
08:42:31 *** warlord has quit IRC
09:10:22 *** jotrago1 has joined #gnucash
09:11:07 *** Mechtilde has joined #gnucash
09:12:33 *** kael has joined #gnucash
09:20:40 *** boldstripe has quit IRC
09:23:34 *** boldstripe has joined #gnucash
09:32:58 *** Mechtilde has quit IRC
09:40:44 *** fekepp has joined #gnucash
09:43:54 *** fekepp has quit IRC
09:44:44 *** kael has quit IRC
09:53:34 *** kael has joined #gnucash
10:01:24 *** fekepp has joined #gnucash
10:04:33 *** fekepp has quit IRC
10:05:10 *** warlord has joined #gnucash
10:45:39 *** harshitaneja has quit IRC
10:46:16 *** harshitaneja has joined #gnucash
10:50:06 *** harshitaneja has quit IRC
10:50:45 *** harshitaneja has joined #gnucash
11:00:38 *** kael has quit IRC
11:01:26 *** kael has joined #gnucash
11:04:17 *** boldstripe_ has joined #gnucash
11:04:26 *** boldstripe has quit IRC
11:04:29 *** boldstripe_ is now known as boldstripe
11:39:40 *** chris has quit IRC
11:41:39 *** chris has joined #gnucash
11:49:40 *** kael has quit IRC
11:53:45 <jralls> .
11:53:45 <gncbot> jralls: Sent 9 hours and 19 minutes ago: <gjanssens> Clever hacking! Glad that fixed it.
11:55:39 *** kael has joined #gnucash
12:14:25 *** fabior has quit IRC
12:15:45 *** Mechtilde has joined #gnucash
12:19:08 *** Mechtilde has quit IRC
12:21:03 *** boldstripe_ has joined #gnucash
12:21:09 *** boldstripe has quit IRC
12:21:15 *** boldstripe_ is now known as boldstripe
12:22:23 *** boldstripe has quit IRC
12:22:53 *** boldstripe has joined #gnucash
12:29:20 *** fabior has joined #gnucash
12:36:37 *** boldstripe has quit IRC
12:37:40 *** boldstripe has joined #gnucash
12:42:29 *** matthewlemay has joined #gnucash
12:43:31 *** matthewlemay has left #gnucash
12:49:58 <gjanssens> Hmm, looks like the updated webkit didn't make it in the mingw64 repository yet...
12:50:40 <gjanssens> My build still fails on while trying to build qif-import.scm
12:50:53 <gjanssens> Claiming it can't fine libgnc-gnome.dll
12:51:10 <gjanssens> That library is there (in maint/builds/gnucash-git/bin)
12:51:45 <gjanssens> Running dependency walker on it reveals the linked webkitgtk is still linked to ICU 58
12:52:03 <gjanssens> Time to downgrade the deps once more...
12:58:12 *** boldstripe has quit IRC
12:58:45 *** boldstripe has joined #gnucash
12:59:46 *** oozer has quit IRC
13:15:50 <jralls> gjanssens: Did you try pacman -Syuu?
13:16:18 <gjanssens> jralls: no I just reran setup-mingw64.ps1
13:16:32 <gjanssens> I thought that would also be sufficient ?
13:16:50 <jralls> It does run that command, so it should be.
13:16:55 *** MPL has joined #gnucash
13:17:26 <gjanssens> I don't care that much which versions of the dependencies I have installed at this point.
13:17:39 <gjanssens> I just won't to get the damn thing to pass :(
13:17:59 <jralls> Indeed, pacman -Si still shows the old webkitgtk3 package. I was premature.
13:18:11 <gjanssens> Don't we love windows ;)
13:18:45 <gjanssens> But enough ranting. I'm in the process of downgrading boost again (after downgrading icu)
13:19:12 <gjanssens> I'm doing them one by one so I can follow exactly what fails when
13:19:16 <jralls> GTG, but I've got the arch half of the travis fail fixed locally, just need to switch to boost::locale from codecvt to fix ubuntu-14.04.
13:19:24 *** jralls is now known as jralls_afk
13:19:39 *** Mechtilde has joined #gnucash
13:20:04 <gjanssens> Oh right. ubuntu-14.04 is too old to have codecvt
13:25:56 *** ncv__ has quit IRC
13:37:21 *** oozer has joined #gnucash
13:38:34 *** fabior has quit IRC
13:45:16 *** oozer has quit IRC
14:02:03 <gjanssens> Ok, got passed the build. Now on to the real work...
14:02:18 <gjanssens> Later though. GTG now
14:02:22 *** gjanssens is now known as gjanssens_afk
14:24:54 *** frakturfreak has joined #gnucash
14:29:00 *** oozer has joined #gnucash
14:31:05 *** MPL has quit IRC
14:47:52 *** harshitaneja has quit IRC
14:57:22 *** kael has quit IRC
15:10:58 *** kael has joined #gnucash
15:21:39 *** fekepp has joined #gnucash
15:26:05 *** Aelius has quit IRC
15:26:24 *** vxp has quit IRC
15:27:46 *** fabior has joined #gnucash
16:03:56 *** kael has quit IRC
16:04:14 *** MPL has joined #gnucash
16:05:59 *** gour has quit IRC
16:07:21 *** MPL has quit IRC
16:07:46 *** MPL has joined #gnucash
16:10:08 *** bertbob has quit IRC
16:12:40 *** bertbob has joined #gnucash
16:16:03 *** Mechtilde has quit IRC
16:27:45 *** kael has joined #gnucash
16:29:03 *** frakturfreak has quit IRC
16:31:51 *** thoth has joined #gnucash
16:32:23 <thoth> How can I examine the reconciliation date of a transaction? It's not a column in the register, and I can't find a preference where I could add it to the display.
16:45:47 *** jralls_afk is now known as jralls
16:52:50 *** Agfarmer18 has joined #gnucash
16:53:40 *** boldstripe has quit IRC
16:54:13 *** boldstripe has joined #gnucash
16:56:58 *** boldstripe has quit IRC
16:57:54 *** boldstripe has joined #gnucash
17:03:42 *** Agfarmer18 has quit IRC
17:03:51 *** Agfarmer18 has joined #gnucash
17:09:58 *** fabior has quit IRC
17:11:49 <jralls> thoth: I don't think it's exposed to the GUI at all.
17:13:23 <jralls> thoth: But it *is* optionally exposed in the Transaction Report for GnuCash 3.0.
17:16:34 <jralls> chris: The substitution characters show up in the html, and it works OK on Mac so there's some locale object getting in the way somewhere on Windows.
17:17:09 <jralls> chris: Do you know offhand where the account names get passed in as series labels?
17:20:27 *** Agfarmer18 has quit IRC
17:27:58 *** linuturk has joined #gnucash
17:30:38 <thoth> jralls: I was able to create a transaction report that included the reconciliation date.
17:30:54 *** gjanssens_afk is now known as gjanssens
17:31:12 <gjanssens> thoth: the other place where the reconciliation date is visible is in the account hierarchy,
17:31:38 <gjanssens> But there it's only visible as a last-reconcile-date (an optional column)
17:41:23 <gjanssens> jralls: the account names get passed in gnucash/report/standard-reports/category-barchart.scm:627
17:42:21 <jralls> gjanssens: Yeah, just found that. That's where they go into Scheme; where do they get turned into html?
17:42:33 <gjanssens> This goess into gnucash/report/report-system/html-barchart.scm as col-labels
17:43:50 <gjanssens> line 352 concatenates all account names as strings and does some html escaping. I'm still looking what exactly that means
17:44:45 <gjanssens> And line 426 is where it actually gets written into html
17:45:39 <jralls> Right. So catenate-escaped-strings should be the place where the SCM gets turned into an html string.
17:46:16 <gjanssens> It's defined in line 306
17:46:34 <jralls> It looks like it's using (display escaped) to render the output.
17:47:11 <gjanssens> It does and escaped is the account name with backslashes escaped
17:47:39 <jralls> Which isn't enough, it also needs to escape < and &.
17:48:05 <jralls> We're just lucky nobody's used either in an account name.
17:48:24 <gjanssens> Actually I once did that experiment and it's not causing any issues
17:48:34 <gjanssens> So I don't know what the escape action really is for
17:48:55 <gjanssens> I think it's rather to make javascript compatible strings
17:49:13 <gjanssens> Not html compatible ones
17:49:33 <gjanssens> The javascript will take care of that
17:50:05 <jralls> Ah, could be.
17:50:18 <gjanssens> So I should have said "And line 426 is where it actually gets included in the javascript code"
17:50:31 <gjanssens> The javascript code will eventually output html.
17:52:12 <jralls> Uh, sort of. The paramaters to the javascript functions are contained in the report's html; in particular there's a call to series.push with the account label. It appears to be converting to latin1.
17:52:33 <gjanssens> Well, my local build ran to completion, but gnucash won't start (libwinpthread-1.dll not found
17:53:07 <gjanssens> Do I need to create a bundle and install that or is something else missing ?
17:53:48 <gjanssens> So the account names are already in latin1 in the javascript text ?
17:55:10 <jralls> You need /mingw32/bin in $PATH. Running in a jhbuild shell should set all of that up for you.
17:55:20 <gjanssens> The problem is probably the call to "with-output-to-string" in catenate-escaped-strings
17:55:23 <gjanssens> https://www.gnu.org/software/guile/manual/html_node/String-Ports.html
17:55:45 <gjanssens> At the bottom of that page is a note about special encoding handling of string ports
17:57:21 <gjanssens> Meh, won't start, not even from a jhbuild shell. Exits immediatly with exit code 3
17:57:49 <gjanssens> And /mingw32/bin is in the path at that point
17:57:49 <jralls> gdb to the rescue... You may have to break on exit.
17:57:57 <gjanssens> Right...
17:58:53 <jralls> BTW, gdb works better when run from powershell than from the msys shell, but for that to work you do need to either bundle and install or replicate the environment created by jhbuild shell.
17:59:30 <gjanssens> Ok
17:59:30 *** thoth has quit IRC
18:00:20 <gjanssens> And maybe my suggestion about the string port is wrong. The note suggests you typically *don't* have to change the encoding...
18:00:52 <gjanssens> Bedtime again.
18:01:08 <gjanssens> More later.
18:01:10 <gjanssens> Night!
18:01:14 <jralls> Amazing how that sneaks up on you. Good Night!
18:01:31 <gjanssens> :D
18:01:54 *** badger92 has quit IRC
18:03:36 *** gjanssens has quit IRC
18:16:19 *** MPL has quit IRC
18:20:54 *** MPL has joined #gnucash
18:27:22 *** MPL has quit IRC
18:28:22 <chris> jralls aha
18:28:26 <chris> I fixed the series albel
18:29:49 <chris> in html-barchart.scm line 376, change: (jqplot-escape-string label) ---> label
18:30:42 <chris> this is using win32 nightly from 23/4/18
18:30:42 *** MPL has joined #gnucash
18:31:38 *** badger92 has joined #gnucash
18:32:11 <chris> https://imgur.com/5KxMjRS
18:35:00 <chris> chartjs PR will strip all these escaping functions... i don't know the implications; I'm guessing the json encoder will take care of escaping
18:36:42 *** pilotauto has joined #gnucash
18:37:23 *** kael has quit IRC
18:37:39 *** ArtGravity has joined #gnucash
18:52:50 *** ptoal has joined #gnucash
18:53:34 *** Cork has quit IRC
18:54:09 <ptoal> G'day. Just installed GnuCash 3.0-1 on my Mac, and importing an ofx file results in an empty "Generic import transaction matcher"
18:56:41 *** Cork has joined #gnucash
18:59:40 <chris> jralls: https://imgur.com/5KxMjRS
19:00:09 <chris> ptoal: this is a known bug likely https://bugzilla.gnome.org/show_bug.cgi?id=793461
19:00:21 <ptoal> Yes. Just found this by searching the mailing list.
19:00:27 <ptoal> Reading report now.
19:05:31 <chris> jralls just run on ubuntu - looks like chartjs+guile-json will send the strings correctly
19:06:12 <ptoal> Hm... That didn't help.
19:07:04 <chris> jralls my chartjs build on ubuntu. https://imgur.com/a/bJShWuy
19:07:35 <chris> i'd hope chartjs+guile-json will still work well on windows
19:08:17 <chris> gtg now
19:13:00 *** chris has quit IRC
19:17:17 *** chris has joined #gnucash
19:35:16 <ptoal> Welp... Guess I'm going back to 2.6
19:36:18 <ptoal> I'll have to troubleshoot that issue when I have more time
19:48:58 <ptoal> Hm... Do Trading Accounts exist in 2.6?
19:50:08 *** j605 has left #gnucash
19:50:52 *** j605 has joined #gnucash
19:51:14 <ptoal> Ah. Found the menu. n/m
19:52:28 <jralls> ptoa1: Did you restart GnuCash after editing the environment file?
19:55:23 <jralls> chris: Did you check https://bugzilla.gnome.org/show_bug.cgi?id=721768 and test to make sure that it doesn't resurface?
19:57:10 <ptoal> jralls: Yes. I did.
19:57:19 *** kael has joined #gnucash
19:58:30 <jralls> OK. There's 20 more calls to it... maybe we should see what it does.
20:00:32 <jralls> Hmm. It just escapes \, &, <, and >. That shouldn't be affecting the non-latin1 strings unless regexp-substitute doesn't like Unicode.
20:01:45 <jralls> Aha: "Internally, patterns and input strings are converted to the current locale’s encoding" (from https://www.gnu.org/software/guile/manual/html_node/Regexp-Functions.html).
20:04:08 *** chris_M has joined #gnucash
20:04:12 <jralls> GTG, but you did find the problem. Yay.
20:04:59 *** chris_M has left #gnucash
20:18:19 *** MPL has quit IRC
20:19:27 *** MPL has joined #gnucash
20:44:13 *** kael has quit IRC
20:46:22 *** MPL has quit IRC
20:55:09 *** MPL has joined #gnucash
20:56:06 *** ArtGravity has quit IRC
21:07:04 *** Squibbit has joined #gnucash
21:42:00 *** kael has joined #gnucash
21:44:04 *** kkknewton has joined #gnucash
21:52:40 <kkknewton> Can you operate this program from two different sites at two different times or operate this program from two different sites at the same time?
22:00:11 *** oozer has quit IRC
22:17:24 *** kael has quit IRC
22:20:49 *** kael has joined #gnucash
22:27:15 *** ptoal1 has joined #gnucash
22:28:29 *** ptoal has quit IRC
22:40:03 *** MPL has quit IRC
22:58:37 *** MPL has joined #gnucash
23:03:47 *** marusich has joined #gnucash
23:07:21 *** Squibbit has quit IRC
23:36:29 *** boldstripe has quit IRC
23:44:53 *** MPL has quit IRC
23:45:28 *** MPL has joined #gnucash
23:57:55 *** MPL has quit IRC