2008-03-01 GnuCash IRC logs

00:02:55 *** wizkid239 has joined #gnucash
00:02:56 *** wizkid238 has quit IRC
00:06:24 *** benoitg has joined #gnucash
00:18:50 *** blahdeblah-lap has quit IRC
00:22:23 *** bz has joined #gnucash
00:22:35 <bz> So I seem to be getting somewhere on my asset report problem
00:23:00 <bz> gnc:sum-collector-commodity is returning something like #<<gnc-monetary> commodity: #<gw:wcp <gnc:commodity*> 0x94e3c38> amount: #<<gnc-numeric> num: -1 denom: 0>>
00:23:40 <bz> Perhaps the collector passed in is broken somehow?
00:23:48 <bz> Is there a way to list out the contents of a commodity collector?
00:23:49 *** warlord-afk is now known as warlord
00:24:16 <warlord> bz: that implies you passed in a "bad number"
00:24:25 <bz> yeah, I was sort of assuming something like that
00:24:27 <bz> here's the problem
00:24:32 <bz> I have an account A
00:24:38 <bz> it has subaccounts B and C
00:24:46 <bz> which have some further subaccounts
00:24:52 <bz> This code is doing...
00:25:21 <bz> (gnc:account-get-comm-balance-at-date
00:25:22 <bz> account to-date-tp
00:25:24 <bz> t)
00:25:29 <bz> On account A
00:25:44 <bz> Then passing the result to gnc:sum-collector-commodity
00:25:49 <bz> I get that output with the -1, etc
00:26:12 <bz> If I change the account structure so that account B is a child of A and account C is a child of account A' (a sibling of A)
00:26:29 <bz> Then calling the whole thing on either A or A' works fine
00:26:38 <bz> Things only break if B and C are sibling accounts
00:27:04 <warlord> are you sure that gnc:account-get-comm-balance-at-date is the function you want?
00:27:12 <bz> not at all. ;)
00:27:21 <bz> It's just the function that account-piecharts.scm is using
00:28:11 <bz> In my case, B and C are dollar-denominated container accounts
00:28:16 <bz> and both have mutual fund subaccounts
00:28:48 <bz> I just want the total value of all that stuff as of today, say
00:29:09 <warlord> It's way too late for me to be thinking about this.
00:29:39 <bz> The fact that the whole thing changes when I change the account tree structure is what's really confusing to me...
00:30:01 <bz> If there's a way to list out the commodity collector contents, at least I can tell whether the breakage is before that point or after.
00:30:47 <bz> if there are docs somewhere on what one can do with a collector, I could probably write a listing function..
00:30:58 <warlord> Could be either an initialization issue..
00:32:02 <warlord> Or... possibly a PriceDB issue. Or just how that function is implemented.
00:32:10 <warlord> Could be an issue with what it was designed to do.
00:32:14 <warlord> Or it could just be a bug.
00:32:20 <warlord> You're dealing with 5+ year old code.
00:32:41 <bz> yeah
00:33:02 * bz realizes that
00:33:46 <bz> huh
00:33:48 <bz> pricedb
00:35:23 <bz> eh
00:35:32 <bz> I guess I'll just change the account structure for now
00:35:40 <bz> and see how things look when I finally get this upgraded
00:36:06 <bz> I'd even be happy to debug; I just can't find a good place to start in on it.
00:37:05 <bz> warlord: thank you for your time
00:37:18 <warlord> Sorry, 1.8 is just so old... i really dont even remember where to point you.
00:37:22 <warlord> I dont even have a 1.8 source tree
00:39:13 <bz> I know the feeling
00:40:26 * bz mutters about people filing bugs specific to Gecko 1.7
00:40:33 <bz> This must feel pretty similar.
00:43:20 <bz> so how would you get info out of a commodity collector in 2.2?
00:45:45 * bz finds report-utilities.scm
00:45:48 <bz> ok
00:45:53 <bz> I'll dig into this some more, I guess
00:45:55 *** bz has quit IRC
00:47:07 *** warlord is now known as warlord-afk
00:52:56 *** jcreigh has quit IRC
01:13:46 *** bz has joined #gnucash
01:14:00 *** joerlend_ has joined #GnuCash
01:14:20 <bz> For what it's worth, I figured out what went wrong
01:15:02 *** benoitg has quit IRC
01:15:09 <bz> the commodity collector failed to deal with two mutual fund accounts that were denominated in the same fund but with different "Smallest Fraction" settings
01:15:44 <bz> as soon as you tried to collect the two together, it put itself into an error state for that commodity, and then summing over the collector handed back an error state
01:22:09 *** XiXaQ has quit IRC
01:23:37 *** bz has quit IRC
02:43:03 *** foo has left #gnucash
03:39:27 *** AlonzoTG has quit IRC
03:39:28 *** joerlend_ has quit IRC
03:44:26 *** XiXaQ has joined #GnuCash
03:47:45 *** kielein has joined #gnucash
04:04:14 *** Karti has joined #gnucash
04:54:49 *** Karti has quit IRC
05:13:47 *** cortana has quit IRC
05:22:01 *** cortana has joined #gnucash
05:47:50 *** ErKa has joined #gnucash
06:07:33 *** andi5 has joined #gnucash
06:07:35 *** gncbot sets mode: +o andi5
06:08:59 *** _gunni_ has joined #gnucash
06:09:00 *** ErKa has quit IRC
06:34:16 *** Karti has joined #gnucash
07:35:16 *** vinci has joined #gnucash
08:39:12 *** twunder has joined #gnucash
08:51:06 *** IanL has joined #gnucash
09:27:59 *** samuel has joined #gnucash
09:30:16 <samuel> Hi, is there a way to 'tag' money in something like a checking account? I initially used a subaccount, but then those transactions are not reconcilable with the parent account.
09:32:33 <andi5> samuel: in the initial reconciliation dialog, do you include subaccounts?
09:33:04 <samuel> andi5: I didn't know that was an option. Let me try that.
09:33:33 <samuel> heh, hard to believe I didn't see that. It's not like there are a ton of options;p
09:33:46 <andi5> *g*
09:34:01 <samuel> perfect, that is exactly what I wanted.
09:34:16 <andi5> great :)
09:35:37 <samuel> As an aside, is using a subaccount the normal way to do something like this? What about when I enter interest income on the checking account, which would really include all the money in the logical subaccounts
09:36:39 *** warlord-afk is now known as warlord
09:36:45 <warlord> samuel: Yes, that's generally the way to do it.
09:37:07 <andi5> warlord: good news, make distcheck succeeds :)
09:37:46 <warlord> YAY!
09:38:03 <andi5> (included book closing code and 3 or 4 other pending commits)
09:38:13 <warlord> Okay.
09:38:27 <samuel> warlord: k, thanks
09:40:06 <samuel> btw, for whoever is working on this project. Thanks! Quicken was one of the last Windows apps that I was using, and I hated it. For the most part, I like gnucash quite a bit more.
09:40:12 *** samuel has quit IRC
09:46:25 *** vinci has quit IRC
09:47:29 *** twunder has quit IRC
09:51:06 *** vinci has joined #gnucash
10:01:27 *** charly has joined #gnucash
10:03:04 *** andi5 has quit IRC
10:11:07 *** warlord is now known as warlord-afk
10:11:46 *** andi5 has joined #gnucash
10:11:46 *** gncbot sets mode: +o andi5
10:12:39 *** benoitg has joined #gnucash
10:46:10 *** vinci_ has quit IRC
10:54:58 *** ErKa has joined #gnucash
11:00:51 *** IanL has quit IRC
11:28:39 *** andi5 has quit IRC
11:37:23 *** ErKa has quit IRC
11:40:38 *** wizkid238 has joined #gnucash
11:40:39 *** wizkid239 has quit IRC
11:41:11 *** twunder has joined #gnucash
12:04:18 *** wizkid239 has joined #gnucash
12:13:07 *** wizkid238 has quit IRC
12:18:08 *** Zoolooc_ has joined #gnucash
12:29:06 *** Slart has quit IRC
12:34:19 *** wizkid238 has joined #gnucash
12:34:19 *** wizkid239 has quit IRC
12:49:50 *** twunder has quit IRC
13:05:27 *** jcreigh has joined #gnucash
13:07:59 *** twunder has joined #gnucash
13:13:06 *** wizkid239 has joined #gnucash
13:22:02 *** wizkid238 has quit IRC
13:28:33 *** wizkid238 has joined #gnucash
13:28:33 *** wizkid239 has quit IRC
13:33:34 *** wizkid239 has joined #gnucash
13:38:39 *** wizkid238 has quit IRC
13:40:16 *** XiXaQ has quit IRC
13:43:04 *** twunder has quit IRC
13:49:15 *** charly has left #gnucash
14:03:51 *** |gunni| has joined #gnucash
14:12:40 *** _gunni_ has quit IRC
14:22:59 *** vinci has quit IRC
15:33:43 *** sjc has joined #gnucash
15:38:35 *** wizkid238 has joined #gnucash
15:45:53 *** wizkid239 has quit IRC
15:57:28 *** wizkid239 has joined #gnucash
16:02:56 *** wizkid238 has quit IRC
17:14:41 *** cortana has quit IRC
17:17:46 *** wizkid238 has joined #gnucash
17:17:47 *** wizkid239 has quit IRC
17:23:06 *** cortana has joined #gnucash
17:23:33 *** mozzer has joined #gnucash
17:24:20 *** mozzer has left #gnucash
17:25:54 *** twunder has joined #gnucash
17:32:54 *** twunder has quit IRC
17:42:58 *** kielein has quit IRC
18:26:18 *** _McLANE_ has joined #gnucash
18:35:41 *** Zoolooc_ has quit IRC
18:50:36 *** conrad has quit IRC
19:04:30 *** conrad has joined #gnucash
19:04:31 *** gncbot sets mode: +o conrad
19:09:34 *** cortana has quit IRC
19:12:02 *** tndfr has joined #gnucash
19:12:20 <tndfr> hi guys
19:12:42 <tndfr> can you please tell me when 2.2.4 of gnucash will be released?
19:14:17 <tndfr> i am using 2.2.3 and it is really bug (windows machine)
19:17:25 *** cortana has joined #gnucash
19:18:49 *** andi5 has joined #gnucash
19:18:49 *** gncbot sets mode: +o andi5
19:19:21 <andi5> tndfr: i wonder what makes you think that 2.2.4 will solve your problems? :)
19:19:54 <tndfr> i was just hoping that some of the bugs have been fixed thats all
19:20:14 <tndfr> andi5 do you know when it is being released?
19:20:25 <andi5> sure, some have been.... at least 25 of them
19:21:03 <andi5> i plan to build the tarball tomorrow, the win32 binary is built thereafter, followed by the announcement(s)
19:21:19 <tndfr> thanks andi5
19:21:33 <tndfr> you guys are doing an amazing job!
19:21:36 <andi5> tndfr: please give me a hint about your problems :)
19:22:06 <tndfr> it seems most of the bugs is print related
19:22:22 <andi5> thanks, i am just a lurker :)
19:22:37 <andi5> oh, 2.2.4 will not change anything there, i am sorry
19:23:25 <tndfr> my work pc i dont have linux, but at home gnucash is working just fine, never had a problem (touch wood)
19:23:33 <andi5> but i guess i will have to check out gtk+ print support once again, maybe it is better now (at least cairo 1.6 should help and win32 print bugs seem to be in focus right now)
19:24:16 <andi5> tndfr: have you tried to print to a pdf?
19:24:36 <tndfr> yep that was unstable too
19:24:43 <andi5> ok
19:24:50 <tndfr> it cliped some of the pages
19:25:49 <tndfr> other than that the program is just perfect
19:25:56 <tndfr> especially on a linux box
19:26:23 <andi5> :-) .... if you have too much ram, think about (para-) virtualization ;-)
19:27:29 <andi5> anyway, i have got to go^Wsleep ... see you
19:27:54 *** andi5 has quit IRC
19:29:41 *** tndfr has left #gnucash
19:47:59 *** aindilis has quit IRC
20:01:31 *** |gunni| has quit IRC
20:08:21 *** aindilis has joined #gnucash
20:36:05 *** sjc has quit IRC
21:10:41 *** _McLANE_ has quit IRC
21:12:11 *** twunder has joined #gnucash
22:02:08 *** benoitg has left #gnucash
22:23:13 *** twunder has quit IRC
22:25:36 *** twunder has joined #gnucash
23:04:34 *** twunder has quit IRC
23:15:55 *** nbinont has joined #gnucash
23:58:33 *** Karti has quit IRC