2017-09-16 GnuCash IRC logs

00:13:00 *** cyphase has quit IRC
00:18:32 *** storyjesse has quit IRC
00:18:37 *** storyjesse1 has joined #gnucash
00:21:02 *** storyjesse1 is now known as storyjesse
00:31:13 *** cyphase has joined #gnucash
00:54:51 *** storyjesse has quit IRC
01:14:59 *** pilotauto has quit IRC
01:24:45 *** storyjesse has joined #gnucash
01:28:33 *** fell has quit IRC
01:29:17 *** fell has joined #gnucash
01:33:38 *** Mechtilde has joined #gnucash
01:38:52 *** fiddlerwoaroof has joined #gnucash
01:43:19 *** Cuare has quit IRC
02:28:57 *** Mechtilde has quit IRC
02:33:21 *** Mechtilde has joined #gnucash
02:40:31 *** Mechtilde has quit IRC
02:42:49 *** storyjesse has quit IRC
03:01:09 *** mreich has quit IRC
03:04:27 *** hoijui has joined #gnucash
03:20:20 *** gjanssens has joined #gnucash
03:20:21 *** ChanServ sets mode: +o gjanssens
03:20:26 <gjanssens> .
03:33:17 *** christopherlam has joined #gnucash
03:42:09 <christopherlam> gjanssens: whitespace? line transaction.scm line 302?
03:53:11 *** jotrago has quit IRC
03:56:41 *** fabior has joined #gnucash
03:56:43 *** storyjesse has joined #gnucash
04:01:09 <christopherlam> gjanssens: *finally* got it
04:01:17 <gjanssens> christopherlam: line 302 is just an empty line in my file
04:01:31 <gjanssens> I was more thinking of line 847 and similar
04:03:28 <gjanssens> In addition to several empty lines with whitespace there is also trailing whitespace after your sort keys "j1" and "j2" and at the end of several lines in function apply-selectable-by-name-display-options
04:05:04 *** storyjesse has quit IRC
04:10:57 <christopherlam> I think 53fbc6f looks clean now
04:13:36 *** storyjesse has joined #gnucash
04:14:37 *** hoijui has quit IRC
04:21:04 <gjanssens> christopherlam: it does and so I merged it. Thanks!
04:21:19 <christopherlam> this was trial by fire
04:21:56 <christopherlam> onward to the next
04:22:39 <gjanssens> christopherlam: ISTR you once started on a branch to track Doug's work on an improved transaction report. Do you plan to pursue that ?
04:23:00 <gjanssens> It would be nice to get his work into gnucash as well IMO. Several users seem to appreciate his reports.
04:25:20 <gjanssens> christopherlam: note the whitespace remark also goes for PR#202 :)
04:26:49 <christopherlam> Well, bearing in mind that: (1) until Doug came along I had completely given up on Scheme, and I corresponded with him to ask for a multicolumn report and to fix numerous currency bugs. (2) At that time I had no understanding of scheme at all (3) He inspired me to watch SICP and learn Racket (4) Looking back at his work, I now think they are rather bloated with occasionally confusing UI, (5)...
04:26:51 <christopherlam> ...I think they could be released but would need a lot of polish
04:28:00 <christopherlam> they are all in https://github.com/christopherlam/gnucash-multicolumn and will need *lots* of refining (and updating from the recent .scm merges)
04:28:51 <christopherlam> moreover they all use gnctimeperiod-utilities.scm and I'm not sure how to add onto standard-reports. ISTR it was extremely crashy on Win10 which we both use
04:29:28 *** storyjesse has quit IRC
04:29:47 <gjanssens> christopherlam: thanks for your expert analysis. I never got around to look into those reports in detail myself.
04:30:13 <gjanssens> I wasn't aware gnctimeperiod-utilites.scm was crashy on Windows 10
04:30:43 <christopherlam> well may not quite, but we weren't sure which folder to put it in, and I can't remember the latest experiment results
04:32:55 *** storyjesse has joined #gnucash
04:33:13 <gjanssens> As was suggested on the list the gnctimeperiod-utilties.scm could be merged into libgnucash/app-utils/date-utilities.scm
04:33:31 <gjanssens> That would solve the location of the file.
04:33:31 *** Mechtilde has joined #gnucash
04:34:03 <gjanssens> However I agree we should consider whether the cleanup effort is worth it for the reports as a whole
04:34:25 * gjanssens has to go
04:34:30 *** gjanssens is now known as gjanssens_afk
04:39:53 *** alfa has joined #gnucash
04:40:56 *** christopherlam has quit IRC
04:46:16 <alfa> hello, I've seen that in the main account page, I can add the column Total (USD)
04:46:36 <alfa> I'm an Italian user, and I would like having a column like Total (EUR): is it possible to do that?
04:47:38 <alfa> in the preferences I set the default currency to EUR
05:11:39 *** storyjesse1 has joined #gnucash
05:12:12 *** storyjesse has quit IRC
05:12:12 *** storyjesse1 is now known as storyjesse
05:13:01 *** hoijui has joined #gnucash
05:17:14 *** kael has joined #gnucash
05:23:48 *** kael has quit IRC
05:24:24 *** Mechtilde has quit IRC
05:24:44 *** Mechtilde has joined #gnucash
05:36:51 *** Mechtilde has quit IRC
05:43:10 *** fabior has quit IRC
05:43:36 *** christopherlam has joined #gnucash
05:44:09 <christopherlam> alfa: interesting - you choose the currency via Edit / Preferences / Reports / Default Report Currency
05:45:51 <alfa> christopherlam, thank you very much, I did not see that; I changed the default currency in Edit / Preferences / Account / Default currency
05:46:05 <alfa> now it works as expected, thank you
05:46:27 <christopherlam> prego
05:47:13 *** christopherlam is now known as christopherlam_afk
05:48:40 *** alfa has left #gnucash
05:49:41 *** Mechtilde has joined #gnucash
05:53:53 *** Mechtilde has quit IRC
05:56:50 *** Mechtilde has joined #gnucash
06:02:39 *** christopherlam_afk has quit IRC
06:05:49 *** fabior has joined #gnucash
06:08:10 *** fabior has quit IRC
06:09:13 *** fabior has joined #gnucash
06:22:47 *** Mechtilde has quit IRC
06:34:39 *** fabior has quit IRC
06:45:19 *** Mechtilde has joined #gnucash
06:51:04 *** Mechtilde has quit IRC
06:54:55 *** storyjesse has quit IRC
06:58:38 *** User has joined #gnucash
07:03:08 *** Mechtilde has joined #gnucash
07:06:19 *** Mechtilde has quit IRC
07:23:43 *** Mechtilde has joined #gnucash
07:26:59 *** Mechtilde has quit IRC
07:48:10 *** Mechtilde has joined #gnucash
08:03:09 *** gjanssens_afk is now known as gjanssens
08:05:01 *** Mechtilde has quit IRC
08:21:24 *** Mechtilde has joined #gnucash
08:24:34 *** Mechtilde has quit IRC
08:32:15 *** hoijui has quit IRC
08:33:44 *** Mechtilde has joined #gnucash
08:45:33 *** gncbot sets mode: +o fell
08:56:49 *** fbruetting has joined #gnucash
09:16:31 <fell> @tell christopherlam People like alfa should usually set LANG correctly, else they might run in other issues.
09:16:31 <gncbot> fell: The operation succeeded.
09:25:05 *** Jimraehl1 has joined #gnucash
09:25:23 *** Jimraehl1 has quit IRC
09:29:09 *** Mechtilde has quit IRC
09:32:36 *** Mechtilde has joined #gnucash
09:38:34 *** fabior has joined #gnucash
10:29:25 *** Cuare has joined #gnucash
11:17:22 *** Mechtilde has quit IRC
11:33:47 *** fbruetting has quit IRC
11:36:22 *** jotrago has joined #gnucash
11:44:36 *** Mechtilde has joined #gnucash
11:47:42 *** Mechtilde has quit IRC
11:52:22 *** Mechtilde has joined #gnucash
12:12:04 *** Mechtilde has quit IRC
12:27:09 *** fbruetting has joined #gnucash
12:27:43 *** fbruetting has quit IRC
12:28:20 *** fbruetting has joined #gnucash
12:34:14 *** fbruetting has quit IRC
12:34:46 *** fbruetting has joined #gnucash
13:12:38 *** User has quit IRC
13:13:15 *** jralls has joined #gnucash
13:13:15 *** ChanServ sets mode: +o jralls
13:13:47 <jralls> gjanssens: Are your pygobject changes pushed?
13:14:46 <gjanssens> jralls: they should be, commit 8b1ebc5168608788f8302506d24fd3d0de01f22b
13:15:21 <gjanssens> But I see I still have to undo the changes to POTFILES.in
13:16:29 <gjanssens> Done now
13:17:07 <gjanssens> jralls: did you get the user_data_dir issues sorted on OSX/Quarz ?
13:21:23 <jralls> Partly. I've got it passing test-userdata=dir, but I don't understand the point of test-userdata-dir-invalid-home. I'm inclined to just disable that test on MacOS.
13:21:55 <gjanssens> jralls: That test was introduced because I had complaints in the past from distro builders
13:22:11 <gjanssens> In their build environments there's not always a home directory defined.
13:22:24 <gjanssens> I think you can safely skip this on MacOS indeed
13:22:59 <jralls> OK.
13:23:14 <gjanssens> (Well, I didn't introduce the *test* for that reason, but code to handle this scenario, the test only followed)
13:24:47 <jralls> Yeah, I figured that. It's pointless on Mac and I think Win32 because neither uses $HOME to set the userdata-dir.
13:34:21 <gjanssens> jralls: indeed
13:34:24 <jralls> When I try to test with_python I get an import failure in gnucash_core.py, "No module named gnucash_core_c"
13:35:09 <gjanssens> Hmm what platform/build system ?
13:35:56 <jralls> Debian 9, python 2.7.13
13:36:13 <jralls> And cmake/ninja.
13:37:45 <jralls> Trying autotools now...
13:39:08 <gjanssens> I don't see this on Fedora 25/cmake/ninja...
13:39:44 <gjanssens> I did notice the autotools build on travis has been failing with segmentation faults in guile for some reason.
13:39:56 <gjanssens> I haven't checked further into that though
13:41:00 <jralls> That's only on arch, the ubuntu autotools builds have been OK. I mentioned it to lmat the other day, I think there might be something wrong with that particular docker.
13:41:24 *** fabior has quit IRC
13:42:54 *** fabior has joined #gnucash
13:55:03 <jralls> gjanssens: Make check passes with python in autotools on Debian9. What were you doing that got the sys.argv error?
13:58:50 <gjanssens> jralls: running gnucash
13:59:53 *** frakturfreak has joined #gnucash
14:00:23 <gjanssens> jralls: about autotools failing, I pushed a commit to my personal gh repo, and on that one all tests succeed. Go figure...
14:02:09 <jralls> All tests pass for me with autotools. It's the cmake/ninja build where the python test failed.
14:03:08 <gjanssens> That sounds like another build order issue in cmake.
14:03:31 <gjanssens> Although
14:03:56 <gjanssens> You get this error when running the python test or while building the tests ?
14:07:02 <jralls> Running the test. Not build order, it's the very last test. Everything is built. But it's a test that runs in the tree so there may be a path issue.
14:08:44 <jralls> The autotools build reproduces the error you see.
14:12:48 *** Cuare has quit IRC
14:21:54 *** thecat has joined #gnucash
14:24:03 *** shoonya has joined #gnucash
14:27:17 <jralls> Running the test. Not build order, it's the very last test. Everything is built. But it's a test that runs in the tree so there may be a path issue.
14:32:34 <jralls> Meanwhile, I found the problem with sys.argv: https://stackoverflow.com/questions/12230210/attributeerror-module-object-has-no-attribute-argv-when-using-python-h.
14:32:39 <jralls> Fix pushed.
14:36:17 *** marusich has joined #gnucash
14:42:42 *** shoonya has quit IRC
14:44:35 *** mdf has joined #gnucash
14:49:21 *** fabior has quit IRC
14:50:24 <marusich> In GnuCash 2.6.17, when viewing the "Net Worth Barchart" using default report options (and start date is set to January 1st, 2017), if the value of the "net worth" bar for January 1st, 2017 is $1.00, does that mean that the net worth was $1.00 after all the transactions leading up to (and including those which occurred on) January 1st took place?
14:50:53 *** klobuczek has joined #gnucash
14:51:41 <marusich> The manual talks a little about the *asset* barchart (in the "Reports Listed By Class" chapter), where it says: "The first bar shows the selected values at the end of the day on the first date chosen." But there's a note at the start of that chapter which says that the documentation may be out of date.
14:51:58 <marusich> And in any case, I'm looking at a net worth barchart, not an asset barchart, although I imagine that they probably behave similarly?
14:53:07 <jralls> marusich: Yes. They're the same except for table selection.
14:53:43 <klobuczek> How can I change Due Date in Accounts Payable? It defaults to Date and cannot be edited.
14:53:47 <marusich> Do you know if the value of the bar on Jan. 1st is the value BEFORE all the transactions that occurred on Jan. 1st, or does it also include the transactions that occurred on Jan. 1st?
14:54:00 <marusich> Or is it something else entirely...?
14:55:37 *** jotrago has quit IRC
14:56:03 *** jotrago has joined #gnucash
14:56:49 <jralls> marusich: Not without examining the code, and I'm sorry but I don't have time to do that today. If you pull balance sheets for the day before and the day you should be able figure it out.
14:56:56 *** fabior has joined #gnucash
14:57:11 <marusich> jralls, that's fair. I intend to just do some experimentation with a very simple book to try to deduce its behavior.
14:57:17 <marusich> I think that'll be faster than looking at the code...
14:57:41 <marusich> Since I've never looked at the GnuCash code before.
15:00:12 *** fabior has quit IRC
15:04:44 *** fbruetting has quit IRC
15:05:06 <marusich> A simple test wtih the common accounts and a basic $1.00 transaction shows that the bars on 1/1 (or any date in particular, I presume) represent the value after taking into account all transactions that occurred before that date AND INCLUDING those which occurred on the date shown.
15:07:51 <jralls> marusich: So the end of the day, just like the docs said.
15:08:16 <marusich> Indeed!
15:09:43 *** User has joined #gnucash
15:47:31 *** klobuczek has quit IRC
15:49:54 *** jotrago has quit IRC
15:50:35 *** fabior has joined #gnucash
15:51:24 *** jotrago has joined #gnucash
15:59:02 *** jotrago1 has joined #gnucash
15:59:04 *** jotrago has quit IRC
15:59:05 *** jotrago1 is now known as jotrago
16:07:10 *** klobuczek has joined #gnucash
16:27:42 *** jotrago has quit IRC
16:28:41 *** jotrago has joined #gnucash
16:30:51 <gjanssens> jralls: I have a few more minor tweaks for travis and userdata_dir queued for pushing. Can I still do this or did you branch already ?
16:34:26 <marusich> Another question about the Net Worth Barchart report: I've noticed that the same information is reported regardless of whether or not I include my equity accounts via the report options. I am remembering to click on the "Reload the current page" button after each change.
16:34:32 *** thecat has quit IRC
16:34:38 <marusich> Are equity accounts irrelevant for that graph?
16:35:05 <marusich> (I am a little confused because by default the equity accounts are included in the report options, so I thought that something would change if I removed them.)
16:35:56 <jralls> gjanssens: Go ahead, I'm still futzing with getting test-userdata-dir to build in autotools.
16:36:06 <jralls> marusich: I think that they are.
16:37:16 <marusich> Hmmm...then why are they selected by default in this graph's report options?
16:37:23 <marusich> Could it just be a bug?
16:38:58 <jralls> More of an irrelevance, I suspect.
16:41:30 <marusich> Would equity accounts ever be relevant to that graph? As a new user, I'm just confused about why it was included in the default accounts, that's all.
16:45:31 <gjanssens> jralls: huh, I thought you said before all tests pass in autotools ?
16:45:44 <gjanssens> Anyway, my changes are pushed.
16:46:32 <jralls> marusich: Hmm, are you sure you're looking at Assets and not Net Worth? Only the Asset accounts are set by default on my system.
16:47:18 <jralls> gjanssens: That was on Debian. I'm having an issue with it on Mac.
16:47:40 <gjanssens> jralls: oh.
16:47:49 <jralls> gjanssens: OK, I'll branch as soon as I get this sorted.
16:47:59 <gjanssens> I'm about to leave for the night.
16:48:11 <gjanssens> And I'll be afk tomorrow and Monday
16:48:22 <gjanssens> Good luck with sorting this out!
16:49:08 <jralls> OK. I'm going to try to release 2.7.0 tomorrow, then start getting ready for 2.6.18 for next weekend.
16:49:33 <gjanssens> G'night!
16:49:44 *** gjanssens has quit IRC
16:55:59 *** mreich has joined #gnucash
17:00:48 <marusich> jralls, I was looking at the Net Worth Barchart report's default options.
17:03:30 <jralls> marusich: So on that one for my book the default selected accounts are the asset and liability accounts.
17:05:36 <marusich> What version are you using? Maybe it was changed.
17:05:47 <marusich> I'm not using the very latest version, I think, but it's not too far behind.
17:09:04 *** mreich has quit IRC
17:12:54 <jralls> marusich: 2.6.17. The net worth barchart report hasn't been touched in 3 years.
17:14:03 <fell> jralls: about the strange farsi numbers, I thought it was an rtl issue, but the same file opened with LANG=ar_BH.utf8 looks fine.
17:15:17 <jralls> fell: Are you sure that LC_MONETARY isn't set?
17:16:01 <fell> In Preferences I set both currencies to IRR.
17:16:27 <fell> to avoid the conversion to BHD
17:23:16 <jralls> fell: Right, but that doesn't have anything to do with formatting. LC_MONETARY controls how money numbers are formatted and LC_NUMERIC controls how other numbers are formatted.
17:24:46 <jralls> But I suppose that if you set LANG=fa_IR.UTF-8 and reproduced the problem that it's doing the right wrong thing.
17:25:39 <fell> yep
17:26:35 <jralls> But when I try that it doesn't work.
17:27:10 *** jotrago has quit IRC
17:28:02 <jralls> Setting LC_MONETARY=fa_IR.UTF-8 with the rest set to en_US does. That might in fact be the problem.
17:28:43 <fell> I have all LC vars unset.
17:28:43 <marusich> jralls, OK, maybe I'm just mistaken.
17:29:45 <fell> I only use LANG which sets them internally.
17:30:00 <jralls> fell: And with everything in Farsi you see the problem Hamid does?
17:30:07 *** fabior_ has joined #gnucash
17:30:13 <fell> yep.
17:31:22 <jralls> Ah, OK, I see the same if I use LC_ALL.
17:31:28 *** fabior has quit IRC
17:31:56 <fell> LANG=fa_IR.utf8:123٬456٬789٬876
17:32:36 <fell> 123٬456٬789٬876 ﷼
17:32:51 *** jotrago has joined #gnucash
17:33:39 <fell> When I coppy the string it is at the beginning, when I press enter it moves behind the 3
17:35:23 <fell> LANG=ar_BH.utf8: ﷼ 123,456,789,876
17:37:12 <fell> I have to start the marking before the 1 to get the currency symbol.
17:43:41 *** fabior_ has quit IRC
17:52:30 *** kael has joined #gnucash
18:12:50 *** kael has quit IRC
18:16:22 *** g5pw has quit IRC
18:16:32 *** g5pw has joined #gnucash
19:28:56 *** christopherlam_afk has joined #gnucash
19:34:26 *** christopherlam_afk has quit IRC
19:53:02 *** kael has joined #gnucash
20:32:59 *** kael has quit IRC
20:38:45 *** marusich has quit IRC
20:55:16 *** User has quit IRC
20:59:37 *** Aussie_matt has joined #gnucash
21:12:14 *** frakturfreak has quit IRC
21:27:44 *** kael has joined #gnucash
21:28:02 *** kael1 has joined #gnucash
21:34:05 *** kael1 has quit IRC
23:05:14 *** Aussie_matt has quit IRC
23:07:25 *** User has joined #gnucash
23:10:37 *** User has quit IRC
23:27:12 *** kael has quit IRC