2018-02-01 GnuCash IRC logs

01:06:19 *** hhn11 has quit IRC
01:24:37 *** fell has quit IRC
01:25:48 *** fell has joined #gnucash
02:44:44 *** bob_ has joined #gnucash
03:07:56 *** gjanssens has joined #gnucash
03:07:56 *** ChanServ sets mode: +o gjanssens
03:12:56 <gjanssens> .
03:15:55 *** bob_ has quit IRC
03:34:25 *** harshitaneja has joined #gnucash
03:41:58 *** fabior has joined #gnucash
03:52:34 *** chf has quit IRC
03:56:14 *** fabior has quit IRC
03:56:32 *** chf has joined #gnucash
04:13:24 *** fabior has joined #gnucash
04:22:22 *** fabior has quit IRC
04:27:44 *** marusich has joined #gnucash
04:27:50 *** chf has quit IRC
04:49:17 *** donovanski has joined #gnucash
05:12:38 *** harshitaneja has quit IRC
05:21:49 *** harshitaneja has joined #gnucash
05:25:08 *** pilotauto has quit IRC
05:42:09 <donovanski> hi, thanks to warlord and fell for advice, I have contacted the mailing list. I'm not sure bugzilla is the thing, as the software is functioning perfectly to do what it is supposed to do. I just want to manipulate it to do stuff that is probably accounting blasphemy or heresy or whatever, and I'm trying to find a programmer who would be interested in a small project to customise the software or exploit the database to yield the dat
05:42:09 <donovanski> equire
05:56:51 *** harshitaneja has quit IRC
06:02:02 *** harshitaneja has joined #gnucash
06:02:42 *** marusich has quit IRC
06:08:44 *** User_ has joined #gnucash
06:10:33 *** storyjesse has quit IRC
06:13:58 *** frozenjim2 has joined #gnucash
06:16:23 *** frozenjim has quit IRC
06:25:20 *** User_ has quit IRC
06:39:43 *** Jimraehl1 has joined #gnucash
06:41:53 *** harshitaneja has quit IRC
06:44:27 *** Jimraehl1 has left #gnucash
06:52:03 *** harshitaneja has joined #gnucash
06:56:26 *** harshitaneja has quit IRC
07:02:07 *** harshitaneja has joined #gnucash
07:06:13 *** gncbot sets mode: +o fell
07:41:42 *** donovanski has left #gnucash
07:47:05 *** oozer has joined #gnucash
08:06:32 <warlord> .
08:40:05 *** fabior has joined #gnucash
08:49:28 *** chf has joined #gnucash
09:17:28 *** donovanski has joined #gnucash
09:51:28 *** kael has joined #gnucash
09:56:53 *** kael has quit IRC
11:17:00 *** KaiForce has joined #gnucash
11:29:36 *** kael has joined #gnucash
11:42:39 *** chf has quit IRC
11:42:58 *** ArtGravity has joined #gnucash
11:52:05 *** oozer has quit IRC
11:57:22 *** oozer has joined #gnucash
11:59:05 *** marusich has joined #gnucash
12:03:51 <lmat> gjanssens: Sorry, I've been "out of office" quite a bit lately. Work picked up quite a bit, and I took a week long out-of-state vacation.
12:04:24 *** Lustordorn has joined #gnucash
12:07:30 *** jralls has joined #gnucash
12:07:30 *** ChanServ sets mode: +o jralls
12:07:43 <jralls> .
12:07:49 <Lustordorn> How would you enter stipends into gnucash? I feel it is wrong to put it under income, since it will not be taxed by my government
12:08:03 <lmat> "I just updated from 2.6.18 to 2.7.3 ..." shudder. He's not supposed to do that? 2.7.3 being unstable is for testing only?
12:08:40 <lmat> Lustordorn: If it's a rebate or refund of some sort, you should rebate the correct expense account. Otherwise, you should have "taxable revenue" and "nontaxable revenue"?
12:08:45 <lmat> Lustordorn: (I'm not an accountant.)
12:11:00 <Lustordorn> It is just like a gift, but not taxable. Hmm, that kind of makes sense to split it like that.
12:11:18 <Lustordorn> lmat: I updated from 2.6.* to 2.7.3 without problems
12:13:39 <jralls> Lusterdorn: That doesn't mean that 2.7.3 won't cause you problems. It's pre-release code that we recommend that you use only for testing.
12:16:13 <lmat> Lustordorn: If you would like to make the distinction super clear, you can create subaccounts: Revenue:Taxable, etc. In my case, I only have a few Revenue accounts and I know which ones are taxable.
12:17:20 <Lustordorn> jralls: I'm only testing, yes
12:18:14 *** kael has quit IRC
12:25:18 *** kael has joined #gnucash
12:29:21 *** fabior has quit IRC
12:31:56 *** marusich has quit IRC
12:34:32 *** chf has joined #gnucash
13:07:35 *** fabior has joined #gnucash
13:07:44 *** oozer has quit IRC
13:23:40 *** Mechtilde has joined #gnucash
13:24:28 *** fabior has quit IRC
13:30:52 *** kael has quit IRC
13:30:54 *** kael has joined #gnucash
13:34:36 *** kael has quit IRC
13:41:53 <jralls> gjanssens, fell: I finally broke the code on the Webkit crashes. It turns out that it needs some tweaks to fonts.conf (to point to where the fonts actually live and to remove an instruction to create a cache directory in the build directory) and, perhaps crucially, to define XDG_CONFIG_HOME in etc/environment.
13:42:40 <gjanssens> jralls: well done!
13:43:33 * gjanssens tries to remember what the problem with webkit2 on OS X was that caused jralls to revert to webkit1
13:43:52 <gjanssens> Was it a similar issue (only working on your build machine) ?
13:44:29 <jralls> gjanssens: Apropos my comment on https://github.com/Gnucash/gnucash/pull/272, I propose to set the last to {HOME}/Library/Application Support/Gnucash or {HOME}/Library/Application Support/Gnucash/config. Do you see any issues with that beyond needing to change the theming instructions in the wiki?
13:45:23 <jralls> No, the webkit2 problem is that the javascript interpreter doesn't talk to WebKitWebView so charts aren't rendered.
13:45:47 <gjanssens> jralls: oh ok. That will be for another time
13:45:49 <jralls> There's some IPC issue that I wasn't able to figure out.
13:46:30 <gjanssens> As for your config dir: the former will work, the latter maybe not considering the advice I just gave to Bob
13:48:11 <gjanssens> If you prefer the latter I think we should expand gnc_filepath_utils with functions that determine the proper config dir per platform (and make the code handle XDG_...._HOME on all platforms instead of only linux)
13:51:00 * jralls got caught up on the comments on the PR
13:51:58 <jralls> What if we just set all of the XDG variables appropriately in etc/environment on both Win and Mac and make all of the code respond to that?
13:52:39 <jralls> environment.local gets parsed second so that users can override the defaults we set, right?
13:54:13 <jralls> Hmm, we should be looking for environmment.local in XDG_CONFIG_HOME... is that what we're doing? I haven't looked at the code.
13:54:38 <gjanssens> No.
13:55:01 <gjanssens> I didn't want these environment variables to be user overridable unless s/he's an administrator
13:55:10 <gjanssens> So environment.local is in /etc
13:55:20 <gjanssens> Well, etc/gnucash
13:56:24 <gjanssens> This mostly matters on linux though where we don't need to hardcode these values anyway
13:57:29 <gjanssens> So I think it's safe to set these variables in the bundles (win and mac). Users of these packages are unlikely to care much about XDG standards and just want their software to work
13:57:50 <jralls> Unless you fuddled gnucash-mingw64.iss the Win one will get overwritten with each new install. On a mac each copy of Gnucash.app will have its own.
13:59:09 <jralls> There's also the matter of the alphavantage key, which should be per-user on a multi-user machine.
14:00:37 <gjanssens> jralls: yes, the alphavantage key... I think that should become part of the gnucash settings. To me, the environment file was more of a quick workaround.
14:01:14 <gjanssens> And what do you mean the Win one will get overwritten ? environment.local gets overwritten ?
14:02:13 <jralls> IIUC the whole directory gets nuked and replaced with a new one.
14:02:40 <jralls> By directory I mean program files (x86)\gnucash.
14:03:44 <jralls> So if there's no environment.local in the dist, I guess it won't get overwritten, just eliminated.
14:06:14 <gjanssens> jralls: no, the installer is smarter than that. It will only remove files that were created during installation. Other files should remain untouched.
14:06:22 <jralls> If we put the alphavantage key in gsettings then we need to extract it and put it in the environment so that perl can see it when we shell out to run F::Q.
14:06:27 <gjanssens> At least that's how it worked last time I checked
14:06:49 <jralls> OK.
14:06:49 <gjanssens> Yes, that's true, but that shouldn't be too hard
14:07:29 <gjanssens> If you want I can take that as my next project (the alphavantage key stuff)
14:08:14 <gjanssens> The faster we get that done the better. Adding it to gsettings will add new strings so that will be a string-freeze exception.
14:08:26 <jralls> Please do, because environment.local won't work on Macs unless it's outside of the bundle.
14:08:50 <jralls> Yeah, I don't see a way around that.
14:08:55 <gjanssens> Because of multi-user ?
14:09:05 <gjanssens> That environment.local doesn't work ?
14:09:24 <jralls> No, because each bundle has its own etc directory.
14:09:57 <jralls> Apps that install things are possible on Macs but they're generally frowned upon.
14:10:46 <gjanssens> Oh, now I get it. On OS X the etc *does* get replaced by each install because the whole app bundle is replaced
14:12:23 <jralls> Yup, modulo "replaced" isn't required. One can have as many copies of Gnucash.app as one likes. Makes cross-version testing really easy.
14:16:08 <gjanssens> Indeed... On linux that would require lots of changes. I considered this at some point but quickly realized there were more important things to do
14:16:30 *** ArtGravity has quit IRC
14:22:13 <jralls> Mmmm.... if one builds with rpaths and carefully sets the paths that dlopen uses to find modules it's not too hard now. There's a lot of talk about flatpacks for this on the Gnome dev lists.
14:23:10 *** Cuare has joined #gnucash
14:28:22 *** frakturfreak has joined #gnucash
14:39:46 <gjanssens> I'm not following those lists but I'm interested in flatpack for gnucash though. I have discovered someone has already added a gnucash flatpack to flathub. Haven't looked into that yet.
14:40:53 <gjanssens> Hmm. my cleaup of gnc_filepath_init has broken travis. But only the "homedir-not-exist" test
14:41:26 <gjanssens> I assumed the builder would not have permissions to create a directory in the root directory but travis builds are run as root...
14:41:42 <gjanssens> I'll add the fix to my list of things to do as well
14:47:48 *** fekepp has quit IRC
14:55:11 *** oozer has joined #gnucash
14:59:41 *** fabior has joined #gnucash
15:13:18 *** kael has joined #gnucash
15:32:08 *** fabior has quit IRC
15:33:21 *** kael has quit IRC
15:40:45 *** Mechtilde has quit IRC
15:45:26 *** fabior has joined #gnucash
15:54:57 *** Mechtilde has joined #gnucash
15:58:48 *** Mechtilde has quit IRC
15:59:02 *** Mechtilde has joined #gnucash
16:03:42 *** oozer has quit IRC
16:07:56 *** KaiForce has quit IRC
16:18:51 <lmat> gjanssens: And inside docker, everything runs as root, too.
16:19:29 *** bob_ has joined #gnucash
16:25:27 *** Mechtilde has quit IRC
16:25:31 *** oozer has joined #gnucash
16:25:40 *** Mechtilde has joined #gnucash
16:28:41 <gjanssens> lmat: right
16:29:49 *** fabior has quit IRC
16:32:48 *** pilotauto has joined #gnucash
16:38:18 *** Mechtilde has quit IRC
16:38:35 *** kael has joined #gnucash
16:42:29 *** kael has quit IRC
16:49:29 *** frakturfreak has quit IRC
16:58:50 *** donovanski has left #gnucash
17:16:25 *** jonyvx has joined #gnucash
17:16:25 *** jonyvx has left #gnucash
17:26:28 *** gjanssens has quit IRC
17:45:45 *** Lustordorn has quit IRC
17:46:18 *** harshitaneja has quit IRC
17:50:23 *** bob_ has quit IRC
18:32:45 <chris> jralls - I'm struggling to create reasonable unit tests that perform well ie they pass on local but fail on travis. I'll keep hacking. Meanwhile there'll be a few string-neutral or string-negative commits that I'd be keen to push soon.
18:34:52 <jralls> chris: OK. What's the problem on Travis?
18:35:51 <chris> nothing major - I just think that my tests are not properly written
18:37:17 <chris> if they fail on travis it probably relates to a badly written test, eg testing sortorder is difficult
18:40:57 <chris> tests which will produce different results every month are invalid.
18:42:07 <jralls> Yes. Timezone-dependent tests will be too, as I learned a couple of months ago. Localization, which affects sort order, will also cause trouble.
21:26:35 *** Kaell has joined #gnucash
21:32:35 *** oozer has quit IRC
22:33:47 *** Kaell has quit IRC
22:36:16 *** Kaell has joined #gnucash
23:00:10 *** jotrago has joined #gnucash
23:05:55 *** jotrago has quit IRC
23:13:47 *** Kaell has quit IRC