2017-12-03 GnuCash IRC logs

00:04:31 *** fbruetting has quit IRC
00:29:58 *** chris has quit IRC
00:38:02 <fell> I will be out of town the next days.
00:44:04 <fell> So, merry Santa Claus in advance!
00:46:25 *** Cuare has quit IRC
01:08:50 *** chris has joined #gnucash
01:09:18 *** chris has quit IRC
01:25:36 *** fell has quit IRC
01:26:24 *** fell has joined #gnucash
01:31:02 *** fell has quit IRC
01:41:02 *** bertbob has quit IRC
01:44:05 *** bertbob has joined #gnucash
01:47:18 *** bertbob has quit IRC
02:00:07 *** tuxd00d has joined #gnucash
02:01:39 *** pilotauto has joined #gnucash
02:03:23 *** bertbob has joined #gnucash
02:12:04 *** Mechtilde has joined #gnucash
02:47:22 *** hoijui has joined #gnucash
02:48:41 *** O01eg has joined #gnucash
02:49:53 *** O01eg has quit IRC
02:51:42 *** O01eg has joined #gnucash
03:19:08 *** pilotauto has quit IRC
03:49:55 *** ah has joined #gnucash
04:19:30 *** gjanssens has joined #gnucash
04:19:30 *** ChanServ sets mode: +o gjanssens
04:23:24 *** gjanssens has quit IRC
04:25:16 *** hoijui has quit IRC
05:03:28 *** Mechtilde has quit IRC
05:08:35 *** Mechtilde has joined #gnucash
05:09:07 *** Robert has joined #gnucash
05:09:11 *** Robert has left #gnucash
05:55:28 *** Aussie_matt has joined #gnucash
06:10:14 *** reactormonk has joined #gnucash
06:30:34 *** karelk has quit IRC
07:02:29 *** Aussie_matt has quit IRC
07:27:13 *** ah has quit IRC
07:57:21 *** fbruetting has joined #gnucash
09:19:17 *** reactormonk has quit IRC
09:22:26 *** Jimraehl1 has joined #gnucash
09:23:53 *** Jimraehl1 has quit IRC
09:45:01 *** hoijui has joined #gnucash
10:13:07 *** anon has joined #gnucash
10:29:19 *** fbruetting has quit IRC
11:41:36 *** hoijui has quit IRC
12:03:00 *** reactormonk has joined #gnucash
12:12:56 *** Cuare has joined #gnucash
12:35:10 *** hoijui has joined #gnucash
12:40:32 *** Mechtilde has quit IRC
12:56:54 *** Mechtilde has joined #gnucash
13:00:52 *** O01eg has quit IRC
13:15:59 *** O01eg has joined #gnucash
13:34:55 *** fbruetting has joined #gnucash
13:37:58 *** Mechtilde has quit IRC
13:56:32 *** Mechtilde has joined #gnucash
14:21:49 *** gjanssens has joined #gnucash
14:21:49 *** ChanServ sets mode: +o gjanssens
14:43:25 *** Zabot has joined #gnucash
14:44:18 *** O01eg has quit IRC
14:46:07 <Zabot> Is there a way to automatically import double entry transactions?
14:55:20 *** reactormonk1 has joined #gnucash
14:55:38 <gjanssens> Zabot: what is a double entry transaction for you in this context ?
14:55:38 <gncbot> gjanssens: Sent 1 day, 1 hour, and 10 minutes ago: <jralls> I think we can drop autotools now if you're ready.
14:57:14 *** reactormonk has quit IRC
14:57:55 <Zabot> gjanssens: A transaction that has two accounts associated with it. e.g. a paycheck with income:salary and assets:checking associated with it
14:58:11 <Zabot> So a normal transaction I suppose :P
15:01:17 <Zabot> If I use CSV import though, I can only import half of the transaction. The other account is always imbalanceUSD
15:01:59 <gjanssens> Zabot: the CSV importer in 2.6 was written with another use case in mind
15:02:25 <gjanssens> It is meant to import bank statements, in which one account is always assumed to be the bank account itself
15:03:29 <Zabot> ohhhhhh, gotcha. So if I massage the csv before hand to group all of the transactions from the same account together I should be able to import them one at a time?
15:03:33 <gjanssens> So in 2.6.x csv won't be an option. In 2.8 though the CSV importer has been thoroughly reworked to allow csv data with multi split transactions (2 is also multi in this case)
15:03:58 <gjanssens> Zabot: yes, that's one way to overcome the 2.6 limitation
15:04:56 *** O01eg has joined #gnucash
15:08:34 *** anon has quit IRC
15:10:25 *** Mechtilde has quit IRC
15:13:48 *** CDB-Away_ is now known as CDB-Away
15:17:08 *** anon has joined #gnucash
15:17:36 <chf> Workaround, Zabot:
15:17:36 <chf> 1) Group transactions by account pairs into multiple files.
15:17:36 <chf> 2) Import into 1st account, let the importer drop eveything into "imbalanceUSD" as the 2nd account.
15:17:36 <chf> 3) Delete "imbalanceUSD", choose to NOT delete the transactions, but to put them into the correct 2nd account instead.
15:18:10 <chf> This works fine for a low number of different accounts involved.
15:20:38 <chf> "imbalanceUSD" must obviously be empty/nonexistent at first; it will be recreated in every step 2) if you repeat that scheme.
15:33:52 *** bertbob has quit IRC
15:34:22 *** anon has quit IRC
15:34:53 *** bertbob has joined #gnucash
16:20:17 *** anon has joined #gnucash
16:26:15 *** User has joined #gnucash
16:28:42 *** pilotauto has joined #gnucash
16:32:31 *** User has quit IRC
16:45:34 *** Zabot has quit IRC
16:45:43 *** hoijui has quit IRC
17:53:33 <gjanssens> @tell jralls Great! I'm ready so please go ahead!
17:53:33 <gncbot> gjanssens: The operation succeeded.
17:53:46 *** gjanssens has quit IRC
17:59:37 *** reactormonk1 has quit IRC
18:03:51 *** jralls has joined #gnucash
18:03:51 *** ChanServ sets mode: +o jralls
18:16:43 <jralls> codemsythe: Are you here for real?
18:16:43 <gncbot> jralls: Sent 23 minutes ago: <gjanssens> Great! I'm ready so please go ahead!
18:17:37 <codesmythe> jralls: Yeah, I'm here.
18:20:55 <jralls> The gncla-dir.h/binreloc isn't quite working. binreloc.c needs to recognize absolute paths in the gncla-dir.h defines. That's not too bad, but SYSCONFDIR is set to CMAKE_INSTALL_SYSCONFDIR instead of CMAKE_INSTALL_FULL_SYSCONFDIR, so the /usr magic doesn't happen.
18:22:11 <jralls> I can fix that either at SET SYSCONFDIR in the top-level CMakeLists or at SET sysconfdir in core-utils/CMakeLists. Which would be better?
18:26:05 <codesmythe> I'd go for toplevel so that SYSCONFDIR_BUILD can be derived or hacked like I did for LIBDIR_BUILD. Are we going to do absolute paths for all the dirs, or just sysconf?
18:29:28 <jralls> It will depend on CMAKE_INSTALL_PREFIX. If that's /usr then GNUInstallDirs makes CMAKE_INSTALL_FULL_SYSCONFDIR /etc unless it's overridden and that's where gnucash/environment winds up.
18:30:21 <jralls> The other one like that is LOCALSTATEDIR, but we don't use it.
18:31:41 <jralls> We also need to be able to handle cases where the builder overrides one of the directories with an absolute path.
18:32:50 <jralls> I think in that case we need to disable binreloc. It's not going to work if there are paths that point outside of the prefix.
18:37:38 <jralls> Hmm, the absolute path thing opens up a can of worms for FOO_BUILD. We can't have the build products splattered all over the file system.
18:40:26 <codesmythe> Agreed about the can of worms. That's why I said hacked instead of derived. :-)
18:41:20 <jralls> Same with etc/gnucash. We want it in builddir/something/gnucash where "something" is the path in CMAKE_INSTALL_SYSCONFDIR but irrespective of whether $CMAKE_INSTALL_PREFIX is part of the path.
18:44:05 <codesmythe> I wonder if we'll have to do something DESTDIR lib for the build products, but I haven't thought that through.
18:44:10 <codesmythe> s/lib/like/
18:45:37 <jralls> Hmm. That's an interesting idea. What's the motivation for mirroring the install tree structure in the build dir?
18:47:23 <codesmythe> I wanted to be able to run and debug GnuCash from an IDE without having to install.
18:48:47 *** anon has quit IRC
18:51:41 <jralls> I think you can do that by setting a couple of environment variables, maybe with less trouble. We could fix binreloc.c to look at environment variables as well. That might be a better solution than trying to nail down all of the possible things users could do to us with install path overrides.
18:55:47 <jralls> Another way of approaching it might be that only a vanilla CMAKE_INSTALL_PREFIX that isn't /usr, /usr/local or in /opt (so that CMake doesn't munge the paths) would be runnable from the build dir.
18:56:01 <codesmythe> Meaning run the installed version from the IDE with some env overrides?
18:57:09 <codesmythe> That other ways sounds fine to me. I think the common case for most dev has C_I_P pointing elsewhere.
19:00:01 <jralls> No, not the installed version, the built version, without installing. If we can get guild to not look at the installed path for finding libraries that would save a lot of heartburn too.
19:04:57 <codesmythe> OK. So guild currently looks at the installed path? I rarely if ever install gnucash on my dev box, so I haven't run into that.
19:07:58 <jralls> I think that's where the problem is. If one builds and installs 'maint' and then cleans the dir and tries to build 'unstable' it fails spectacularly. If the difference is less dramatic the build can succeed but tests fail for difficult to understand reasons.
19:12:01 <codesmythe> Unrelated side question: I'm working on a PR to remove autotools and will update the README. Can I convert that to markdown and rename it to README.md?
19:15:20 <jralls> I think you should ask on the devel list. I don't have a problem with that, it will make the presentation look better on Github. The only downside is that it makes it a bit ugly to read with `less` or in a plain-text editor.
19:24:10 <codesmythe> OK. Better looking GitHub was my motivation as well.
19:26:22 *** anon has joined #gnucash
19:55:38 *** anon has quit IRC
21:10:22 *** fbruetting has quit IRC
22:23:14 *** chris has joined #gnucash