2007-12-09 GnuCash IRC logs
00:02:00 <IanL> IdeAlEss that isn't a backtrace but what was printed to the console right?
00:02:43 <IanL> A backtrace made with gdb and sent the mailing list might help a bit more.
00:02:47 <andi5> i would call it a guile/scheme backtrace :) [it even prints it]
00:03:26 <andi5> not necessarily... a lot of eval.c's do not help a lot, from my point of view =)
00:04:43 <andi5> IdeAlEss: you could search for a similar bug in bugzilla.gnome.org (i think there is at least one) and provide additional information there, though
00:05:54 <IanL> perhaps. I just thought that if it causes gnucash to crash then a full gdb backtrace would be more helpful.
00:07:04 <andi5> IanL: very often that is true
00:07:11 <IdeAlEss> Yes, it is what was printed in the console.
00:07:26 <IanL> The "current-input" part is likely a config file. saved-reports-2.0 sounds likely
00:07:35 <IdeAlEss> I got it working from andi5 pointer to ~/.gnucash/books/...
00:08:07 <IdeAlEss> I had a custom report which no longer works in my file. I had to remove it so it didn't open.
00:08:13 <IdeAlEss> thanks for the help everyone!
00:08:21 <andi5> great... please go the bugzilla route and add the offending lines there... that would help a lot
00:23:02 <IdeAlEss> Hey, while I am in here.... Is there anything out there that easily does a simple budget to actual compare with gnucash data?
00:23:30 <IdeAlEss> No offense to the developers, but the included budgeting tools are almost worthless for a home user.
00:37:25 <jcreigh> :w
00:37:36 <jcreigh> sorry, wrong window. :)
00:47:15 *** IanL has left #gnucash
01:00:18 *** twunder has quit IRC
01:01:03 *** andi5 has quit IRC
01:19:49 *** nbinont has quit IRC
02:55:54 *** joerlend_ has joined #GnuCash
03:04:39 *** joerlend has quit IRC
04:20:05 *** joerlend has joined #GnuCash
04:21:13 *** Zoolooc has joined #gnucash
04:28:09 *** joerlend_ has quit IRC
04:48:55 *** joerlend_ has joined #GnuCash
04:57:40 *** joerlend has quit IRC
05:11:46 *** Zoolooc_ has joined #gnucash
05:20:53 *** Zoolooc has quit IRC
05:39:56 *** pdc_ has joined #gnucash
05:41:00 *** pdc has quit IRC
05:53:10 *** Zoolooc_ has quit IRC
06:01:23 *** Zoolooc has joined #gnucash
06:23:43 *** kielein has joined #gnucash
06:35:49 *** Zoolooc_ has joined #gnucash
06:41:56 *** Zoolooc has quit IRC
06:46:43 *** Zoolooc has joined #gnucash
06:50:03 *** Zoolooc__ has joined #gnucash
06:54:55 *** Zoolooc_ has quit IRC
06:56:02 *** IdeAlEss has quit IRC
06:58:55 *** Zoolooc has quit IRC
07:07:06 *** joerlend__ has joined #GnuCash
07:15:43 *** joerlend_ has quit IRC
07:53:47 *** ural0 has joined #gnucash
07:54:34 *** ural0 has left #gnucash
07:59:37 *** Zoolooc_ has joined #gnucash
08:07:57 *** Zoolooc__ has quit IRC
08:12:52 *** Zoolooc_ has quit IRC
08:24:37 *** Zoolooc has joined #gnucash
08:32:49 *** IdeAlEss has joined #gnucash
08:50:12 *** Patrick_ has joined #gnucash
08:52:37 <Patrick_> Hi, since I have a problem with online banking with Postbank on Windows which is said to be fixed in 2.2.2, I am curious, when 2.2.2 will be released.
08:55:48 *** IanL has joined #gnucash
09:10:00 <Patrick_> Hi, since I have a problem with online banking with Postbank on Windows which is said to be fixed in 2.2.2, I am curious, when 2.2.2 will be released.
09:14:24 *** andi5 has joined #gnucash
09:15:23 <andi5> Patrick_: http://lists.gnucash.org/pipermail/gnucash-de/2007-December/005342.html
09:16:26 <andi5> @tell nbinont how is your next weekend?
09:16:26 <gncbot`> andi5: The operation succeeded.
09:17:06 *** Patrick_ has quit IRC
09:36:28 *** andi5 has quit IRC
09:40:53 *** andyt has joined #gnucash
09:49:28 *** roxy_ has joined #gnucash
09:53:08 *** roxy_ has quit IRC
09:57:27 *** tim_abell_ has joined #gnucash
10:27:08 *** Cosmic has joined #gnucash
10:27:26 <Cosmic> hello all
10:27:50 *** Zoolooc_ has joined #gnucash
10:35:10 *** Zoolooc has quit IRC
10:39:02 *** IanL has quit IRC
10:42:51 <Cosmic> newb question ;) ... in the dwmbeancounter tutorial suggested as a good references for book keeping newbs (like me) the author includes office supplies under 'Assets' (eg http://www.dwmbeancounter.com/tutorial/lesson05.html )
10:42:53 <Cosmic> where as gnucash's default business accounts includes office supplies under 'expences' (which makes more sence to me) ... is he making the assumption that as the office supplies are used up they would be moved from assets to expences ? (or am I missing somthing ?)
10:45:08 <jsled> I have no idea what he's assuming.
10:45:27 <jsled> But it makes sense to have both, I guess.
10:45:50 <jsled> Assets for the unused portion (if you have a box of reams of going-unused paper, you could conceivably sell it...)
10:46:02 <jsled> And Expenses for the consumed portion.
10:46:14 <jsled> But, IANAA
10:46:22 * Cosmic nods ... sort of what I thought
10:46:47 <Cosmic> just means you'd have to check the inventory regularly and adjust the books accordingly
10:47:04 <Cosmic> and I dont see a big advantage to doing it that way
10:47:05 <Cosmic> ?!
10:47:10 <jsled> right.
10:48:55 <Cosmic> Im just working my way through that tutorial (slowly ;)
10:49:01 <Cosmic> its mostly making sence
11:13:24 *** c0smic has joined #gnucash
11:14:10 *** Cosmic has quit IRC
11:17:05 *** c0smic is now known as Cosmic
11:37:59 *** warlord-afk is now known as warlord
11:38:08 <warlord> jsled: could you renick and op gncbot?
11:38:33 <jsled> @nick gncbot
11:38:33 *** gncbot` is now known as gncbot
11:38:42 *** jsled sets mode: +o gncbot
11:38:45 <jsled> @op warlord
11:38:46 *** gncbot sets mode: +o warlord
11:39:06 <warlord> ty
11:46:00 *** andi5 has joined #gnucash
11:46:01 *** gncbot sets mode: +o andi5
11:47:16 *** BlackBsd has joined #GnuCash
11:56:29 *** ErKa has joined #gnucash
12:23:51 *** Zoolooc__ has joined #gnucash
12:32:12 *** Zoolooc_ has quit IRC
12:32:27 *** motin_0 has joined #gnucash
12:43:12 *** palatin has joined #gnucash
12:44:08 *** palatin has quit IRC
12:46:09 *** palatin has joined #gnucash
12:57:27 *** tim_abell__ has joined #gnucash
13:02:29 *** tim_abell_ has quit IRC
13:06:24 *** motin_0 has quit IRC
13:21:10 *** motin_0 has joined #gnucash
13:49:54 *** Zoolooc_ has joined #gnucash
13:59:12 *** Zoolooc__ has quit IRC
13:59:48 *** twunder has joined #gnucash
14:03:47 *** twunder has quit IRC
14:21:20 <jsled> :(
14:21:36 <jsled> My saved-reports-2.0 file causes the book to become dirty on startup.
14:22:00 <andi5> :(
14:22:06 <jsled> I'm beginning to hate QOF.
14:22:17 <andi5> hehe
14:22:31 *** ErKa has quit IRC
14:22:34 <andi5> jsled: btw, the crash volker reported is pretty reproducible
14:22:52 <andi5> but i have not found out yet where it is coming from
14:23:10 <jsled> yeah ... I was leading toward trying to reproduce it, but wanted to at least understand this "you're about to lose the past 1 minutes of work" when I startup gnucash.
14:27:28 <andi5> hm... i cannot even start gdb with libefence.so preloaded...
14:27:47 <andi5> maybe i should try to attach?
14:29:20 <andi5> nice... that seems to work, but barks a lot too early ;-)
14:34:01 <jsled> Hmm. It just crashes straightaway for me.
14:34:12 <jsled> which is good. :)
14:34:46 <andi5> yep, i think i did not even see the double-linked list warning
14:34:48 <jsled> Oh, in gdb the bt is hosed and I get the glibc detection.
14:36:52 <andi5> http://pastebin.ca/raw/810213 ... nice, is not it?
14:37:39 <jsled> hmm?
14:38:18 <andi5> oh, feel free to ignore it... that is evence making gnucash crash when it tries to create a main window
14:38:19 <jsled> I mean, it is... I just got another half-there-half-not stack trace. malloc_consolidate -> main_arean -> free_rl_list (libpango), malloc_consolidate (crash)
14:38:26 <jsled> Ah.
14:38:35 <andi5> efence, even
14:38:49 <jsled> And I got my BT before gnc_plugin_page_sx_list_close_cb was called, even.
14:39:19 <jsled> I was hoping to at least step through the top-level call-tree to get a sense of where it's segfaulting.
14:39:35 <jsled> I guess I need to start earlier, like when the close button is called.
14:39:38 <jsled> Any idea where that is?
14:40:12 <andi5> gnc_main_window
14:40:57 <andi5> _close_page ....
14:41:05 *** andi5 is now known as andi5|brb
14:49:59 <jsled> huh. Why does gdb no longer open the relevant source file? :/
14:53:15 *** andi5|brb is now known as andi5
14:53:43 <andi5> it is a complot
14:58:35 *** warlord is now known as warlord-afk
15:09:03 *** rhowe has quit IRC
15:14:25 <andi5> jsled: do you have the slightest idea?
15:15:11 <jsled> andi5: not quite; I'm tracing through the GncSxInstanceModel memory-freeing recursion at the moment...
15:15:20 <jsled> At least trying to localize where it's segfaulting.
15:16:42 <jsled> bah.
15:17:10 <jsled> it's somewhere after leaving gnc_plugin_page_sx_list_dispose
15:17:31 <jsled> And I just got the same partial stack with free_rl_list for libpango.
15:17:44 <jsled> s for/from
15:18:09 <jsled> I had been tweaking the gnc dense cal a bit before ... I wonder if it's in there somewhere.
15:19:10 <jsled> I wonder if it'd be easy to back those cahnges out to see...
15:19:37 <andi5> r16448?
15:20:33 <jsled> yeah.
15:20:39 *** sjc has joined #gnucash
15:20:46 <andi5> i can test that
15:23:38 <andi5> hui... no crash this time
15:23:52 <jsled> oh?
15:23:53 <andi5> hm... well, unless i try to close gnucash ;-)
15:23:53 <jsled> Great.
15:24:01 <andi5> sorry
15:25:19 <andi5> http://pastebin.ca/raw/810277 ... i do not know whether it is related
15:26:09 <andi5> ok... did not help
15:26:10 <jsled> hmmm. did you do any system updating recently? gtk libraries, maybe?
15:26:26 <andi5> yes, i rebuild the gnome stack recently
15:26:53 <andi5> glib 2.14.2 and gtk+ 2.12.1 here
15:26:59 <jsled> I did a few weeks ago ... I wonder if Volker did, too.
15:27:21 * andi5 tries to downgrade, in case it is possible
15:27:25 <jsled> 2.12.1 here, too.
15:35:33 <jsled> Ah, a better verison of the stack trace I keep getting: http://pastebin.ca/810286
15:35:48 <jsled> (also, M-x gdba is nicer than M-x gdb ...
15:35:49 <jsled> )
15:36:50 <andi5> will gdba find our leak or whatever it is? :)
15:36:55 <jsled> heh.
15:37:11 <jsled> Well, I'm going to try a different allocator... if I can find where/how to do that.
15:37:39 <andi5> what is the difference between template txns w/ and w/o variables?
15:38:03 <jsled> Uh ... with variables the instance model gets a variable hash table.
15:38:06 <jsled> that's a great question.
15:38:47 <andi5> oh, i.e. the model does not have an empty hash table otherwise?
15:39:00 <jsled> I forget if it's null or empty.
15:45:23 *** twunder has joined #gnucash
15:45:55 <andi5> btw, looking at gnc_sx_parse_vars_from_formula ... we dup var names when putting as key into parser_vars, right?... but where do we free them?
15:46:55 <jsled> in gnc_sx_instance_new, as the key-destroy-function on the g_hash_table_new.
15:47:03 <jsled> s/_new/_new_full/
15:48:02 <andi5> hm... i would rather think parser_vars is created in gnc_sx_instance_get_variables_for_parser via g_hash_table_new(g_str_hash, g_str_equal);
15:48:35 <jsled> Ah...
15:49:45 <jsled> yes, you're right. we don't seem to.
15:51:55 <andi5> hm........
15:52:08 <jsled> but that should just cause them to leak, not...
15:52:45 <andi5> that parser_vars is passed to gnc_exp_parser_parse_separate_vars... and it seems some keys and values are freed there
15:53:29 <andi5> i doubt there g_free's should be there at all and g_hash_table_remove should do the trick
15:55:17 <jsled> it looks like g_hash_table_remove defers to any destroy functions associated with the table at _new_full.
15:55:47 <andi5> cool
15:56:03 <andi5> let me retest (it worked once)
15:56:10 <jsled> hmm?
15:56:30 <jsled> do you think you've Volker's issue, there?
15:56:55 <andi5> i thought, but i should rather keep my mouth :(
15:56:59 <jsled> ah.
15:58:49 *** cstim has joined #gnucash
15:58:49 *** gncbot sets mode: +o cstim
15:58:58 <cstim> http://hannah.cstim.de
15:59:23 <andi5> heeey... congratulations :-D
16:00:30 <andi5> boah... they are so damn tiny :)
16:00:42 <jsled> cstim: hey, congrats!!! :)
16:01:58 <cstim> jsled: yes.
16:02:03 <cstim> (that's the point of that picture :-)
16:02:22 <jsled> :)
16:02:25 <cstim> thanks for all good wishes :)
16:02:58 <cstim> this was veeeeeery fast. We left for hospital at 3am. At 5am, Hannah was there.
16:03:03 <andi5> no sleep until.... march? ;-)
16:03:06 <cstim> at 11am, we were at home again.
16:03:14 <andi5> cool
16:03:29 <andi5> McChild
16:03:45 <jsled> heh.
16:04:33 * andi5 wishes you all the best
16:09:36 <cstim> thanks
16:18:27 *** warlord-afk has quit IRC
16:22:08 *** twunder has quit IRC
16:27:12 *** cstim has quit IRC
16:39:56 *** sjc has quit IRC
16:42:08 *** andi5 has quit IRC
16:53:12 *** yolkaplexus has joined #gnucash
16:53:24 <yolkaplexus> hello there
16:55:57 <yolkaplexus> GC is taking more and more file do I have to worry about optimisation of my datas (almost 90Mb)
16:56:43 <yolkaplexus> e.g. do i have to back up my data and re create the data every year ?
17:11:19 *** palatin has quit IRC
17:14:04 *** jcreigh has quit IRC
17:14:11 *** twunder has joined #gnucash
17:19:24 *** BlackBsd has quit IRC
17:21:50 *** elb has joined #gnucash
17:22:25 <elb> hi, I'm trying to do a relatively complicated stock sale, and failing miserably
17:22:33 <elb> the problem seems to be some split shares
17:23:28 <elb> the two halves of the split are different lots, and the sale crosses like 5 different lots (for various reasons); the problem is that I'm coming up with huge imbalances because of the sale prices
17:23:51 <elb> you know what, I just figured it out ... the original lots will show large losses, and the split lots will show pure profit, never mind :-)
17:25:44 *** IdeAlEss has quit IRC
17:32:15 <elb> UGH
17:32:19 <elb> I cannot get this to balance to save my LIFE
17:34:38 *** IdeAlEss has joined #gnucash
17:36:29 <elb> do I have to have a separate capital gains entry for each lot transaction?
17:37:59 <elb> son of a bitch, it crashed
17:41:42 <elb> UGH, I've lost a good hour's work
17:52:02 *** twunder has quit IRC
17:58:10 *** yolkaplexus has quit IRC
18:06:54 *** andyt has quit IRC
18:16:14 *** Zoolooc__ has joined #gnucash
18:18:16 *** twunder has joined #gnucash
18:24:46 *** Zoolooc_ has quit IRC
18:28:47 <elb> all right, here's the deal to wrap up my monologue; if I execute a *single portion* of this complex trade, having to do with a lot of four shares which have split and lost value, here's what happens: I put in a transfer to my cash account for $119.99, a transfer to commissions for $0.01, and a transfer from capital gains for $147.60 (the perceived loss, post-split). I then put in a transfer of -4 shares at $30ea., and a transfer of 0 shares at $0 each for a total
18:28:56 <elb> as best I can tell, this is correct from the concepts guide
18:29:21 <elb> but if I scrub the account in the lot viewer, it adds an *additional* capital loss for $147.60
18:29:24 <elb> what am I doing wrong?
18:30:00 <jsled> elb: you might have more luck on gnucash-user ..
18:30:27 <elb> ahh, ok, I shall repost there
18:31:10 <elb> but for now, I'm going to set this computer on fire and eat dinner while it burns
18:31:13 <elb> ;-)
18:31:20 <jsled> lol. computers suck.
18:31:25 <elb> (I've spent about an hour and a half on this crap)
18:31:37 *** sjc has joined #gnucash
18:31:48 *** andi5 has joined #gnucash
18:31:48 *** gncbot sets mode: +o andi5
18:31:52 <elb> I'm strongly considering representing only effective gains & losses in gnucash, because dealing with the actual stock transactions seems to be ridiculously difficult
18:33:45 <andi5> jsled: does r16629 fix volkers bug?
18:33:50 <jsled> yup.
18:33:57 <andi5> cool :-D
18:34:01 <jsled> yup.
18:34:56 <andi5> how did you find that out?
18:36:26 <jsled> andi5: your question ... it only shows up when variables are involved. I just changed the key-destroy fn for variable_names and variable_bindings (in sequence) to null (and just let them leak) to see which was causing it.
18:36:43 <jsled> There's only one other reference of variable_bindings in the file; and it doesn't dup the key.
18:37:21 <andi5> oh, another idea: one could also change the destroy functions to print out debugging info :)
18:37:40 <andi5> but hey =)
18:37:51 * andi5 builds and will take a look at it
18:38:27 <jsled> heh. True ... though then it's a matter of keeping track of all the inserted memory addresses...
18:39:05 <jsled> I wish valgrind was more readily useful.
18:39:12 <andi5> ah, you are probably right
18:40:28 <andi5> how boring... it does not crash anymore :(
18:40:33 <jsled> heh.
18:40:41 <andi5> well done!
18:41:46 <jsled> thanks. 4 hours, one fucking bug.
18:41:56 <jsled> non-managed languages suck.
18:42:06 <andi5> *g*
18:43:12 <andi5> what do you think how many hours i have been sitting staring and debugging gtktreemodel{filter,sort} code? :-) .... (i suppose you did as well)
18:43:54 *** tim_abell_ has joined #gnucash
18:43:55 <jsled> heh heh. Indeed (Though myself not nearly as long as you, and not with such success! :)
18:45:24 <andi5> in the near future i will rather play with cmake, blame cstim =)
18:47:16 <andi5> jsled: will you apply that rev to 2.2? /me likes it
18:47:58 *** twunder-konv has joined #gnucash
18:48:09 <jsled> heh. :)
18:52:19 *** tim_abell__ has quit IRC
18:52:35 *** twunder has quit IRC
18:59:42 *** Zoolooc_ has joined #gnucash
19:01:31 *** twunder-konv has quit IRC
19:03:54 *** twunder has joined #gnucash
19:08:54 *** Zoolooc__ has quit IRC
19:13:00 *** tjanssen has joined #gnucash
19:14:43 *** kielein has quit IRC
19:16:56 *** Wilddev has joined #gnucash
19:16:57 *** gncbot sets mode: +o Wilddev
19:17:00 *** Zoolooc__ has joined #gnucash
19:19:08 *** ahz has joined #gnucash
19:20:20 <ahz> I am trying to modify the budget.scm report and am getting errors on a simple subtraction. I think it's because of data types. How do I subtract gnc-budget-is-account-period-value-set from gnc-budget-is-account-period-value-set?
19:22:08 <andi5> would not always equal to something like 0?
19:22:19 <andi5> or do you mean (- gnc budget is account period value set) ;-)
19:23:40 <ahz> Not if you psychically understood I meant gnc-budget-get-account-period-actual-value
19:23:44 <Wilddev> hey andi
19:23:46 <ahz> :)
19:23:55 <andi5> hiho Wilddev!
19:24:16 <Wilddev> hows it going?
19:24:43 <andi5> well, the function you meant returns #f or #t nonetheless
19:24:46 *** Zoolooc_ has quit IRC
19:25:01 <andi5> Wilddev: i am fine, it is just getting late again and i need to get out early :)
19:25:09 <Wilddev> aha know the feeling
19:25:30 <andi5> have to go, i am sorry
19:25:36 <andi5> see you, Wilddev!
19:25:40 <Wilddev> cya
19:25:46 *** andi5 has quit IRC
19:26:44 <ahz> Any tips on why I cannot do this subtraction here in budget.scm? http://www.mirc.net/paste/?1796
19:38:43 *** motin_0 has quit IRC
19:41:42 <chris> ahz: I don't know what you're trying to do, but you're sometimes subtracting a numeric from "."
19:42:29 *** warlord has joined #gnucash
19:42:29 *** gncbot sets mode: +o warlord
19:42:51 <ahz> chris: I see you what you mean. How about the commented-out equivalent? That should not have "."
19:43:14 <Wilddev> hey warlord
19:43:21 <warlord> hey Wilddev
19:43:23 <warlord> LTNS!
19:43:31 <Wilddev> yeah, been busy
19:43:56 <Wilddev> hows things?
19:50:03 <warlord> Not too bad.
19:50:18 <warlord> Was in Vancouver last week. Flew down to CA yesterday.. Now sitting in Palo Alto.
19:50:27 <warlord> (although I had lunch in Culver City yesterday)
19:50:45 <Wilddev> aha, ur still travelling a lot too
19:51:26 <warlord> Yep. Not as much during '07 as I had during '05 and '06..
19:51:51 <Wilddev> well I will probably be travelling more, but we will see at the new year hits
19:53:35 <warlord> Where are you gnerally travelling to?
19:54:18 <Wilddev> most of this year I've been driving to CO Springs, but when I fly its usually Phoenix or sometimes Dallas
19:54:34 <Wilddev> just after xmas I get to go to Ohio, :(
19:56:46 *** Zoolooc__ has quit IRC
20:01:41 <warlord> lovely
20:02:08 <Wilddev> lovely was last week in Vegas
20:02:10 <Wilddev> heh
20:02:12 <Wilddev> :P
20:06:15 <warlord> hehe
20:41:26 *** Wilddev has quit IRC
20:42:55 *** ahz has quit IRC
21:10:47 *** sjc has quit IRC
21:32:26 *** twunder has quit IRC
22:01:40 *** warlord is now known as warlord-afk
22:15:16 *** tjanssen has quit IRC
22:43:25 *** twunder has joined #gnucash
22:55:39 *** benoitg has joined #gnucash
23:06:55 *** benoitg has left #gnucash
23:18:38 *** joerlend_ has joined #GnuCash
23:27:27 *** joerlend__ has quit IRC
23:41:45 *** rlaager has joined #gnucash
23:43:42 <rlaager> I've noticed that the Advanced Portfolio report completely blows up if you enter stock purchase transactions with multiple stock buys as splits. In other words, if I take $100 of cash and buy $50 each of two stocks and enter that as one transaction. I believe this is shown as an example in the help and it makes sense to me. Is that strictly wrong, or is this a bug with the report?
23:45:14 <rlaager> If it's the latter, which I suspect it is, any pointers on how I might fix it would be welcome. I unfortunately have no experience with Scheme, but I am a programmer.
23:46:03 <rlaager> On an unrelated topic, is anyone currently working on making GnuCash accept plugins? I keep meaning to write some things, but the lack of a plugin API is really my big hang-up.
23:50:28 *** benoitg has joined #gnucash
23:55:47 *** benoitg has quit IRC
23:59:38 *** twunder has quit IRC