2020-01-23 GnuCash IRC logs

00:23:14 *** Gerd has quit IRC
00:38:44 *** Gerd has joined #gnucash
00:38:55 *** Gerd1 has joined #gnucash
00:41:44 *** Gerd has quit IRC
00:41:44 *** Gerd1 is now known as Gerd
00:51:16 *** Mechtilde has joined #gnucash
00:54:01 *** Gerd has quit IRC
00:55:38 *** Mechtilde has quit IRC
01:09:04 *** mauritslamers has quit IRC
01:09:05 *** mauritslamers_ has joined #gnucash
01:09:05 *** ChanServ sets mode: +v mauritslamers_
01:09:28 *** Mechtilde has joined #gnucash
01:20:08 *** Mechtilde has quit IRC
01:46:13 *** marusich has quit IRC
01:55:10 *** lcanaska has joined #gnucash
02:09:03 *** sbluhm has joined #gnucash
02:09:04 *** ChanServ sets mode: +v sbluhm
02:26:41 *** lcanaska has quit IRC
02:55:14 *** ash has joined #gnucash
02:56:44 *** ash has quit IRC
02:56:58 *** bertbob has quit IRC
02:59:28 *** KevinDB has joined #gnucash
02:59:28 *** ChanServ sets mode: +v KevinDB
03:00:24 *** bertbob has joined #gnucash
03:00:25 *** ChanServ sets mode: +v bertbob
03:10:34 *** bertbob has quit IRC
03:12:27 *** gjanssens has joined #gnucash
03:12:27 *** ChanServ sets mode: +o gjanssens
03:17:37 <gjanssens> .
03:17:59 *** bertbob has joined #gnucash
03:17:59 *** ChanServ sets mode: +v bertbob
03:41:30 *** omnireq_ has quit IRC
03:41:41 *** omnireq_ has joined #gnucash
04:29:44 *** pbneves has joined #gnucash
04:34:36 <pbneves> Hi
04:36:24 <pbneves> I was using gnucash 3.6 on a Linux Slackware64-current machine, but the system upgraded guile to version 3.0.0 and gnucash stoped working complaining for the lack of guile
04:37:42 <pbneves> Then I'm trying to compile gnucash version 3.8 but CMake complains that guile version 2.0 or 2.2 is not found.
04:38:28 <pbneves> Is there a possibility that gnucash supports guile 3.0?
04:55:29 *** Mechtilde has joined #gnucash
05:28:09 *** User__ has joined #gnucash
05:28:40 <chris> pbneves: not yet. please find a way of using guile-2.2 for now, and work on guile-3.0 can start in due course.
05:31:08 <pbneves> :( Thanks any way
05:33:17 <chris> pbneves: bug report always useful though. add your experience to https://bugs.gnucash.org/show_bug.cgi?id=797579 and help move it forward.
05:46:11 <pbneves> done
05:48:30 <chris> pbneves: and attach compilation errors too
05:55:58 <pbneves> I've already attached the CMakeOutput.log file and the console output
06:00:46 *** User__ has quit IRC
06:17:57 *** Jimraehl1 has joined #gnucash
06:19:01 <gjanssens> getting the build system to test for guile 3.0 is the easy part. Fixing all incompatibilities is harder.
06:19:21 *** Jimraehl1 has quit IRC
06:19:44 <gjanssens> Personally I prefer to see that happen for gnucash 4 rather than 3.x. It's a big dependency upgrade.
06:34:48 *** baileygoat has joined #gnucash
07:27:58 *** pbneves has quit IRC
07:40:40 *** mauritslamers has joined #gnucash
07:40:40 *** ChanServ sets mode: +v mauritslamers
07:41:27 *** mauritslamers_ has quit IRC
07:44:30 *** delli3 has joined #gnucash
07:44:31 *** ChanServ sets mode: +v delli3
07:45:32 *** delli3 has quit IRC
07:45:50 *** delli3 has joined #gnucash
07:45:50 *** ChanServ sets mode: +v delli3
08:23:30 *** omnireq_ has quit IRC
08:23:41 *** omnireq_ has joined #gnucash
08:43:09 *** bertbob has quit IRC
08:44:30 *** omnireq_ has quit IRC
08:45:19 *** omnireq_ has joined #gnucash
08:47:04 *** bertbob has joined #gnucash
08:47:04 *** ChanServ sets mode: +v bertbob
08:50:59 *** bertbob has quit IRC
08:59:10 *** bertbob has joined #gnucash
08:59:11 *** ChanServ sets mode: +v bertbob
09:02:13 *** bertbob has quit IRC
09:03:26 *** bertbob has joined #gnucash
09:03:27 *** ChanServ sets mode: +v bertbob
09:06:29 *** bertbob has quit IRC
09:35:03 *** puck has quit IRC
09:37:11 *** puck has joined #gnucash
09:46:13 *** bertbob has joined #gnucash
09:46:14 *** ChanServ sets mode: +v bertbob
09:57:16 <chris> checking out for tonight.
10:21:20 *** jervin has joined #gnucash
10:24:48 *** omnireq_ has quit IRC
10:29:52 *** khobo has joined #gnucash
10:29:57 <khobo> did you guys ever look at that bug i found?
11:00:35 *** omnireq has joined #gnucash
11:00:36 *** ChanServ sets mode: +v omnireq
11:16:33 *** sbluhm has quit IRC
11:16:51 *** Gerd has joined #gnucash
11:25:49 *** Mechtilde has quit IRC
11:27:36 *** kael has joined #gnucash
11:27:37 *** ChanServ sets mode: +v kael
11:27:46 *** kael has quit IRC
11:34:05 *** sbluhm has joined #gnucash
11:34:05 *** ChanServ sets mode: +v sbluhm
11:47:34 *** sbluhm has quit IRC
11:55:57 *** sbluhm has joined #gnucash
11:55:58 *** ChanServ sets mode: +v sbluhm
11:58:11 *** guak has joined #gnucash
12:09:26 *** ChanServ sets mode: +o jralls
12:11:41 <jralls> knobo: We have hundreds of bugs and a very few part-time volunteer developers. Only bugs reported in Bugzilla (https://wiki.gnucash.org/wiki/Bugzilla) are likely to get attention; anything reported on the mailing lists or especially IRC will be quickly forgotten.
12:11:42 *** sbluhm has quit IRC
12:12:14 <khobo> damn -- oh wait i was talking to you
12:12:25 <khobo> remember the error in the closing books?
12:12:38 <khobo> how it was calculating more than double on the investments
12:14:32 <jralls> knobo: Yes. It seems to not recognize closing transactions. If you want it fixed *ever* file a bug. That's no guarantee that it will be fixed in the next release or even the next major release. Like I said, hundreds of bugs and only a few developers.
12:14:48 <khobo> gotcha
12:14:57 <khobo> how do i even write what's happening?
12:15:03 <khobo> err explain*
12:20:16 <jralls> Just say that if the book is closed using tools>close book the close transactions are interpreted at least sometimes (because it happened in 2016 and not 2017) as investment and distribution instead of closing. chris, who does most of the work on reports, likes screen shots so attach all of the ones you made on Tuesday and any others you think might help illustrate what's going on.
12:20:23 *** jonesy123 has joined #gnucash
12:21:02 <jonesy123> ?
12:21:07 <jralls> Oh, I just had a thought about 2017: What day is the closing transaction posted.
12:21:47 <jonesy123> Hi guys, does anyone know if the program will survive a Windows 7-10 upgrade without any corruption of data?
12:24:22 <jralls> Well, lots of users have made the upgrade and none have reported any, nor is there any reason for the win7->10 upgrade to touch user files.
12:25:00 <jralls> Preferences are stored in the Registry, though, so there's a small chance of that getting screwed up.
12:25:15 *** Gerd has quit IRC
12:25:22 <jonesy123> can they be backed up?
12:26:11 <jralls> Registry keys? Supposedly, but I don't remember the details. Google "backup windows registry".
12:26:41 <jonesy123> thanks!
12:26:45 *** jonesy123 has quit IRC
12:28:01 *** jonesy123 has joined #gnucash
12:28:27 *** jonesy123 has quit IRC
12:38:37 <jralls> ra4376
12:47:48 *** mauritslamers has quit IRC
12:48:01 *** mauritslamers has joined #gnucash
12:48:01 *** ChanServ sets mode: +v mauritslamers
13:09:42 *** Gerd has joined #gnucash
13:11:04 *** Mechtilde has joined #gnucash
13:23:16 *** fell has joined #gnucash
13:23:16 *** ChanServ sets mode: +o fell
13:27:00 *** fabior has joined #gnucash
13:31:23 *** khobo has quit IRC
13:39:22 *** fabior has quit IRC
13:42:11 *** calvinct has joined #gnucash
13:44:04 *** sbluhm has joined #gnucash
13:44:04 *** ChanServ sets mode: +v sbluhm
13:46:56 *** fell has quit IRC
13:46:59 *** fell_laptop has joined #gnucash
13:46:59 *** ChanServ sets mode: +o fell_laptop
13:51:35 <jralls> ISTM Slackware has shot themselves in the foot by pushing Guile 3.0: Of the four projects on Guile's homepage that use it only Guix supports Guile-3.0. Lepton-EDA and crucially gdb still require 2.0, they don't even support 2.2 and of course we support either 2.0 or 2.2. Guix supports either 3.0 or 2.2 and Ludovic Courtés contributed the 3.0 support.
13:51:51 *** jervin has quit IRC
13:52:57 <jralls> I'm not opposed to getting 3.0 support in, of course, but I think that Slackware will be backpedalling pretty hard when they realize they've broken gdb's scripting.
13:54:30 <jralls> Though I suppose it's possible--likely even--that nobody actually uses gdb's scheme scripting, especially since gdb started providing python scripting as well.
14:00:12 *** bertbob has quit IRC
14:02:29 *** bertbob has joined #gnucash
14:02:30 *** ChanServ sets mode: +v bertbob
14:07:35 *** frakturfreak has joined #gnucash
14:07:54 *** jervin has joined #gnucash
14:09:09 *** fell_laptop has quit IRC
14:11:38 *** jervin has quit IRC
14:11:49 *** jervin has joined #gnucash
14:13:18 *** fell has joined #gnucash
14:13:18 *** ChanServ sets mode: +o fell
14:18:23 *** jervin has quit IRC
14:25:55 <gjanssens> jralls: ouch on Slackware...
14:26:49 <jralls> I dunno, if anyone actually is using guile with gdb they'll be screaming, as should the GnuCash users be.
14:27:10 *** phoenix has joined #gnucash
14:29:19 <gjanssens> It's a bit odd they push for only one version of guile
14:30:10 <gjanssens> I understand supporting multiple versions of scripting languages has it's challenges, but I assumed it to be a solved problem by now.
14:31:19 <gjanssens> But as you suggest, perhaps guile is not that much in use on slackware.
14:31:56 *** phoenix has quit IRC
14:32:40 <jralls> I suspect that the guile packager got a bit over-enthusiastic. Realistically the Guile guys ought to be devoting most of their effort to supporting GnuCash as we're they're only real users. I really do doubt that most gdb users even know that they can script it with guile. As for Guix and Lepton-EDA, does anyone at all use them besides their authors?
14:33:22 <jralls> Lilypond is still around too, sort of, but they're still on Guile 1.6.
14:34:03 <jralls> oops, we're their only real users.
14:34:40 <gjanssens> :)
14:34:57 <gjanssens> For the time being <evil_grin>
14:36:09 <jralls> Yeah, it's an uncomfortable position for us.
14:36:34 <gjanssens> Righ
14:36:36 <gjanssens> t
14:39:39 *** Gerd has quit IRC
14:41:01 <jralls> Changing the subject, I was about to make a draft PR for c++options and start integrating dialog-options.c, but I realized that I'm exposing *way* too much template code so I'm going to try to hide it.
14:41:41 *** jervin has joined #gnucash
14:42:28 <jralls> IIRC you said last month that you weren't able to compile it. I just fixed up a few gcc issues and what's in https://github.com/jralls/gnucash c++options now builds and tests successfully on ubuntu 18.04
14:42:58 *** guak has quit IRC
14:45:30 *** calvinct has quit IRC
14:46:10 *** jervin has quit IRC
14:46:19 *** guak has joined #gnucash
14:48:54 *** guak1 has joined #gnucash
14:49:19 *** guak has quit IRC
14:49:19 *** guak1 is now known as guak
14:50:27 <gjanssens> Good. I'll try to look at it over the next days
14:55:22 <jralls> That would be great. I hope that the implementation-hiding will just be moving stuff around and not any significant code changes.
15:08:39 * gjanssens just discovered that sheduled transactions create their own parallel account tree starting off of a separate root account
15:08:44 <gjanssens> I didn't know that...
15:11:18 <gjanssens> Now I'm curious how the code knows which is the real root account and which is the SX one...
15:11:24 *** guak1 has joined #gnucash
15:11:49 *** guak has quit IRC
15:11:49 *** guak1 is now known as guak
15:16:54 <jralls> qof_book_get_root_account() returns the real one, gnc_book_get_template_root gets the SX one.
15:20:13 <gjanssens> I found qof_book_get_root_account, but I'm still puzzled.
15:20:40 <gjanssens> How are the collections populated when loading a book ?
15:21:28 <gjanssens> gnc_book_get_root_account queries the GNC_ID_ROOT_ACCOUNT collection (which stands for RootAccount)
15:22:16 *** Han has joined #gnucash
15:22:23 <gjanssens> I'm having some trouble pin pointing where this info is parsed from say an xml book and then added to the collection.
15:22:34 <jralls> https://github.com/Gnucash/gnucash/blob/maint/libgnucash/backend/xml/io-gncxml-v2.cpp#L316
15:25:37 <gjanssens> I'd imagine at some point in the code there should be code to create a GNC_ID_ROOT_ACCOUNT collection and an account added to it as data, but searching for GNC_ID_ROOT_ACCOUNT doesn't get me that
15:26:58 <gjanssens> Hmm, unless of course it gets created automatically on the first call to qof_book_get_collection (book, GNC_ID_ROOT_ACCOUNT)
15:27:53 <gjanssens> I guess the core of my quest is how does the xml parser know when parsing a root account whether that's the book root account or the template root account ?
15:28:12 <jralls> The collection for the template root account is GNC_ID_SXTG, see https://github.com/Gnucash/gnucash/blob/maint/libgnucash/engine/SX-book.c#L65 and https://github.com/Gnucash/gnucash/blob/maint/libgnucash/engine/SX-book.c#L94
15:30:32 <gjanssens> I did find those, thanks.
15:31:01 *** Gerd has joined #gnucash
15:31:14 <gjanssens> I'm trying to trace from another starting point: nothing is loaded just yet and the xml parser starts parsing the file.
15:31:46 <gjanssens> At some point it will read an account of type ROOT and has to drop it in some qof_collection.
15:32:10 <gjanssens> What information does it use to determine whether this is the book root account or the template root account ?
15:33:05 <gjanssens> In the xml file I don't see anything in particular that differentiates the root account from the template root account.
15:33:10 <gjanssens> They are both type ROOT
15:33:50 <gjanssens> They do have a different name, but that doesn't seem to be used while reading the xml file.
15:34:07 *** Gerd has quit IRC
15:37:31 <jralls> The real root account is in the <accounts> section at the beginning of the xml document. The template root account is at the beginning of the <gnc:template-transactions> element and it's set to the template root in add_template_transaction_local at io-gncxml-v2.cpp line 335.
15:41:32 <gjanssens> There's no <accounts> section, but the template root is indeed in the <gnc:template-transacations> section. Finally I see it...
15:42:08 <gjanssens> Now to figure out why my old book as 8 root accounts in the <gnc:template-transactions> section...
15:42:18 <gjanssens> But that's for another day. Time to go.
15:42:32 *** Gerd has joined #gnucash
15:43:09 *** gjanssens has quit IRC
16:01:20 *** bertbob has quit IRC
16:10:27 *** KevinDB has quit IRC
16:12:02 *** KevinDB has joined #gnucash
16:12:02 *** ChanServ sets mode: +v KevinDB
16:13:56 *** bertbob has joined #gnucash
16:13:57 *** ChanServ sets mode: +v bertbob
16:35:54 <zoid> How do I add credit cards opening debt? Negative equity opening balance?
16:39:59 <zoid> Or just debt in general.
17:16:31 *** kael has joined #gnucash
17:16:31 *** ChanServ sets mode: +v kael
17:17:22 *** frakturfreak has quit IRC
17:19:20 *** oozer has joined #gnucash
17:25:20 *** sbluhm has quit IRC
17:37:38 *** warlord has joined #gnucash
17:46:45 *** Gerd has quit IRC
17:49:04 *** kael has quit IRC
18:09:13 <jralls> zoid: Yes, or in formal terms credit Liabailites::MyCreditCard, debit Equity:OpeningBalances
18:19:31 <zoid> thank you jralls!
18:25:15 *** mauritslamers has quit IRC
18:25:23 *** mauritslamers has joined #gnucash
18:25:23 *** ChanServ sets mode: +v mauritslamers
19:03:59 *** omnireq has quit IRC
19:13:08 *** jervin has joined #gnucash
19:14:25 *** jervin has quit IRC
19:15:15 *** jervin has joined #gnucash
19:20:28 *** jervin has quit IRC
19:56:19 *** oozer has quit IRC
20:07:24 *** mauritslamers has quit IRC
20:45:13 *** omnireq has joined #gnucash
21:07:20 *** guak has quit IRC
21:43:42 *** Gerd has joined #gnucash
22:06:12 *** Gerd has quit IRC
22:29:25 *** omnireq_ has joined #gnucash
22:30:37 *** omnireq has quit IRC
22:54:42 *** omnireq_ has quit IRC
22:54:53 *** omnireq_ has joined #gnucash
22:56:25 *** fell has quit IRC
23:01:04 *** jervin has joined #gnucash
23:24:58 *** delli3_ has joined #gnucash
23:27:32 *** delli3 has quit IRC
23:40:36 *** Gerd has joined #gnucash