2010-06-16 GnuCash IRC logs

00:03:15 *** Askarii has quit IRC
00:37:50 *** Askarii has joined #gnucash
01:03:30 *** Askarii has left #gnucash
01:40:05 <diakka> has anyone tracked expenses in multiple currencies?
02:50:06 *** esperegu has joined #gnucash
03:33:51 *** tim_abell has joined #gnucash
03:35:43 *** tim_abell has quit IRC
06:53:08 *** fbond has joined #gnucash
07:17:49 *** Jimraehl has quit IRC
07:46:36 *** Jimraehl has joined #gnucash
07:48:22 *** Jimraehl has left #gnucash
07:49:14 *** Jimraehl has joined #gnucash
07:49:34 *** warlord-afk is now known as warlord
07:49:53 <warlord> diakka: I just translate those expenses into my native currency
07:52:11 *** bentob0x has joined #gnucash
08:14:09 <blathijs> warlord: Where do PWARN's end up?
08:14:47 <warlord> gnucash.traqce
08:14:49 <warlord> trace
08:15:57 <blathijs> Anything needed to enable that?
08:16:20 <blathijs> I can't find it in the current directory or next to the opened file
08:16:37 <blathijs> Ah, in /tmp
08:16:43 <blathijs> --help was useful :-)
08:17:31 <blathijs> Somehow the gnucash binary in the debian packages I'm building isn't updated properly...
08:18:02 <blathijs> Running it directly from my source checkout does give some result (though there's nothing useful in gnucash.trace, while I expected there to be...)
08:28:23 *** Mer|in has quit IRC
08:33:14 <blathijs> woohoo, it segfaults!
08:33:35 <warlord> heh
08:33:53 <blathijs> (Which is a big improvement compared to doing nothing because somehow it was still using old versions of libraries)
08:34:11 <blathijs> OTOH, it's still not doing everything properly, I think
08:34:23 <blathijs> Let's ask gdb
08:34:37 <warlord> the crash could also be due to old versions. If you have multiple versions of gnucash installed ... you could get random crashes
08:36:33 <blathijs> Neh, it's exactly in a function where I changed something
08:37:05 <blathijs> So it's mixing clean 2.3 versions with the versions I've modified now (I've been manually copying files to /usr/lib to get some response at least)
08:37:20 <blathijs> but I know what's happening now, need to copy one more
08:37:28 <warlord> ok
08:39:46 <blathijs> The real cause is probably that I'm running "make" to compile and then ask debian/rules to build a package, which i guess doesn't mix that well
08:48:45 <warlord> No clue.
08:48:56 <warlord> Why don't you just ./configure --prefix=/opt/gnucash ?
08:51:01 <blathijs> Because I'm a stubborn Debian user? :-)
08:51:27 <blathijs> Also, it seemed like the easiest way to do things and also get Debian's default configure settings
08:51:45 <blathijs> but I guess it turned out to be not quite that easy at all :-p
08:51:53 <blathijs> Anyway, my patch seems to work now :-)
08:53:29 <warlord> ok
08:59:32 <blathijs> warlord: What's your development workflow? make && make install after every change?
08:59:46 <blathijs> Or is there a way to run directly from the source dir without make install?
09:00:56 <warlord> make && make install.
09:01:14 <warlord> However, you only have to do that from the directories you change.. (depending on whether you change headers or just .c files)
09:02:49 <blathijs> Ah, that would certainly help
09:02:55 <blathijs> Let's clean up and try the /opt thing :_)
09:02:59 <blathijs> s/_/-/
09:14:28 <warlord> ok
09:21:50 *** Jimraehl has quit IRC
09:26:35 <blathijs> That seems to work just fine :-)
09:27:05 <warlord> excellent.
09:56:09 *** Mer|in has joined #GnuCash
10:03:26 *** markjenkinsparit has joined #gnucash
10:57:19 *** bentob0x has quit IRC
11:09:34 *** jpetersen has joined #gnucash
12:21:43 <blathijs> Hmm, is there any reason all these PWARN's only log a fixed string, without any variables?
12:22:07 <blathijs> e.g, "Invalid counter name." instead of "Invalid counter name: %s" ?
12:22:20 <jsled> no.
12:25:38 <blathijs> So newly added PWARN's should probably use clear messages, then :-)
12:26:46 <jsled> detailed log messages are good.
12:27:01 <jsled> or, should I say, details in log messages are good.
12:27:11 <blathijs> :-)
12:27:17 <jsled> deciding relevancy takes some skill, of course.
12:28:15 <blathijs> :-)
12:31:24 <kimmo> warlord, jsled: is there an option for setting the amount of "recently opened files" to more than 4?
12:31:34 <warlord> kimmo: no
12:31:44 <warlord> I'm pretty sure that is hard-coded.
12:31:53 <jsled> I believe the list is larger in gconf, so it might be a simple ui constant change.
12:32:03 <kimmo> ok
12:32:17 <kimmo> well if you happen to run into it, I'd appreciate 8 :D
13:07:16 <blathijs> Nice to be coding a small patch in plain, well-written C again for a change
13:07:36 <blathijs> I've been involved in too many bug fixes in convoluted codebases that needed half a rewrite lately :-)
13:36:57 <blathijs> So, on to the GUI part...
13:45:06 <blathijs> Can anyone offer any suggestion where to find the code for the file -> properties dialog?
13:46:05 <blathijs> Oh wait, the scm directory seems to be the right place
13:46:35 <warlord> File -> Properties is a dynamic window
13:48:28 <blathijs> It looks like it shows kvps, from what I can see from the code, but apparently it doesn't show all of them :-)
13:49:21 <blathijs> That is, it doesn't seem to use the actual XML kvps as its source :-)
13:49:27 <warlord> You have to define what it shows.. No, it doesn't just show the full kvps
13:51:12 *** ErKa has joined #gnucash
13:51:12 <warlord> blathijs: See src/business/business-utils/business-prefs.scm
13:53:35 <blathijs> Thanks!
13:57:05 <blathijs> Hm, I guess I should be learning Scheme, then :-D
14:00:48 <warlord> heh. scheme is easy. but you dont need to know a lot to add options.
14:05:10 <blathijs> No, but some basics help to be able to read what's there right now and where to look for related parts
14:05:26 <blathijs> and Scheme looks pretty nice :-)
14:05:32 <warlord> :)
14:20:21 <blathijs> Why are some option labels defined in business-utils.scm and some directly in business-prefs.scm?
14:27:56 <warlord> ummm... they might be used elsewhere?
14:33:47 *** Askarii has joined #gnucash
14:40:00 *** ErKa has quit IRC
14:47:22 *** ErKa has joined #gnucash
15:01:50 <blathijs> warlord: grep doesn't think so :-)
15:02:15 <warlord> Hmm
15:02:30 <blathijs> Ah, that's just option-name-trading-accoutns
15:02:36 <blathijs> other option names are used in other places
15:02:54 <blathijs> What would be the best for the counter options? define in utils?
15:03:18 <warlord> i dont think it matters
15:05:00 <blathijs> What's the deal with these OPTION-NAME-DEFAULT-BUDGET things? Are they functions of some sort?
15:08:58 <blathijs> Is "new-option" something that is defined by scheme/swig/guile/whatever?
15:09:39 <blathijs> Hm, what I really want to ask is, how to make a numeric option?
15:09:51 <blathijs> Or is that just a text option with some validating?
15:10:51 <blathijs> Oh wait, I misread the scheme syntax
15:11:16 <blathijs> new-option is just the parameter name
15:19:55 <warlord> There are a bunch of different option types.. See src/app-utils/options.scm
15:20:17 <warlord> OPTION-NAME-DEFAULT-BUDGET is probably a swig-wrapped c-string
15:28:58 <blathijs> Ah, right.
15:30:24 <blathijs> Where is the saving of these dialogs handled?
15:34:09 *** esperegu has quit IRC
15:35:10 <warlord> um, in options.scm, or dialog-options... where it runs the option->kvp methods
15:37:39 <warlord> biab
15:37:41 *** warlord is now known as warlord-afk
15:51:52 *** andyt has joined #gnucash
15:53:04 *** diakka has left #gnucash
15:59:36 <blathijs> What's the deal with all those "gnucash" directories everywhere?
16:00:11 <blathijs> e.g., src/app-utils/gnucash or src/gnome-utils/gnucash, which just seem to contain a copy of their parent directory?
16:00:47 <blathijs> Uh, or rather, a symlink to the .scm file with the same name in the parent directory
16:17:35 <blathijs> This GUI stuff is complicated, let's continue it tomorrow
16:17:58 <blathijs> The main code for configurable counter formats is finished btw
16:18:20 <blathijs> Comments are welcome, patches are here http://www.stdout.nl/tmp/gnucash/
16:22:49 *** ErKa has quit IRC
16:33:42 *** warlord-afk is now known as warlord
16:34:05 <warlord> blathijs: those exist historically in order to run gnucash out of the build tree..
16:42:47 *** cortana has joined #gnucash
16:43:18 <blathijs> warlord: Ah, right.
17:05:49 *** Askarii has quit IRC
17:06:24 *** Askarii has joined #gnucash
17:42:53 *** fbond has quit IRC
18:03:35 *** markjenkinsparit has quit IRC
18:09:38 *** andyt has quit IRC
18:51:55 *** markjenkinsparit has joined #gnucash
19:05:36 *** jpetersen has quit IRC
19:21:04 *** Askarii has left #gnucash
19:22:14 *** markjenkinsparit has quit IRC
19:36:57 *** warlord has quit IRC
19:43:49 *** cortana has quit IRC
20:00:05 *** Jimraehl has joined #gnucash
20:04:42 *** Askarii has joined #gnucash
20:25:23 *** Askarii has left #gnucash
20:28:39 *** warlord has joined #gnucash
20:28:39 *** gncbot sets mode: +o warlord
20:32:13 *** warlord has quit IRC
20:38:24 *** Jimraehl has quit IRC
20:39:13 *** Jimraehl has joined #gnucash
21:14:01 *** gary has quit IRC
21:22:14 *** gary has joined #gnucash
21:31:08 *** wknechtel has joined #gnucash
21:34:00 <wknechtel> Hello all. The latest stable GnuCash for OSX crashing on me, on launch. It didnt fail on the first launch, but on each subsequent launch it has crashed. a look at the syslog says this: [0x0-0x907907].org.gnucash.Gnucash[30028]: * 19:59:40 WARN <gnc.bin> Error parsing command line arguments: [Unknown option -psn_0_9468167]; try `gnucash --help` for available options.
21:34:10 <wknechtel> Any ideas how to fix this?
22:47:52 *** wknechtel has quit IRC
22:56:16 *** dirtbuilder has joined #gnucash
22:56:54 <dirtbuilder> having trouble entering a split transaction for a grocery purchase any takers?
22:58:08 <dirtbuilder> Ive split the transaction, but it keeps doing funny things with the numbers I enter, moving my entries from withdrawal to deposit etc.
22:59:47 <dirtbuilder> I just want to split the transaction as being FROM checking TO expense groceries and several subcatagories under groceries, but its not letting me do it
23:01:12 *** Askarii has joined #gnucash
23:06:40 <dirtbuilder> lest you think I havent checked the tutorial, I have
23:07:37 <dirtbuilder> the tutorial shows an entry for a split deposit to checking, and I attempted to follow it for my split withdrawal, but to no avail. please help
23:10:34 *** Krumar has joined #gnucash
23:12:12 <dirtbuilder> if no takers I may have to go soon and try another time
23:14:48 *** Krumar has quit IRC
23:25:00 <dirtbuilder> adios
23:25:08 *** dirtbuilder has left #gnucash