2013-12-13 GnuCash IRC logs

00:18:13 *** mta has quit IRC
00:56:43 *** fell has quit IRC
01:01:24 *** amjam has joined #gnucash
01:11:56 *** jmd has joined #gnucash
01:13:25 *** jmd has quit IRC
01:23:02 *** fell has joined #gnucash
01:23:03 *** gncbot sets mode: +o fell
01:57:28 *** warlord has joined #gnucash
01:57:29 *** gncbot sets mode: +o warlord
02:20:30 *** john has joined #gnucash
02:20:30 *** gncbot sets mode: +o john
02:33:04 *** jmd has joined #gnucash
02:33:57 *** amjam has quit IRC
02:40:57 *** gjanssens has joined #gnucash
02:40:57 *** gncbot sets mode: +o gjanssens
02:45:39 *** jmd has quit IRC
03:02:58 *** ErKa has quit IRC
04:07:02 *** GabrieleV has quit IRC
04:09:53 *** john has quit IRC
04:10:33 *** GabrieleV has joined #gnucash
04:14:05 *** fell_ has joined #gnucash
04:14:06 *** gncbot sets mode: +o fell_
04:22:31 *** GabrieleV_ has joined #gnucash
04:22:59 *** fell has quit IRC
04:26:06 *** Gabriele- has joined #gnucash
04:28:00 *** GabrieleV has quit IRC
04:28:00 *** Gabriele- is now known as GabrieleV
04:33:04 *** GabrieleV_ has quit IRC
04:37:41 *** fell_ is now known as fell
04:43:15 *** uXus has quit IRC
05:07:00 *** GabrieleV has quit IRC
05:14:36 *** aqua___ has joined #gnucash
05:59:34 *** mikee-afk is now known as mikee
06:39:39 *** aqua_ has joined #gnucash
06:43:48 *** aqua__ has joined #gnucash
06:47:21 *** aqua___ has quit IRC
06:50:04 *** jmd has joined #gnucash
06:52:18 *** aqua_ has quit IRC
07:02:54 *** jmd has quit IRC
07:02:54 *** jmd has joined #gnucash
07:27:05 *** Jimraehl has joined #gnucash
07:27:45 *** jmd has quit IRC
07:32:09 *** Jimraehl has quit IRC
07:35:49 *** uXus has joined #gnucash
07:49:37 *** jmd has joined #gnucash
07:53:52 *** jmd has quit IRC
07:53:53 *** jmd has joined #gnucash
08:05:35 *** jmd has quit IRC
08:05:36 *** jmd has joined #gnucash
08:17:45 *** jmd has quit IRC
08:18:27 *** jmd has joined #gnucash
08:22:46 *** jmd has quit IRC
08:22:47 *** jmd has joined #gnucash
08:25:08 *** jmd has quit IRC
08:25:09 *** jmd has joined #gnucash
08:33:21 *** againstdemons has quit IRC
08:33:52 *** againstdemons has joined #gnucash
08:36:26 *** jmd has quit IRC
08:36:27 *** jmd has joined #gnucash
08:36:37 *** amjam has joined #gnucash
08:40:50 *** jmd has quit IRC
08:40:51 *** jmd has joined #gnucash
08:51:02 *** jmd has quit IRC
08:53:17 *** amjam has quit IRC
08:54:02 <gjanssens> mikee: did you see the conversation of a couple of days ago regarding the business import menu items ?
08:55:35 <gjanssens> mikee: http://lists.gnucash.org/logs/2013/12/2013-12-10.html#T13:36:32
08:57:53 *** againstdemons has quit IRC
08:59:35 *** againstdemons has joined #gnucash
09:04:27 *** jmd has joined #gnucash
09:12:08 *** jmd has quit IRC
09:12:09 *** jmd has joined #gnucash
09:13:50 <mikee> gjanssens: I did. I looked into how to move the menu items but couldn't remember, or find, how to do that
09:15:23 <mikee> I seem to recall it should be simple to move these items.
09:15:25 <gjanssens> I haven't looked into it in detail, but in general it should be as simple as changing the .ui file that comes with the business import features
09:15:57 <gjanssens> I presume it currently refers to the business menu, where it should now instead refer to the file-import menu
09:16:48 <mikee> I'll look at it again.
09:18:59 <mikee> Found it!
09:19:31 <gjanssens> you can use src/import-export/csv-import/gnc-plugin-csv-import-ui.xml as an example
09:20:18 <mikee> Perfect.
09:22:47 *** jmd has quit IRC
09:24:32 *** jmd has joined #gnucash
09:32:45 *** fell has quit IRC
09:35:37 *** jmd has quit IRC
09:36:12 *** jmd has joined #gnucash
09:38:29 <mikee> Done, thanks gjanssens. Will commit it after I drink my tea.
09:38:47 <mikee> Geert, I mean.
09:39:06 <gjanssens> Great! Thanks mikee (or Mike)
09:43:42 <mikee> Committed r23555
09:54:44 <gjanssens> Nice, tx
09:54:47 *** TradeBorG111 has joined #gnucash
10:21:40 *** ErKa has joined #gnucash
10:33:21 *** againstdemons has quit IRC
11:04:46 *** warlord has quit IRC
11:23:31 *** mikee is now known as mikee-afk
11:28:14 *** benoitg has quit IRC
11:36:34 *** ErKa has quit IRC
11:41:46 *** warlord has joined #gnucash
11:41:46 *** gncbot sets mode: +o warlord
12:03:32 *** StuM has quit IRC
12:09:29 *** ErKa has joined #gnucash
12:41:31 *** Krzysiek_K has joined #gnucash
13:11:16 *** Krzysiek_K has left #gnucash
13:11:49 *** benoitg has joined #gnucash
13:11:50 *** gncbot sets mode: +o benoitg
13:39:39 *** john has joined #gnucash
13:39:40 *** gncbot sets mode: +o john
13:40:41 <gjanssens> Hi john
13:41:07 <gjanssens> I have found the cause of bug 719481 (the guile crash)
13:41:21 <gjanssens> The bad news is that it's a bug in swig, not gnucash
13:41:45 <gjanssens> I'm currently testing a workaround in gnucash so we don't have to wait for a swig update
13:41:53 <gjanssens> (which I'm also working on btw)
13:42:00 <john> Hi, Geert.
13:45:49 <john> 706047 is proving to be really ugly. I've got at least another day of debugging before I can start on solutions.
14:09:26 *** aqua__ has quit IRC
14:12:45 *** aqua___ has joined #gnucash
14:20:27 <john> warlord: Derek, do you know where the code is in register which selects which splits to attach to a transaction?
14:21:39 *** fell has joined #gnucash
14:21:40 *** gncbot sets mode: +o fell
14:27:06 <warlord> john: I'm not sure I understand the question.. The splits are tied to the underlying transaction already.. The rows just point to a transaction or split, and when you create a new split line it automatically gets attached to the "open transaction"
14:31:37 *** KaiForce has joined #gnucash
14:34:08 <john> Right. The catch is that if you have trading accounts enabled, create a transaction, open that transaction in split view, select the non-trading foreign currency (or, I suppose, stock, though I haven't tested that) split, and change the exchange rate, it creates an imbalance split. So far so good. But if you delete the split, it's removed from the displayed list of splits, but the debugger reveals that it's still in the transaction's list of splits. So the regist
14:34:08 <john> is looking somewhere else for the splits it displays.
14:39:05 <gjanssens> john: while looking for my bug, I noticed that the transaction cut command stores the copied transaction (including splits) in an scm object, which is then hidden from the register
14:39:23 <gjanssens> on paste it's recovered from that same scm object
14:39:41 <gjanssens> perhaps your issue is using a similar trick ?
14:40:24 <john> Maybe, but I don't know where to look for it.
14:41:07 <john> The bouncing back-and-forth between C and Scheme drives me nuts, though.
14:41:25 <gjanssens> sure is :(
14:42:50 *** aqua___ has quit IRC
14:47:31 *** amjam has joined #gnucash
15:10:59 <warlord> john: you got cut off after "So the regist"
15:11:18 <warlord> The splits are still around until you commit the transaction.
15:11:40 <john> Weird. So the register is looking somewhere else for the splits it displays.
15:11:50 <warlord> What do you mean "somewhere else"?
15:12:17 <john> Somewhere other than the transaction's split list, trans.splits.
15:12:19 <warlord> The split_ledger_load() loads the transactions and splits into the register. That gets re-called after you commit.
15:13:32 <warlord> I think the only backing-store is for the current cursor line, but there may be backing store for the complete open transaction
15:13:50 <warlord> (so you can "cancel" your changes and rollback to the last txn commit)
15:13:57 <john> Except there's another possibility that I just realized: A split can be deleted and still be in the split list. FOR_EACH_SPLIT doesn't check xaccTransStillHasSplits.
15:15:33 <john> I think that's more likely the problem than two ways of finding a transaction's splits. Some functions iterate over the list themselves and call StillHasSplit, but the balancing function uses FOR_EACH_SPLIT.
15:17:15 <john> grep comes up empty on split_ledger_load
15:18:50 <john> Do you mean split_register_load?
15:26:01 <warlord> probably ;)
15:36:01 *** gjanssens is now known as gjanssens_
15:53:36 *** amjam has quit IRC
16:12:06 *** gjanssens_ has quit IRC
16:48:31 *** KaiForce has quit IRC
17:27:37 *** TradeBorG111 has quit IRC
19:12:38 *** benoitg has quit IRC
19:15:09 *** amjam has joined #gnucash
19:58:42 *** StuM has joined #gnucash
20:52:28 *** bpburns has quit IRC
21:13:51 *** amjam has quit IRC
21:59:06 *** warlord has quit IRC
22:46:06 *** ErKa has quit IRC
22:59:27 *** amjam has joined #gnucash
23:14:48 *** StuM has quit IRC