2008-03-19 GnuCash IRC logs
00:28:40 *** wizkid239 has joined #gnucash
00:34:20 *** basanta has joined #gnucash
00:35:49 *** wizkid238 has quit IRC
00:45:32 *** olsen has joined #gnucash
00:47:27 *** basanta has quit IRC
00:53:27 *** wizkid238 has joined #gnucash
01:01:14 *** basanta has joined #gnucash
01:01:25 *** wizkid239 has quit IRC
01:16:31 *** wizkid239 has joined #gnucash
01:21:51 *** wizkid238 has quit IRC
01:29:14 *** dbreiser has quit IRC
01:45:25 <iheaing> http://www.freebsd.org/cgi/query-pr.cgi?pr=119632
01:45:34 <iheaing> how to fix?
02:14:32 *** wizkid238 has joined #gnucash
02:21:34 *** wizkid239 has quit IRC
03:03:00 *** iheaing has quit IRC
03:58:15 *** wizkid239 has joined #gnucash
04:05:28 *** wizkid238 has quit IRC
04:11:39 *** kielein has joined #gnucash
05:07:52 *** ErKa has joined #gnucash
06:10:42 *** cortilap has joined #gnucash
06:52:21 *** wizkid238 has joined #gnucash
07:01:15 *** wizkid239 has quit IRC
07:07:52 *** wizkid239 has joined #gnucash
07:15:40 *** wizkid238 has quit IRC
07:34:35 *** basanta has quit IRC
08:32:43 *** wizkid238 has joined #gnucash
08:39:51 *** garry__ has joined #gnucash
08:40:50 *** kielein has quit IRC
08:41:20 *** reform has joined #gnucash
08:41:55 *** aindilis has quit IRC
08:41:55 *** ErKa has quit IRC
08:41:55 *** RobbieAB has quit IRC
08:41:55 *** conrad has quit IRC
08:41:55 *** mishehu has quit IRC
08:41:55 *** jsled has quit IRC
08:41:55 *** zarchne has quit IRC
08:41:55 *** freakynl has quit IRC
08:41:55 *** LiENUS has quit IRC
08:41:55 *** wizkid238 has quit IRC
08:41:55 *** wizkid239 has quit IRC
08:41:55 *** BrianHV has quit IRC
08:41:55 *** XiXaQ has quit IRC
08:41:55 *** pmac has quit IRC
08:41:55 *** foo has quit IRC
08:41:55 *** garry_ has quit IRC
08:41:55 *** andrewsw-afk has quit IRC
08:41:55 *** Simon has quit IRC
08:42:09 *** conrad has joined #gnucash
08:42:09 *** andrewsw-afk has joined #gnucash
08:42:09 *** foo has joined #gnucash
08:42:09 *** wizkid238 has joined #gnucash
08:42:09 *** BrianHV has joined #gnucash
08:42:09 *** ErKa has joined #gnucash
08:42:09 *** aindilis has joined #gnucash
08:42:09 *** RobbieAB has joined #gnucash
08:42:09 *** freakynl has joined #gnucash
08:42:09 *** LiENUS has joined #gnucash
08:42:09 *** zarchne has joined #gnucash
08:42:09 *** jsled has joined #gnucash
08:42:09 *** mishehu has joined #gnucash
08:42:09 *** ircd.gimp.org sets mode: +oo conrad jsled
08:42:09 *** gncbot sets mode: +o conrad
08:42:10 *** gncbot sets mode: +o jsled
08:45:37 *** reform has quit IRC
08:49:14 *** warlord-afk is now known as warlord
08:51:38 *** XiXaQ has joined #GnuCash
08:55:50 *** Byte has joined #gnucash
08:55:59 *** Byte is now known as Simon
09:06:45 *** conrad has quit IRC
09:39:21 *** wizkid239 has joined #gnucash
09:44:08 *** sugarspike has joined #gnucash
09:45:59 *** wizkid238 has quit IRC
09:47:18 *** IanL has joined #gnucash
09:51:56 *** wizkid238 has joined #gnucash
09:55:38 *** sugarspike has quit IRC
09:57:37 *** wizkid239 has quit IRC
10:38:41 *** warlord is now known as warlord-afk
10:40:04 *** olsen has quit IRC
11:02:56 *** olsen has joined #gnucash
12:32:20 *** ErKa has quit IRC
12:33:23 *** andrewsw-afk is now known as andrewsw
12:33:32 <andrewsw> @op
12:33:32 *** gncbot sets mode: +o andrewsw
12:33:49 <andrewsw> I'm somebody now...
12:35:36 *** warlord-afk is now known as warlord
12:47:13 *** wizkid239 has joined #gnucash
12:53:52 *** wizkid238 has quit IRC
12:53:53 *** wizkid239 has quit IRC
12:55:07 *** wizkid238 has joined #gnucash
13:04:13 *** twunder has joined #gnucash
13:24:21 <Simon> "There are no schedule transactions to be entered at this time. (x created)" :/
13:24:34 <Simon> it shouldn't really do that if I didn't ask to be notified for any of them
13:25:12 <jsled> That's what "no notification" means.
13:25:22 <jsled> Really, elided notification, not none at all.
13:59:36 *** cortilap has quit IRC
14:01:49 *** andrewsw is now known as andrewsw-afk
14:24:29 *** cortana has joined #gnucash
14:26:23 *** IanL has left #gnucash
15:03:35 *** _gunni_ has joined #gnucash
15:17:34 *** wizkid239 has joined #gnucash
15:19:59 *** _McLANE_ has joined #gnucash
15:21:38 *** wizkid238 has quit IRC
15:25:14 *** _McLANE_ has quit IRC
15:29:25 *** wizkid238 has joined #gnucash
15:32:04 *** sjc has joined #gnucash
15:38:04 *** wizkid239 has quit IRC
16:22:08 *** ErKa has joined #gnucash
17:09:59 *** twunder has quit IRC
17:25:41 *** nomeata has joined #gnucash
17:28:16 *** ErKa has quit IRC
17:29:51 *** reiffert has joined #gnucash
17:29:59 <reiffert> Hi. I'm packaging gnucash for macports. I found out that calling gnome_help_display("gnucash-guide.xml", NULL, &error); returns with "The default action does not support this protocol.". It appears that gnucash-guide.xml can be found at the expected place. I further noticed that running gnome-help ghelp:///opt/local/share/gnome/help/gnucash/C/gnucash-guide.xml works like a charme.
17:30:27 <reiffert> I think gnucash is calling gconf voodoo, so it looks like there is no default action registered for xml files (or docbook? or xlt?) How to solve this? As you may allready noticed, I'm not a gnome expert, I just want to make gnucash available to mac os x users. Thanks.
17:35:12 <reiffert> gnucash-2.2.4/src/gnome-utils/gnc-gnome-utils.c around line 284
17:36:37 *** ErKa has joined #gnucash
17:36:41 <reiffert> btw, error->message doesnt get used here, so nobody will ever know about this particular error message. It would be nice to add it there by DEBUG("Could not find help documentation %s: %s",file_name,error->message); or similar.
17:49:47 <reiffert> What packages is supposed to register the default action, is it gnucash[-docs], yelp or gconf? Something else?
17:51:25 <warlord> I'd say yelp.
17:51:42 <warlord> but I dont know.
17:53:52 <reiffert> And what exactly should be registered along with yelp? "open a .xml file results in opening with application $foo" or something?
18:00:49 <warlord> I'm afraid I really don't know.
18:00:56 <warlord> sorry.
18:01:41 <warlord> You could try asking on gnucash-devel?
18:20:26 *** wizkid238 has quit IRC
18:21:07 *** nomeata has quit IRC
18:22:20 *** wizkid238 has joined #gnucash
18:25:21 *** ErKa has quit IRC
18:49:53 *** _gunni_ has quit IRC
18:58:10 *** ErKa has joined #gnucash
19:12:13 <reiffert> While hunting the error in libgnome, I'm pretty much exited by the readability of the code. Nice work.
19:13:33 <warlord> libgnome? or gnucash?
19:13:58 <reiffert> libgnome. That message should have gone to #gnome. I dont know any of the gnucash code yet.
19:15:21 <warlord> Heh. Yeah. ;)
20:02:42 *** reiffert_ has joined #gnucash
20:08:21 *** ErKa has quit IRC
20:11:42 *** reiffert has quit IRC
20:23:37 <reiffert_> I found out that gnome-vfs doesnt know how to handle "ghelp"
20:23:50 <warlord> Hmm
20:23:52 *** sjc has quit IRC
20:24:44 <reiffert_> together with the error message
20:24:54 <reiffert_> "The default action does not support this protocol."
20:38:58 *** olsen has quit IRC
20:51:05 <warlord> Okay... so what seems to be the workaround?
20:52:53 <reiffert_> to fix the yelp installation:
20:53:13 <reiffert_> a) running GCONF_CONFIG_SOURCE=$(/opt/local/bin/gconftool-2 --get-default-source) /opt/local/bin/gconftool-2 --makefile-install-rule /opt/local/etc/gconf/schemas/yelp.schemas
20:53:31 <reiffert_> b) to check why the following command was not running and fixing the package who should run:
20:53:42 <reiffert_> GCONF_CONFIG_SOURCE=$(/opt/local/bin/gconftool-2 --get-default-source) /opt/local/bin/gconftool-2 --makefile-install-rule /opt/local/etc/gconf/schemas/desktop_gnome_url_handlers.schemas
20:54:04 <reiffert_> I'm currently documenting it as a ticket to the macports project, writing down all the details.
20:54:29 <warlord> Sounds like the former needs to be done by yelp. The latter... Not sure.
20:55:14 *** olsen has joined #gnucash
20:55:24 <reiffert_> if you like to improve gnucash, place a DEBUG("Opening the gnucash guide: %s returned: %s",file_name,error->message); to gnome-utils/gnc-gnome-utils.c:284 into the !assert()
20:55:31 <warlord> Figure out which package installed /opt/local/etc/gconf/schemas/desktop_gnome_url_handlers.schemas
20:56:10 <reiffert_> warlord: solved. No to all the details.
20:56:14 <reiffert_> s,No,Now,
20:56:22 <warlord> Cool!
20:56:30 <warlord> And could you send a write-up to gnucash-devel when you're done?
20:56:40 <reiffert_> Yep.
20:56:43 <warlord> Thanks.
20:57:04 <reiffert_> May it be enough when I send you a link to the macports ticket having all the details?
20:57:17 <reiffert_> and you place it along with some keywords to the devel list?
20:57:42 <warlord> Hmmm...
20:57:45 <warlord> I suppose.
20:57:46 <reiffert_> thanks.
20:58:11 <warlord> Oh, looking at that function it looks like there's already a PERR() of the error message.
20:58:33 <reiffert_> well it's not using error->message
20:59:13 <reiffert_> How could I be so blind?
20:59:37 <warlord> Sure it is.
20:59:45 <reiffert_> Where is the PERR supposed to go to?
20:59:51 <warlord> /tmp/gnucash.trace
21:00:07 <warlord> As will the DEBUG()
21:00:30 <reiffert_> hm, I explicitly had to define DEBUG() myself... that was a very strange thing.
21:00:52 <warlord> You shouldn't have had to... It's defined.
21:01:15 <reiffert_> only when DEBUGWRAPPER is defined.
21:01:43 <reiffert_> and DEBUGWRAPPER only lives in ltmain.sh
21:01:52 <warlord> No... it's defined in qoflog.h
21:02:25 <warlord> which is pulled in by qof.h
21:02:32 <warlord> So it should be in every gnucash source file.
21:02:58 <reiffert_> hm, running configure with --enable-debug didnt trigger it.
21:03:07 <warlord> Umm.. it's there.
21:03:21 <reiffert_> CFLGAGS=$FLAGS:-DDEBUG didnt as well. however.
21:03:37 <warlord> Well, THAT would cause trouble.
21:03:42 <reiffert_> yep.
21:03:58 <reiffert_> I dont remember if I had an additional -DDEBUGWRAPPER
21:04:14 <warlord> take a look in lib/qof/qoflog.h -- you dont need it for DEBUG() to get implemented.
21:04:19 <warlord> it's always defined.
21:04:22 *** jcreigh has joined #gnucash
21:05:09 <warlord> Note that this is only in GNUCASH.. It's not a general gnome/glib thing.
21:07:40 <reiffert_> My secret assumption is, that I'll have to use DEBUG on gnucash :-)
21:07:56 <reiffert_> damn, put a "never" somewhere in betweeen.
21:08:13 <reiffert_> and add the missing "again". Doh, no sleep for 30 hours.
21:08:18 <warlord> hehehe
21:15:31 *** IanL has joined #gnucash
21:20:58 *** cortana has quit IRC
21:33:29 *** reiffert_ has quit IRC
21:53:29 *** tbic has joined #gnucash
21:53:47 *** jcreigh has quit IRC
21:54:05 <tbic> Is there any was to mass delete transactions?
21:57:14 *** andrewsw-afk is now known as andrewsw
21:57:18 <andrewsw> tbic: no
21:58:09 <andrewsw> unless they were all in one account, alone, then I think you can delete that account and take the txns with it.
21:58:12 <andrewsw> not sure on that though
21:59:10 <warlord> Actually, no, that wont delete the txns..
21:59:12 <warlord> just the splits..
21:59:18 <warlord> and leave all the txns in Imbalance.
21:59:23 <andrewsw> eww...
21:59:25 <warlord> tbic: what exactly are you trying to do
21:59:38 <tbic> No these and in a search, I'm tring to split my transaction from last year in another book
22:00:26 <warlord> Ahh.
22:00:30 <warlord> No, no good way to do that.
22:00:43 <warlord> why do you want to do that?
22:01:58 <tbic> So on the accounts page the totals reflect year to date
22:03:27 <andrewsw> is this not what the new books closing code does?
22:05:07 <warlord> tbic: depends on which column
22:05:22 <warlord> andrewsw: it doesn't create a new file or delete old transactions -- it just adds a '0' split.
22:05:44 <tbic> For Income and Expenses Yes, But not Assets or Liabilities.
22:06:04 <tbic> warlord: which column?
22:06:29 <andrewsw> but that makes the total column in the accounts page reflect YTD then, right?
22:06:41 <andrewsw> (as well as the balance in each register)
22:08:32 <warlord> true, but you dont need to zero-ize Assets and Liabilities.
22:10:16 <tbic> warlord: Correct, I was just hoping to create a new book for 2008, automatically creating the Transaction in Equity:Opening Balances and ether splitting the file or removing transactions before 1/1/08
22:10:51 <warlord> Ah. No, there's no automated way to do that.
22:11:40 <warlord> You could File -> Export Accounts to create a new file with JUST your account structure but no transactions...
22:11:49 <tbic> I'll take a look at how close book is handled, see if I can modify it to what I want, thanks
22:12:50 *** tbic has quit IRC
22:15:43 <andrewsw> 1:03 to do a book close on my file (old athlon xp)
22:17:32 <andrewsw> perfectly acceptable for a once-a-year thing
22:20:22 <warlord> andrewsw: with or without andi5's patch?
22:21:24 <andrewsw> that's using 2.2.4 as released in debian, so I assume without.
22:23:39 <warlord> yep, that would be without.
22:24:29 <andrewsw> I haven't really followed what he's doing with that... is he cleaning up xaccAccountGetBalance (or whatever it's called)?
22:27:24 * andrewsw read patch
22:28:06 <andrewsw> oh yeah, that should improve things I would think. Also should improve reports that rely on it...
22:28:21 * andrewsw eyes income-statement suspiciously
22:30:07 <andrewsw> I'll play with that patch next week and see what it does to performance. I have a pretty good test file, I think, any improvement of more than a couple % should show right up.
22:32:20 <warlord> It should fix the "GetBalanceAsOfDate()" API to be much quicker.
22:33:56 <andrewsw> yeah. That'll be nice.
22:34:05 <andrewsw> I"m off, cya warlord.
22:34:11 <warlord> good night.
22:34:21 *** andrewsw is now known as andrewsw-afk
22:46:57 *** jcreigh has joined #gnucash
23:39:00 *** warlord is now known as warlord-afk