2019-11-21 GnuCash IRC logs

00:03:25 *** gggg has joined #gnucash
00:04:55 *** Gerd has joined #gnucash
00:15:50 *** gggg has quit IRC
00:28:21 *** Gerd has quit IRC
00:50:18 *** Mechtilde has joined #gnucash
00:54:00 *** boldstripe has quit IRC
00:55:05 *** boldstripe has joined #gnucash
01:01:35 <mattcen> fell: Does the Bayesian algorithm operate on both the account name mapper in addition to the Transaction Import Matcher?
01:02:28 <fell> IIRC account name and description
01:08:53 <fell> The ost recent docu AFAIK: https://code.gnucash.org/docs/C/gnucash-help/trans-import.html#trans-import-matcher
01:08:59 <fell> most
01:13:35 <mattcen> fell: Right, thanks. That's not the screen I'm talking about. That definitely seems to be learning things. I'm referring to the screen before that. The one entitled "Match Import and GnuCash" accounts, where I match the account name from the CSV to an associated account in GnuCash. Most say "No Linked Account", and only the ones I've explicitly set before are detected.
01:13:44 <mattcen> Are you saying this too will learn to detect ones I don't explicitly set?
01:16:18 <fell> https://code.gnucash.org/docs/C/gnucash-help/trans-import.html#ImportMatchEditor seems to be the section explaining the relations.
01:18:05 <mattcen> Ah yes, that looks like what I want!
01:23:53 <fell> chris: Not urgent, but is the para about reports in https://code.gnucash.org/docs/C/gnucash-guide/oview-features1.html still state of the art?
01:23:54 *** chris has quit IRC
01:43:22 *** fell has quit IRC
01:47:01 *** fell has joined #gnucash
01:47:02 *** ChanServ sets mode: +o fell
01:47:02 *** ankenyr has quit IRC
01:53:55 *** Mechtilde has quit IRC
02:29:14 *** pohly has joined #gnucash
02:44:10 *** biomanu has joined #gnucash
02:44:10 *** ChanServ sets mode: +v biomanu
02:54:41 *** boldstripe has quit IRC
02:55:36 *** boldstripe has joined #gnucash
03:01:08 *** gggg has joined #gnucash
03:12:49 *** gggg_ has joined #gnucash
03:13:13 *** gggg_ has quit IRC
03:13:44 *** gggg has quit IRC
03:19:47 *** sbluhm has joined #gnucash
03:22:47 *** sbluhm has quit IRC
03:35:29 *** mauritslamers has quit IRC
03:36:22 *** mauritslamers has joined #gnucash
03:36:23 *** ChanServ sets mode: +v mauritslamers
03:36:28 *** gggg has joined #gnucash
03:39:12 *** gggg has quit IRC
03:40:01 *** sbluhm has joined #gnucash
03:40:01 *** ChanServ sets mode: +v sbluhm
03:57:09 *** Aussie_matt has joined #gnucash
04:08:50 *** gggg has joined #gnucash
04:09:33 *** gggg has quit IRC
04:14:13 *** storyjesse has quit IRC
04:14:24 *** phoenix has joined #gnucash
04:34:00 *** KevinDB has quit IRC
04:40:16 *** KevinDB has joined #gnucash
04:40:16 *** ChanServ sets mode: +v KevinDB
04:42:15 *** gggg has joined #gnucash
04:42:48 *** Mechtilde has joined #gnucash
04:55:21 *** boldstripe has quit IRC
04:56:16 *** boldstripe has joined #gnucash
04:56:17 *** chris has joined #gnucash
04:56:17 *** ChanServ sets mode: +v chris
05:05:51 *** Unhammer has quit IRC
05:07:21 *** Unhammer has joined #gnucash
05:12:02 *** bertbob has quit IRC
05:13:31 *** bertbob has joined #gnucash
05:13:32 *** ChanServ sets mode: +v bertbob
05:26:27 *** phoenix has quit IRC
05:26:59 *** phoenix has joined #gnucash
05:37:39 *** Mechtilde has quit IRC
05:57:18 *** phoenix has quit IRC
06:18:25 <chris> fell: yes
06:20:38 *** Mechtilde has joined #gnucash
06:21:04 *** Mechtilde has joined #gnucash
06:29:37 *** Jimraehl1 has joined #gnucash
06:31:23 *** Jimraehl1 has quit IRC
06:47:08 *** biomanu has quit IRC
06:49:01 *** biomanu has joined #gnucash
06:49:01 *** ChanServ sets mode: +v biomanu
06:52:59 *** biomanu has quit IRC
06:54:43 *** fell has quit IRC
06:56:01 *** boldstripe has quit IRC
06:56:57 *** boldstripe has joined #gnucash
07:07:50 *** Unhammer has quit IRC
07:15:45 *** biomanu has joined #gnucash
07:15:46 *** ChanServ sets mode: +v biomanu
07:35:26 *** AndroUser2 has joined #gnucash
07:42:41 *** Aussie_matt has quit IRC
07:45:45 *** oozer has joined #gnucash
07:46:22 <chris> good speedup in balsheet-pnl, and another bugfix for new-owner-report.
07:58:41 *** User_ has joined #gnucash
08:50:53 *** User_ has quit IRC
08:58:45 *** gjanssens has joined #gnucash
08:58:45 *** ChanServ sets mode: +o gjanssens
08:59:00 <gjanssens> .
09:06:38 *** fell has joined #gnucash
09:06:38 *** ChanServ sets mode: +o fell
09:08:32 *** fell has quit IRC
09:08:40 *** fell has joined #gnucash
09:08:41 *** ChanServ sets mode: +o fell
09:11:50 *** fell has quit IRC
09:16:05 *** KevinDB has quit IRC
09:17:49 *** KevinDB has joined #gnucash
09:17:49 *** ChanServ sets mode: +v KevinDB
09:34:25 *** omnireq has joined #gnucash
09:36:40 *** chris has quit IRC
09:37:39 *** chris has joined #gnucash
09:37:40 *** ChanServ sets mode: +v chris
09:40:16 <chris> gjanssens jralls I'd like some guidance which parts would be best off limits in maint. I know .scm in libgnucash is best left alone for now.
09:41:36 <gjanssens> chris: scm in libgnucash is indeed in heavy flux right now, though most of it is limited to moving it to a different location
09:42:20 <gjanssens> Your work as caused me a few merge conflicts on my gnc-modules-begone branch, but the conflicts were mostly trivial
09:43:00 <gjanssens> As far as I can see jralls is working on the options system still
09:43:21 <gjanssens> What did you have in mind for your next project ?
09:43:52 <chris> Well no major infrastructure work, mainly debug new-reports and polish existing ones
09:44:13 <chris> The only one pending is the budget mess fix but I guess it's fairly trivial
09:47:07 <chris> maybe in the distant future, teach income-gst to dig into gncEntry but this requires decoupling from trep-engine :-o
09:49:06 <gjanssens> Ok, I don't see much overlap with my work there, so feel free to hack to your heart's pleasure :D
09:51:29 <gjanssens> jralls: after a good night sleep I've had another look at the gnc-module tests and I think it's ok now.
09:53:09 <gjanssens> The gnc-module bit inside libgnucash now is completely guile-free and bindings/guile has tests for the gnc-module-xyz wrappers trying to load gnc-modules that encapsulate swigified test libraries.
09:53:46 *** phoenix has joined #gnucash
09:54:02 <gjanssens> In hindsight that's the only thing that makes sense for the guile wrapper of course as that's the only way guile code could call functions in the loaded gnc-module (that is it can only call the swigified versions)
10:20:06 *** kael has joined #gnucash
10:20:07 *** ChanServ sets mode: +v kael
10:31:41 *** oozer has quit IRC
10:33:36 *** GabrieleV has quit IRC
10:38:50 *** kael has quit IRC
10:42:49 *** omnireq has quit IRC
10:48:07 *** User_ has joined #gnucash
10:52:47 *** sbluhm has quit IRC
11:00:46 *** boldstripe has quit IRC
11:01:40 *** boldstripe has joined #gnucash
11:02:24 *** kael has joined #gnucash
11:02:24 *** ChanServ sets mode: +v kael
11:09:29 *** fell has joined #gnucash
11:09:29 *** ChanServ sets mode: +o fell
11:10:57 *** Mechtilde has quit IRC
11:22:51 *** phoenix has quit IRC
11:23:23 *** phoenix has joined #gnucash
11:27:10 *** omnireq has joined #gnucash
11:27:10 *** ChanServ sets mode: +v omnireq
11:27:27 *** Gerd has joined #gnucash
11:29:52 *** omnireq has quit IRC
11:32:41 *** omnireq has joined #gnucash
11:32:41 *** ChanServ sets mode: +v omnireq
11:34:09 *** sbluhm has joined #gnucash
11:34:10 *** ChanServ sets mode: +v sbluhm
11:38:49 *** ankenyr has joined #gnucash
11:46:30 *** guak has joined #gnucash
11:54:13 *** oozer has joined #gnucash
12:07:37 *** kael has quit IRC
12:10:33 *** GabrieleV has joined #gnucash
12:15:12 *** oozer has quit IRC
12:31:34 *** Mechtilde has joined #gnucash
12:47:46 *** Gerd has quit IRC
12:53:47 *** Gerd has joined #gnucash
12:55:30 *** calvinct has joined #gnucash
13:01:26 *** boldstripe has quit IRC
13:02:22 *** boldstripe has joined #gnucash
13:17:07 *** kael has joined #gnucash
13:17:08 *** ChanServ sets mode: +v kael
13:19:55 *** biomanu has quit IRC
13:20:39 *** sbluhm has quit IRC
13:22:06 <jralls> gjanssens, yes, I agree that tests of a C function should be separate from tests of it when imported into guile. The latter will usually be more of a test that the typemaps for the inputs and output work as expected than that the function does what it's supposed to.
13:23:35 *** jervin has joined #gnucash
13:24:37 <jralls> gjanssens But I thought (or maybe hoped) that the overarching point of your extraction work was to get rid of gnc-module. No point in rewriting tests for something that's going away.
13:30:42 <jralls> oliver, warlord, GnuCash 3.7 isn't sufficient for PSD2. You need the latest GnuCash maint and AQB 5.99, Gwen 4.99, and Libchipcard 5.1 beta/release candidates. If you're on Windows its in the latest nightly builds. Linux users can try the latest flatpak if they know flatpak well enough to fiddle the sandbox so that it can talk to the net. Even with that there may still be problems, see https://github.com/Gnucash/gnucash/pull/598.
13:36:20 *** kael has quit IRC
13:36:53 *** sbluhm has joined #gnucash
13:43:59 *** fabior has joined #gnucash
13:46:36 <Mechtilde> jralls, oliver It depends on what you want to do
13:47:28 *** jervin has quit IRC
13:47:45 <Mechtilde> I can fetch my bank data with Gnucash 3.7 an Aqb 5.99.43 buat I cant do a transaction
13:48:15 <Mechtilde> because I didn't get the Information for manual chiptan
13:56:25 *** waeking has joined #gnucash
13:56:25 *** ChanServ sets mode: +v waeking
14:09:07 <jralls> Mechtilde: What's broken with manual chiptan? Does cstim know about it?
14:10:29 *** frakturfreak has joined #gnucash
14:10:29 *** ChanServ sets mode: +v frakturfreak
14:11:27 *** fabior has quit IRC
14:35:46 *** oozer has joined #gnucash
14:35:50 *** User_ has quit IRC
14:39:25 *** phoenix has quit IRC
14:39:34 <Mechtilde> I thik it is a problem of my too old GnuCash
14:39:58 <Mechtilde> It can't display the new information
14:40:40 *** omnireq has quit IRC
14:40:59 *** omnireq has joined #gnucash
14:40:59 *** ChanServ sets mode: +v omnireq
14:54:54 *** pohly has quit IRC
15:00:40 <fell> Mechtilde, are you not using Micha Lenk's ppa?
15:02:07 *** boldstripe has quit IRC
15:03:01 *** boldstripe has joined #gnucash
15:09:03 <jralls> fell: gwen built before gjanssens pushed his patch so it needed to be rebuilt. It should be OK now.
15:09:11 <Mechtilde> fell no
15:09:27 <Mechtilde> I use Debian testing with the new aqb
15:10:18 <jralls> Mechtilde, there are some GnuCash fixes you need too.
15:10:50 <fell> jralls, https://code.gnucash.org/builds/win32/build-logs/maint/2019-11/build-maint-2019-11-21-03-01-02.log: *** etc.
15:11:05 <fell> module gnucash-git not built due to non buildable aqbanking *** [14/16]
15:11:10 <Mechtilde> yes I know it
15:11:19 <jralls> fell, I know. I just fixed it.
15:11:40 <fell> ok, thanks.
15:11:53 <Mechtilde> I didn't have the time to build mysqlf
15:11:59 <Mechtilde> myself
15:12:51 <fell> Mechtilde: and which version is the source for debina tetsings Gnucash?
15:13:59 <Mechtilde> 3.7
15:14:19 <fell> A pure 3.7 is not sufficient for the betas of the aqb family.
15:14:47 <fell> Or did they apply single commits as patches?
15:15:38 <Mechtilde> I didn't research it.
15:18:29 <fell> It is 3.7-2, so they applied at least 2 patches and want libaqbanking43 (>= 5.99.43)
15:20:34 <fell> But we can not guarantee, that they applied all required commits.
15:20:49 <Mechtilde> that is right
15:21:26 <Mechtilde> I only want to say that it depends on what you need whether you can use a version or not
15:21:52 <Mechtilde> At this time I have a fall back
15:55:03 *** Mechtilde has quit IRC
15:59:55 <gjanssens> jralls: I haven't really made up my mind on gnc-module
16:00:14 <gjanssens> It's clear to me I want none of libgnucash to still use it
16:00:31 <gjanssens> So that's really why I started this effort.
16:01:49 <gjanssens> On the other hand I do like the general idea of having a plugin interface to extend gnucash beyond what the core devs can maintain
16:02:24 <gjanssens> I don't know of gnc-module fits that bill though. But that idea keeps me from completely removing it now already
16:02:54 <gjanssens> I should also add I don't think guile code should be calling gnc-module at all
16:03:19 <gjanssens> They have their own extension loading mechanism based on swig modules
16:04:32 <jralls> Right. warlord insists that we should continue to have some way to add in modules. I'm not opposed, but I don't think that gnc-module is a particularly good way to get there.
16:04:50 <gjanssens> I tend to agree.
16:05:12 <gjanssens> It's another project to come up with a better alternative
16:06:30 <gjanssens> My current one is getting libgnucash and all of guile gnc-module free
16:06:40 *** omnireq has quit IRC
16:06:42 <warlord> I don't particularly care about gnc-module per se.
16:06:59 *** omnireq has joined #gnucash
16:06:59 *** ChanServ sets mode: +v omnireq
16:07:44 <warlord> But I still think we need an extension mechanism
16:08:05 <jralls> I think we can go a bit further and convert most of the existing libgncmod-foo to plain libgnc-foo and have [dy]ld load them at atart up. That will startup faster and debugging easier.
16:08:23 *** sbluhm has quit IRC
16:08:32 <gjanssens> It's also possible to consider python as our extension interface instead. That would require getting our python act together on Macos and Windows, but that may be less effort and more attractive to end users than a C plugin interface
16:08:35 *** sbluhm has joined #gnucash
16:08:35 *** ChanServ sets mode: +v sbluhm
16:09:10 <gjanssens> jralls: the libgncmod-foo to plain libgnc-foo is what I have in mind for libgnucash
16:09:30 <gjanssens> When done we can evaluate how much would be left to do the same for the rest of gnucash
16:10:08 <jralls> Right. I'm proposing doing it across the board with the possible exception of importers.
16:10:18 <gjanssens> The cleanup required for this is to make sure each libgnc-foo gets its init function called properly
16:10:20 <jralls> One step at a time is fine.
16:10:30 <gjanssens> That's now done as part of gnc-module loading
16:10:54 <jralls> Few of the init functions do anything.
16:11:14 <jralls> And the few that do probably shouldn't.
16:11:18 <gjanssens> There's qof_init, gnc_engine_init,...
16:11:42 <gjanssens> All of those should be fixed when they're properly converted to C++ classes of course
16:12:10 <jralls> I didn't say they aren't there, I said that they don't do anything. But maybe I should modify that to they don't do anything useful.
16:12:35 <gjanssens> Until we're there, it needs a bit of care to make sure they are all called at least once from every possible entry point
16:12:41 <jralls> Some of them do things that are harmful, like setting up globals.
16:12:58 <gjanssens> Right. Something to fix as you say.
16:13:50 <gjanssens> But as another goal. Otherwise I'll never get something ready for merge :)
16:14:48 <gjanssens> By the way, while testing my work I decided to run 'ninja check' on Windows in jhbuild.
16:14:58 <gjanssens> Obviously there are many failing test cases.
16:15:18 <gjanssens> I played a bit with the gnc-module ones as that's what I'm currently focussed on
16:16:15 <gjanssens> And then it got curious: I made a few fixes and running "ctest -V -R test-load-c" fails
16:16:48 <gjanssens> However setting the exact same environment variables as the test and then running test-load-c directly succeeds
16:16:50 <gjanssens> Go figure...
16:17:39 <gjanssens> I probably won't spend more time on that right now though.
16:17:50 <gjanssens> Fixing the windows tests is yet another project.
16:18:36 <jralls> It is. Maybe as a prelude figuring out how to mark tests as "skip" on windows so we can set up an Apveyor CI.
16:18:37 <gjanssens> Though I'm slowly feeling comfortable enough on the Windows side I hope to be able to fix a number of them
16:19:01 <gjanssens> That's a good interim step indeed.
16:19:18 * jralls would be really happy if you could just get rid of the import-from-future error on windows on every .go compilation.
16:19:36 * gjanssens believes his most recent commits do fix that
16:19:42 <jralls> \o/
16:20:26 <gjanssens> I decided to store the future mod in a separate subdirectory that's not searched by gnc-module-load by default
16:20:57 <gjanssens> Only when the future mod test is run I extend GNC_MODULE_PATH to include that extra module directory
16:21:03 <gjanssens> Seems to work just fine
16:21:21 <jralls> Ah. I'd thought that it was already isolated since it's actually used only for one test.
16:21:51 <gjanssens> Yes and no
16:22:42 <jralls> And a stupid test at that since I don't think we've ever actually versioned any of the module libraries.
16:22:45 <gjanssens> We set special target directories for the tests, but on Windows the runtime target directory is used, which was just set to <buildir>/bin
16:23:05 <gjanssens> so the dll still ended up with all the other libgncmod dlls
16:23:09 <jralls> Oh. sigh.
16:23:12 <gjanssens> Right
16:23:54 <gjanssens> So I changed that for all test gncmods and then still chose to separate out the future mod to reduce the noise for the non-future mod tests
16:24:40 <gjanssens> If you want to play with it, here's the current state of my branch: https://github.com/gjanssens/gnucash/tree/dropgml
16:25:04 <gjanssens> Note I changed from gnc-module-begone to dropgml to be able to use this in our Windows environment
16:25:42 <gjanssens> It had a few issues properly separating out the project and branch from TARGET gnucash-gnc-module-begone...
16:25:54 <gjanssens> So I went for a branch name without any dashes :)
16:26:16 <jralls> How short-sighted of me.
16:26:47 <gjanssens> Other than that, I agree futuremod test will probably remain useless forever.
16:28:36 <gjanssens> And unless you still want to discuss something else right now, I think I'll leave it at that. Getting tired here
16:29:50 <gjanssens> Oh, I see I forgot to push the very latest state of my branch
16:29:57 <jralls> I was just going to mention that engine_init points to another useless pile of crap, QofObject.
16:30:32 <gjanssens> I did so now. What I pointed at earlier this evening still had failing tests. The last push should not.
16:30:47 <jralls> Failing tests on Linux?
16:31:14 <gjanssens> Also worth mentioning, when I merge my branch it's best to perform a "ninja uninstall" on any windows machine before pulling
16:31:25 <jralls> I probably won't try to run it, I might look over the commits if I can find time.
16:31:35 <gjanssens> Otherwise the next build will fail because it finds the wrong modules
16:31:56 <jralls> It might be good for you to do likewise with my c++options branch if you can.
16:32:10 <gjanssens> Failing on linux yes. While experimenting to get it to work on Windows, I did push a few mistakes that I have corrected afterwards
16:32:46 <gjanssens> Yeah, I'll see if I find time somewhere in the weekend
16:32:53 <gjanssens> How's progress on that branch ?
16:34:02 <jralls> Good. I'm writing the serialize/deserialize code now. Once that's tested I'll be ready to start integrating with the dialog-options.c, which will have to become dialog-options.cpp.
16:34:16 <gjanssens> Cool
16:34:50 <gjanssens> More another time please :)
16:34:57 <gjanssens> I'm signing off...
16:35:05 <gjanssens> Night!
16:35:08 <jralls> OK, goodnight.
16:36:03 *** gjanssens has quit IRC
16:38:38 *** waeking has quit IRC
16:53:39 *** guak has quit IRC
16:54:08 *** guak has joined #gnucash
16:57:39 *** guak has quit IRC
16:57:54 *** guak has joined #gnucash
17:21:38 *** frakturfreak has quit IRC
17:33:36 *** sbluhm has quit IRC
17:39:22 *** calvinct has quit IRC
17:55:41 *** Gerd has quit IRC
18:03:21 *** AndroUser2 has quit IRC
18:26:51 *** fell has quit IRC
18:32:26 *** AndroUser2 has joined #gnucash
18:59:34 *** gggg has quit IRC
19:01:54 *** Gerd has joined #gnucash
19:18:24 *** Gerd has quit IRC
19:27:36 *** omnireq has quit IRC
19:28:14 *** jervin has joined #gnucash
19:36:51 *** jervin has quit IRC
19:41:58 *** AndroUser2 has quit IRC
19:56:19 *** guak has quit IRC
20:36:04 *** jervin has joined #gnucash
20:58:55 *** omnireq has joined #gnucash
21:00:03 *** boldstripe has quit IRC
21:00:59 *** boldstripe has joined #gnucash
21:18:53 *** AndroUser2 has joined #gnucash
21:25:03 *** storyjesse has joined #gnucash
21:30:32 *** oozer has quit IRC
21:57:41 *** AndroUser2 has quit IRC
22:33:40 *** oliver has quit IRC
22:35:20 *** oliver has joined #gnucash
23:00:43 *** boldstripe has quit IRC
23:01:38 *** boldstripe has joined #gnucash
23:15:52 *** omnireq has quit IRC
23:17:18 *** biomanu has joined #gnucash
23:17:19 *** ChanServ sets mode: +v biomanu
23:27:41 *** Gerd has joined #gnucash