2009-06-05 GnuCash IRC logs

00:16:14 *** twunder has quit IRC
00:51:39 *** warlord is now known as warlord-afk
00:52:25 *** MechtiIde has quit IRC
01:08:54 *** hvx has joined #gnucash
01:29:16 *** hvx has quit IRC
02:27:52 *** MechtiIde has joined #gnucash
02:43:37 *** ErKa has joined #gnucash
04:39:37 *** bluefox has quit IRC
05:54:37 *** Feisar has joined #gnucash
06:32:18 *** bentob0x has joined #gnucash
06:49:49 *** bluefox has joined #gnucash
08:02:13 *** rockfreak has joined #gnucash
08:02:23 <rockfreak> Good afternoon!
08:02:46 <rockfreak> I'm being really dense I'm sure but where do I generate a Profit and Loss Report?
08:05:16 *** warlord-afk is now known as warlord
08:05:23 <warlord> rockfreak: it's also called Income Statement
08:06:24 <rockfreak> ahh!!! Thank you warlord!!!
08:06:53 <warlord> you're welcome.
08:08:46 *** soa2ii has joined #gnucash
08:22:01 <rockfreak> not sure if you can point me in the right direction here or not. But I've just looked at trial balance and there is a £2754.50 differance! shouldn't those bottom two values be equal :S?
08:25:16 <warlord> I dunno -- I've never used the trial balance report.
08:25:28 <warlord> But.... do you have multiple currencies, or any stock/fund transactions?
08:34:06 <rockfreak> i have multiplue currancies yes
08:34:15 <rockfreak> multiple**
08:38:51 *** Jimraehl has left #gnucash
08:48:00 *** aj has joined #gnucash
08:48:27 <aj> hi All
08:48:40 *** JimRaehl2 has joined #gnucash
08:49:16 <aj> I needed some direction for creating / modifying reports
08:49:31 <aj> Anyone out here have some ideas?
08:54:23 *** HerrK has joined #gnucash
08:57:10 <warlord> rockfreak: then you probably dont properly account for the capital gains/losses associated with transactions involving multiple currencies.
08:57:26 <warlord> aj: what do you want to do?
08:57:49 *** JimRaehl2 has left #gnucash
08:58:11 *** JimRaehl2 has joined #gnucash
08:59:09 *** ErKa has quit IRC
09:00:06 <aj> warlord: i wanted to start off by manipulating a simple report like "Advanced Portfolio" to display only a selected few columns
09:00:35 <warlord> Um, and the current report options dont let you control that?
09:01:00 *** soa2ii has quit IRC
09:01:28 <aj> I've prepared the portfolio for my dad's account and he wants me to create a listing of all the mutual funds he holds
09:01:32 <aj> not not all the columns
09:02:50 <warlord> Then why not just an Account Summary report of that subtree?
09:08:43 *** rockfreak has quit IRC
09:09:40 <aj> i tried that.... there are 2 issues i can see
09:12:04 <aj> 1. my requirement is a little weird, my dad has been keeping a list of his funds year wise i.e. for the same fund if he had bought 10 in year 2007 and 20 in year 2008 then he lists them as 2 separate entries
09:12:17 <aj> don't know how that would be got very easily
09:13:11 <warlord> Okay, step back a second. What EXACTLY are you trying to report?
09:14:27 <aj> and 2. he has his list printed in a very neat fashion and the moment i show him the output which i'm able to generate through GNC he's going to start complaining about it not looking too neat and it's difficult for him to follow and all the stuff :-( .... this second issue is more on the look and feel of the stylesheets that we have
09:16:51 <aj> the report has the following requirements.... a list of current holdings, grouped by fund name, but should have an entry per financial year in which it was bought. a total at the end per fund and a grand total of amount invested in all the funds. each row should have -- fund name, number of units, purchase price (or total purchase price)
09:25:57 <warlord> You'll need to write a report to get that.
09:33:14 <aj> ok... i am very new to gnucash and linux. From what i could make out from the documents... the following are the steps.... learn scheme (which i have already started) and then i could see loads of exported modules and functions
09:33:33 <aj> the exported parts are the ones which i've got myself confused with
09:34:07 <warlord> what's got you confused?
09:34:55 <aj> could you tell me which files i should look into and for my requirements which module would be the right one to use?
09:36:14 <aj> i'm asking this without much knowledge on the details of the modules... i'v just been reading scheme in the last few days and now that i understand a bit of it i can see that there are many modules that are there hence needed some guidance to get myself started quickly
09:40:26 <warlord> Start with a report that gives you the all (or most of) the information you're looking for and base your new report on that.
09:41:43 <jsled> aj: http://wiki.gnucash.org/wiki/Custom_Reports
09:46:15 <aj> jsled thanks for the link.... i had some questions about this info as well... is there an easy way to debug the report that i'm creating or do i have start it using GNC only?
09:46:52 <aj> can i run the reports in debug mode in the guile interpreter console or something like that?
09:47:02 <jsled> if you're handy, you could probably cobble together a test-case like stand-alone executable that ran the report against a known set of data.
09:47:04 <jsled> But, no.
09:47:16 <jsled> There's nothing like that. No debugger. No console.
09:47:42 <aj> ok
09:47:55 <jsled> (gnc:debug ...) is your friend. :)
09:47:58 <aj> any suggestions for the objects / modules that i should be looking at ?
09:48:11 <warlord> aj: look at a report and base your work on that.
09:48:21 <aj> ok
09:49:43 <Feisar> hi, I can claim expenses for transort per mile. At the moment I have this as an 'expenses' account but this takes the money from my chequing account which is not right. How can I set up an the expenses account properly?
09:50:56 <aj> thanks warlord and jsled... i'll give it a try and see where i land. Thank you so much for the info !!
09:51:30 <warlord> Feisar: well, the expense has to come with somewhere.. if not checking then perhaps an Asset:Reimbursible Expese?
09:53:19 <Feisar> warlord: thanks that sounds about right. I need the petrol expenses to subtract from my over all assets but not a 'real' bank account
10:07:37 *** soa2ii has joined #gnucash
10:07:49 *** soa2ii has quit IRC
10:08:04 *** soa2ii has joined #gnucash
10:34:09 *** LiENUS has joined #gnucash
10:45:47 *** HerrK has quit IRC
11:17:48 *** ErKa has joined #gnucash
11:42:34 *** Olipro has quit IRC
11:46:47 *** Olipro_ has joined #gnucash
12:11:06 *** hvx has joined #gnucash
12:20:40 *** MechtiIde has quit IRC
12:28:49 *** palatin has joined #gnucash
12:50:07 *** hvx has quit IRC
12:53:14 *** soa2ii has quit IRC
12:54:07 *** bentob0x has quit IRC
12:58:03 *** bluefox has quit IRC
13:10:00 *** ErKa has quit IRC
13:15:46 *** Feisar has quit IRC
13:20:57 *** MechtiIde has joined #gnucash
13:22:18 *** aj has left #gnucash
13:22:22 *** aj has joined #gnucash
13:22:43 *** aj has left #gnucash
13:23:40 *** aj has joined #gnucash
13:24:05 *** aj has left #gnucash
13:29:46 <lobsang> With reference to bug 584819, how do I compile gnucash WITHOUT the business module(s), so that I can test a new patch? I've googled in vain...
13:38:54 <jsled> I'm not sure that's even possible...
13:39:40 <jsled> yeah, I don't see a ./configure option for such
13:42:18 <jsled> Derek's comment is more that the business features are theoretically "optional", but practically there's no way to build them separately.
13:42:51 <jsled> You could build the whole thing, then move the libraries out of the search path ... it should fail to load those modules, and that'd be basically the same thing.
13:43:13 <jsled> Hrm. it occurs to me that some distro might package the business modules separately. debian, perhaps?
13:48:02 <warlord> The concept was to enable a 'gnucash-business' package..
13:48:23 <warlord> but you're right, afaik nobody does that, it is theoretical, but I AM an architectural purist ;)
13:51:44 <jsled> heh. certainly the patch must respect the separation.
13:52:11 <warlord> Right.
14:25:08 <lobsang> which libraries would have to move to simulate the 'no business module' situation?
14:29:50 <jsled> I believe they're all named of the form libgnc-business-*
14:30:20 <warlord> yeah, find <prefix> -name \*business\*
14:34:41 <lobsang> OK, I'll try that.
14:47:32 <lobsang> hmm. If I remove the -business- libraries, it seems that gnc:company-info is still defined because business-utils.scm is still there. But gnc:company-info then returns #f (instead of "") which upsets the report. If I start removing business-utils.scm etc, gnucash won't start. Maybe I'll just use: (or (gnc:company-info *gnc:company-name*) "")
14:48:49 <lobsang> No, that won't work, because if the alleged business module really doesn't exist, then that code will fail.
14:49:55 <lobsang> How about this: (if defined? 'gnc:company-info (or gnc:company-info "") "")
14:50:30 <lobsang> No wonder this hadn't been fixed before!
15:04:33 <warlord> Where is gnc:company-info defined?
15:04:44 <warlord> You probably also need to remove the business scheme files
15:20:53 *** sjc has joined #gnucash
15:40:50 *** aj has joined #gnucash
15:45:28 *** Zoolooc has joined #gnucash
15:57:40 <lobsang> gnc:company-info is a new function in business-utils.scm, which means that the standard reports now have (use-modules (gnc business-utils)) -- should that be (gnc:load-module ...) or (gnc:load-module-optional ...) instead? What is the difference between those ways of loading modules?
16:02:10 <warlord> It should be none of the above.
16:02:29 <warlord> The standard reports cannot depend on that module at all.
16:05:33 <warlord> What you COULD do is create a function hook in a core module and then when the business module loads you plug into the hook.
16:05:53 <warlord> Yes, it's more work to do this..
16:06:22 <warlord> But architecturally the business module has to plug in; you cannot call into it directly.
16:07:55 <warlord> (except from within the business modules)
16:08:49 <aj> hi warlord.... i had been going through the initialization code and have prepared a very basic sequence diagram of what i could understand is the flow... can i send it to you to validate if my understanding is correct?
16:09:34 <warlord> aj: try sending to -devel
16:10:00 <warlord> I wont have time to look at it until next week at the earliest. ending to -devel and maybe someone else can get to it.
16:10:03 <aj> you mean gnucash-devel@gnucash.org right?
16:10:05 <warlord> what's the target audeince
16:10:08 <warlord> yeah
16:11:50 <aj> its not at all comprehensive... just a few high level messages... the audience is a complete newbie to linux, guile and gnc code
16:15:23 <warlord> one would hope it's not linux-specific at all.
16:15:30 <warlord> Why not just post it on the wiki?
16:17:48 *** MechtiIde has quit IRC
16:31:00 *** aj has left #gnucash
16:39:52 *** palatin has quit IRC
16:41:47 *** bluefox has joined #gnucash
16:53:19 <bluefox> i make 60k doing network security
16:53:23 <bluefox> and yet, I'm flat broke
17:13:56 *** Zoolooc__ has joined #gnucash
17:14:02 <warlord> bluefox: expenses > income?
17:14:14 <bluefox> warlord: wrong channel.
17:14:18 <bluefox> But yeah
17:22:05 *** Zoolooc has quit IRC
17:26:01 *** Zoolooc_ has joined #gnucash
17:27:27 *** warlord is now known as warlord-afk
17:33:09 *** MechtiIde has joined #gnucash
17:34:45 *** Zoolooc__ has quit IRC
17:45:59 *** Zoolooc_ has quit IRC
17:46:36 *** Zoolooc has joined #gnucash
18:03:15 <lobsang> warlord: (yes, I know you're not listening just at the moment -- sorry about the delay) re bug 584819 and company name again. I don't know what function hooks are, so it looks like I'll have to leave that bug unfixed after all. It seems a pity that this theoretical modularisation of Gnucash is getting in the way of making it work properly, but I'll leave such discussions and decisions to people who, unlike me, know what they're talking about.
18:08:06 *** Zoolooc has quit IRC
18:08:52 *** Zoolooc has joined #gnucash
18:22:44 *** Zoolooc has quit IRC
18:29:32 *** MechtiIde has quit IRC
18:33:36 *** sjc has quit IRC
18:41:42 *** sjc has joined #gnucash
18:57:28 *** cortana has joined #gnucash
19:20:23 *** VilasBoas has joined #gnucash
19:22:04 <VilasBoas> hy does anyone can tell me how can i help gnucash translation?
20:02:17 <jsled> VilasBoas: http://wiki.gnucash.org/wiki/Translation
20:06:26 *** fernando has joined #gnucash
20:06:53 *** fernando has quit IRC
20:08:10 *** ErKa has joined #gnucash
20:15:54 *** VilasBoas has left #gnucash
20:49:11 *** sjc has quit IRC
21:03:33 *** cortana has quit IRC
22:00:40 *** twunder has joined #gnucash
22:12:50 *** ErKa has quit IRC
22:51:24 *** bluefox has quit IRC
22:53:40 *** JimRaehl2 has left #gnucash
22:54:01 *** Jimraehl has joined #gnucash
23:05:05 *** twunder has quit IRC
23:23:58 *** IanL has joined #gnucash
23:29:15 *** bluefox has joined #gnucash
23:33:33 *** philsdutchie__ has joined #gnucash
23:34:33 *** philsdutchie__ has quit IRC