2008-09-12 GnuCash IRC logs

00:35:58 *** citrus has joined #gnucash
00:41:51 <citrus> newbie question: Is there a quick way to get gnucash2 running under mac (Tiger) with Fink? My first install I can't get past "gnc.bin-Message: main: binreloc relocation support was disabled at configure time." I've googled and searched for hours, but can't seem to understand how to solve.
00:43:07 <jsled> that's just an ignorable warning.
00:43:08 *** warlord-afk is now known as warlord
00:43:19 <warlord> citrus: it's just.... yeah, what jsled said
00:43:23 <warlord> you can ignore that warning.
00:45:13 <citrus> That's what I've read online, but how to ignore? I just get back to a terminal prompt.
00:45:44 <warlord> ignore it meaning it means nothing. it's not the cause of your failure. period.
00:45:47 <warlord> Do you have X running?
00:47:30 <citrus> I'm not explicitly launching X. Should I? How?
00:47:37 <warlord> With Tiger you have to.
00:47:44 <warlord> (I think)
00:48:03 <jsled> I believe "X11" is under Applications.
00:50:48 <citrus> found it in "Applications>Utilities" and had to call gnucash with "/sw/bin/gnucash"
00:50:50 <warlord> I know that in 10.3 and earlier you need to launch X11 first. I don't recall whether you need to in 10.4. I know that in 10.5 it will auto-launch
00:51:25 <warlord> Yes, you need to call /sw/bin -- unless it's in your PATH
00:51:48 <citrus> is the PATH a Fink variable?
00:54:31 <citrus> a million thanks to you. It's my first experience handling software in this manner. It's frustrating to search and read yet get nowhere.
00:55:09 <warlord> PATH is a system/shell/terminal/X11 setting.
01:06:10 <warlord> good night
01:06:12 *** warlord is now known as warlord-afk
01:10:07 <citrus> thanks
01:44:40 *** citrus has quit IRC
02:14:31 *** esperegu has joined #gnucash
02:40:28 *** Zoolooc has quit IRC
02:42:08 *** ErKa has joined #gnucash
04:06:49 *** JimRaehl has joined #gnucash
06:06:34 *** ErKa has quit IRC
06:13:32 *** martincleaver has joined #gnucash
06:23:40 *** |gunni| has joined #gnucash
06:46:16 *** ErKa has joined #gnucash
07:45:40 *** JimRaehl has left #gnucash
07:55:46 *** _gunni_ has joined #gnucash
07:57:26 *** twunder has joined #gnucash
08:04:19 *** |gunni| has quit IRC
08:12:20 *** twunder has quit IRC
08:15:36 *** warlord-afk is now known as warlord
08:45:01 *** nomeata has joined #gnucash
09:59:00 *** andi5 has joined #gnucash
09:59:01 *** gncbot sets mode: +o andi5
10:29:26 *** ErKa has quit IRC
10:57:11 *** ErKa has joined #gnucash
11:34:45 *** twunder has joined #gnucash
12:01:20 *** andi5 has quit IRC
12:13:15 *** twunder has quit IRC
13:01:59 *** nomeata has quit IRC
13:14:36 *** palatin has joined #gnucash
13:16:12 *** ben_goodger has joined #gnucash
13:18:39 *** cedayiv has joined #gnucash
13:23:20 <warlord> hey charles
13:23:38 <cedayiv> Hi there
13:23:39 <warlord> FYI, some of the differences between account types are the labels used in the register column headers.
13:24:12 <cedayiv> The register thing worked out like we thought - the split holds the original account
13:24:17 <cedayiv> OK
13:24:45 <warlord> yay
13:24:53 <cedayiv> I don't know the difference between some of the accounts, like credit card vs. "just plain" equity.
13:25:04 <warlord> CC is a Liability
13:25:05 <cedayiv> oops.. i meant liability
13:25:43 <warlord> in many cases the type has no additional significance (now)
13:26:21 <cedayiv> Anyway if there are no differences now, there could be. E.g. the "credit card" type could have an account limit and show how much credit is left. (Maybe that feature already exists. I don't know.)
13:26:45 <warlord> It does not currently exist, but yes, it could..
13:27:27 <cedayiv> Similarly, the "stock" and "mutual fund" types could be made more distinct.
13:28:02 <warlord> right
13:28:16 <cedayiv> It's too bad there isn't a more general form of investment account though. If you want to track an ETF, for example, you have to pick "stock" or "mutual fund". It's neither.
13:28:17 <warlord> .. which is why I think they exist as they do now.. for future expansion
13:30:09 <cedayiv> So on the register/exchange rate thing, so far I have just tweaked the zeroing. Now it only zeroes if the new account has a different commodity than the original.
13:30:35 <warlord> ok.
13:31:33 <cedayiv> And I added a new behavior... if you've changed the account to a new commodity (which zeroes the rate) then switch back to the original commodity, it resets the rate to the original value (whatever is already in the split.)
13:32:09 <warlord> neat.
13:34:23 <cedayiv> The exchange rate pops up correctly now if you type in a new account and then try to leave the row with the up/down key, but if you leave the cell some other way (such as tab or enter) then the old behavior persists.
13:34:36 <cedayiv> So still some work to do.
13:36:32 <cedayiv> Is there a mechanism to specify a callback function that gets called just before leaving a cell?
13:36:38 <warlord> Isn't it great how we have multiple code paths based on the means of exiting a row?
13:36:56 <warlord> Ummm... I honestly dont recall.
13:37:00 <cedayiv> (Exactly the reason for my question!)
13:37:10 <warlord> I dont think there is. :(
13:39:05 <cedayiv> So far I only see two ways to leave the current row. You leave via gnc_split_register_traverse(), or by gnc_split_register_save(). Do you know of any others?
13:39:29 <warlord> honestly i dont know.
13:43:50 <cedayiv> OK. The problem is that if you are on the account cell and type in a new account, then press Enter, gnc_split_register_save() gets called instead of gnc_split_register_traverse(). All the brains about what to do when an account changes is in gnc_split_register_traverse(). So I was thinking of pulling that stuff out into a separate function that can be called from either.
13:44:18 <warlord> Sure..
13:44:35 <warlord> Refactoring is always a good thing.
13:48:05 <cedayiv> A more general solution might be to have something like a "traverse_prepare" callback that gets called when a cell is about to be exited, and a different callback function could be set different for each cell. But for now I think it is enough to have a single function that deals with all types of cells. (In fact, I believe currently only the account cell and action cell need special...
13:48:07 <cedayiv> ...treatment at the moment.)
13:49:20 <warlord> I wouldn't spend too much time re-architecting the register... We have the register-rewrite branch.
13:49:51 <cedayiv> I haven't looked at that at all. How far along is it?
13:51:11 <warlord> I honestly dont know.
14:11:08 *** palatin has quit IRC
14:12:21 *** twunder has joined #gnucash
14:13:22 *** sjc has joined #gnucash
14:40:04 *** esperegu has quit IRC
14:45:44 *** twunder has quit IRC
14:51:05 *** cedayiv has quit IRC
15:18:06 *** martincleaver has quit IRC
15:20:03 *** Zoolooc_ has joined #gnucash
15:34:20 *** MatheusNg has joined #gnucash
15:35:49 *** MatheusNg has left #gnucash
15:38:08 *** martincleaver has joined #gnucash
16:06:09 *** twunder has joined #gnucash
16:10:03 *** cedayiv has joined #gnucash
16:16:40 *** twunder has quit IRC
16:41:04 *** martincleaver_ has joined #gnucash
16:41:05 *** martincleaver has quit IRC
17:29:45 *** warlord is now known as warlord-afk
17:40:41 *** ben_goodger has quit IRC
18:01:18 *** cedayiv is now known as cedayiv-afk
18:01:45 *** cedayiv-afk is now known as cedayiv
18:29:01 *** andi5 has joined #gnucash
18:29:02 *** gncbot sets mode: +o andi5
18:35:56 *** Zoolooc_ has quit IRC
19:15:40 *** ErKa has quit IRC
19:22:08 *** cedayiv has quit IRC
19:27:19 *** martincleaver_ has quit IRC
20:28:10 *** donfede has quit IRC
20:35:55 *** JimRaehl has joined #gnucash
20:51:22 *** |gunni| has joined #gnucash
21:00:13 *** _gunni_ has quit IRC
21:38:50 *** sjc has quit IRC
22:29:50 *** JimRaehl has left #gnucash
22:30:31 *** JimRaehl has joined #gnucash
23:05:23 *** nelt has joined #gnucash
23:11:54 *** andi5 has quit IRC
23:49:54 *** benoitg has joined #gnucash
23:51:13 *** benoitg has left #gnucash