2012-02-29 GnuCash IRC logs

01:05:18 *** ErKa has quit IRC
01:21:45 *** stepfen has joined #gnucash
01:28:36 <stepfen> hi warlord and thanks for the help...
01:28:49 <stepfen> I tried gnc-fq-dump, indeed some sources are not working but several others do work...
01:29:05 <stepfen> how do I know which source I am using and how can I change it???
01:49:32 *** stepfen1 has joined #gnucash
01:54:43 *** stepfen has quit IRC
02:03:31 *** Fabzgy has joined #gnucash
02:10:08 *** Fabzgy has quit IRC
02:44:01 *** linas_ has joined #gnucash
02:44:02 *** linas__ has quit IRC
02:54:50 *** fell_ has joined #gnucash
02:54:50 *** gncbot sets mode: +o fell_
02:55:06 *** Krzysiek_K1 has left #gnucash
03:11:01 *** stepfen1 has left #gnucash
03:11:41 *** stepfen has joined #gnucash
03:36:33 *** gour has joined #gnucash
03:38:57 *** gour has quit IRC
04:29:55 *** stepfen has quit IRC
04:30:48 *** kpreid has joined #gnucash
06:08:43 *** gour has joined #gnucash
06:58:03 *** stepfen has joined #gnucash
07:11:41 *** stepfen has left #gnucash
07:11:57 *** stepfen has joined #gnucash
07:41:54 *** Jimraehl2 has left #gnucash
07:54:45 *** stepfen has quit IRC
08:00:34 *** stepfen has joined #gnucash
08:20:41 *** fell__ has joined #gnucash
08:20:41 *** gncbot sets mode: +o fell__
08:22:38 *** Jimraehl2 has joined #gnucash
08:29:36 *** fell_ has quit IRC
08:38:47 *** stepfen has quit IRC
09:08:43 *** gour1 has joined #gnucash
09:15:00 *** gour has quit IRC
09:41:46 *** ErKa has joined #gnucash
09:45:16 *** lois has joined #gnucash
09:55:11 *** uXuss has joined #gnucash
09:55:11 *** KaiForce has joined #gnucash
10:02:28 *** kpreid has quit IRC
10:03:48 *** uXus has quit IRC
10:11:21 *** kpreid has joined #gnucash
10:31:26 *** stepfen has joined #gnucash
11:04:53 *** Janno has joined #gnucash
11:07:23 <Janno> how do I get the value of <gnc:count-data cd:type="gnc:GncInvoice"> ... </gnc:count-data> (in c or python)?
11:29:52 *** Jimraehl2 has quit IRC
11:54:53 <warlord> Janno: you dont
11:55:18 <warlord> Well, you do via calling query on the book and then g_list_length() on the result.
11:57:29 *** kpreid_ has joined #gnucash
11:58:46 <Janno> warlord, thank you
11:58:51 *** kpreid has quit IRC
11:58:51 *** kpreid_ is now known as kpreid
11:59:00 <warlord> Why do you need to know the total number of objects?
11:59:45 <Janno> I want to give invoices an increasing id
12:00:53 <Janno> and I though it would be best if this id is just the total number of invoices in the book
12:03:09 <warlord> Janno: invoices automatically do that.
12:03:24 <warlord> Use the Invoice ID Counter!
12:03:33 <warlord> It's in the Book KVP
12:03:57 *** stepfen has left #gnucash
12:04:12 <warlord> Janno: qof_book_increment_and_format_counter()
12:04:20 <warlord> see gncInvoice.c and look for that.
12:06:29 <Janno> for some reason the counter is actually incremented when I create invoices in python, but none of the functions (qof_book_*_counter) to access them are contained in the python bindings :/
12:08:05 <warlord> Probably because they are called internally.
12:08:24 <warlord> perhaps from gncInvoiceNextID() ?
12:11:49 <Janno> I don't find that function anywhere in the python-bindings directory.
12:12:34 <Janno> maybe I'll just have to find the largest invoice ID manually
12:13:30 *** rpg has joined #gnucash
12:15:14 <warlord> Janno: no, you should just be able to call gncInvoiceNextID
12:15:39 <warlord> It should get wrapped auto-magically by swig. I'm not sure what you expect to find.
12:16:08 <Janno> oh, well, I though it would have to be mentioned somewhere
12:16:47 <warlord> Nope, it just has to be an in included .h file.
12:16:59 <warlord> ... and swig will (should) wrap it automagically.
12:17:47 <Janno> it's not in gnucash_core_c, gnucash_core or gnucash_business
12:18:01 <Janno> also not a function of Book
12:18:40 <warlord> No, it would be a function of Invoice
12:18:55 <warlord> (most likely)
12:20:10 <Janno> nope :/
12:21:31 *** jmd has joined #gnucash
12:22:51 <warlord> Well, then, that's a bug. It should be wrapped. But apparently it is not because it is defined in gncInvoiceP.h and not gncInvoice.h -- so I guess it's considered "private" *grump*
12:22:57 <warlord> Email gnucash-devel?
12:23:29 <Janno> okay, I'll do that. thanks for your help :)
12:23:44 <warlord> Another alternative would be to have the invoice itself auto-assign the NextID at some point.
12:23:51 <warlord> ... if there is no id.
12:23:56 <warlord> but I'm not sure when would be a good time.
12:45:39 *** kpreid has quit IRC
12:51:50 *** kpreid has joined #gnucash
12:52:46 *** rpg_ has joined #gnucash
12:54:30 <mikee> Janno: invoice = Invoice(book, 'TEST', gbp, customer )
12:54:36 <mikee> perhaps?
12:56:00 <Janno> but that would assign the ID 'TEST' to all invoices, would it not?
12:56:04 <mikee> Ah. no. Doesn't assign new number. Sorry.
12:56:17 <mikee> Yep. Just realised that.
12:58:50 <mikee> Just looking at some old python script, without thinking. Apologies for misleading info.
12:59:08 <warlord> mikee: I think gncInvoiceNextID would need to be exposed
12:59:58 <mikee> Should be, yes.
13:00:21 <mikee> There is a book.InvoiceLookupByID("NUM")
13:01:09 *** rpg has quit IRC
13:01:11 <mikee> Which is a function of book
13:01:13 <warlord> Yes, but that finds an invoice. gncInvoiceNextID just provides the string for the "next invoice ID"
13:01:47 <warlord> So it would be invoice = Invoice(book, gncInvoiceNextID(book, customer), gbp, customer)
13:02:29 <warlord> or perhaps Invoice.new should be smart and call gncINvoiceNextID() if the 'ID' parameter is left empty/blank?
13:06:34 *** RyuGuns has joined #gnucash
13:08:49 <mikee> Too late for me today. Brain tired. Food next.
13:09:28 <warlord> of course. :)
13:18:34 <RyuGuns> This is GPL?
13:19:57 <warlord> define "this"
13:20:22 <RyuGuns> gnucash
13:20:30 <warlord> yes, gnucash is distrubuted under the gpl
13:26:07 <RyuGuns> :(
13:26:09 <RyuGuns> okay
13:26:10 <RyuGuns> thanks
13:26:13 *** RyuGuns has left #gnucash
13:28:06 <warlord> um, okay, why the frowny face?
13:31:30 *** KaiForce has quit IRC
13:54:30 *** kpreid has quit IRC
14:00:35 *** rpg_ has quit IRC
14:01:56 *** rpg has joined #gnucash
15:02:20 *** sjc has joined #gnucash
15:02:29 *** jmd has quit IRC
15:45:51 *** neutralbias has joined #gnucash
15:48:04 <neutralbias> Hey all. I have a question regarding custom multicolumn reports and multiple charts. Whenever I try to setup a new report, I can only have one chart displayed. Subsequent charts produce an error like "unable to push bar chart." Just curious if there's been any progress on that issue. I'm running 2.4.10 on Mac OS X Lion using the native app package.
15:52:40 <warlord> neutralbias: i have heard about that problem -- it might be mac-specific, but i'm not sure. try asking on the gnucash-user list?
15:55:26 <neutralbias> It isnt OSX specific. Its present in the windows version as well. Might be a non-linux issue? Anyway, there's various bug reports out there on both bugzilla and the user list.
15:56:57 <warlord> If it is mac and windows then it probably happens in linux, too. more likely the devs dont use custom, multicolumn reports.
15:57:46 *** sjc has quit IRC
15:57:56 <neutralbias> Seems like its not a heavily used feature to begin with. I know the bug has been around for at least a year.
15:58:32 <neutralbias> Its a shame too, there isn't another OSX finance app that compares in terms of flexibility. Quicken is a complete joke.
16:02:19 <warlord> heh
16:02:30 <warlord> is there a Bz entry?
16:02:42 <neutralbias> yup.
16:03:05 <warlord> hmm.. add an entry?
16:03:46 <neutralbias> Suppose I could file another bug report. Last one didn't get much of a response though.
16:07:35 *** neutralbias has quit IRC
16:27:57 *** db7b5 has joined #gnucash
17:05:30 *** gour1 has quit IRC
17:18:49 *** db7b5 has quit IRC
17:39:41 *** rpg has quit IRC
17:43:11 *** db7b5 has joined #gnucash
17:54:14 *** Fabzgy has joined #gnucash
18:15:39 *** db7b5 has quit IRC
18:35:54 *** Fabzgy has quit IRC
19:02:22 *** slidesinger1 has quit IRC
19:04:15 *** slidesinger1 has joined #gnucash
19:41:24 *** goblin has quit IRC
19:41:27 *** goblin has joined #gnucash
20:04:14 *** Jimraehl2 has joined #gnucash
20:05:32 *** Janno has quit IRC
20:14:33 *** Jimraehl2 has quit IRC
20:26:32 *** db7b5 has joined #gnucash
21:09:51 *** db7b5_ has joined #gnucash
21:11:50 *** db7b5 has quit IRC
21:12:03 *** db7b5_ is now known as db7b5
21:24:26 *** Jimraehl2 has joined #gnucash
21:43:38 *** db7b5_ has joined #gnucash
21:45:38 *** db7b5 has quit IRC
21:45:51 *** db7b5_ is now known as db7b5
21:56:49 *** db7b5_ has joined #gnucash
22:02:22 *** db7b5 has quit IRC
22:02:31 *** db7b5_ is now known as db7b5
22:32:27 *** fell__ has quit IRC
22:37:21 *** fell has joined #gnucash
22:37:21 *** gncbot sets mode: +o fell
22:53:20 *** db7b5 has quit IRC
23:04:21 *** fell has quit IRC
23:09:32 *** WormDude has quit IRC
23:14:19 *** WormDude has joined #gnucash
23:36:22 *** fell has joined #gnucash
23:36:22 *** gncbot sets mode: +o fell
23:38:35 *** db7b5 has joined #gnucash