2007-01-22 GnuCash IRC logs
00:01:43 <hampton> Is there a G_XXX macro for the line termination character? E.G. Something that maps to \r or \n or \r\n or \n\r ?
00:04:21 *** wizkid238 has quit IRC
00:07:10 <warlord> hampton: not that I can see.
00:08:48 <prock> If anyone cares, downgrading slib to 3a1-4.2 (debian) keeps gnucash trunk from crashing for me.
00:10:09 *** wizkid238 has joined #gnucash
00:14:33 <warlord> not surprising. prock you should send mail to tb.
00:14:47 <prock> I've added my comments to the debian bts already.
00:14:48 *** twunder has joined #gnucash
00:15:01 <prock> there's a gnucash bug open too which I'm adding comments to as I type
00:37:16 <warlord> okay.
00:37:19 <warlord> i'm heading to bed
00:37:23 <warlord> good night
00:37:27 *** warlord is now known as warlord-afk
00:42:13 *** sishen has joined #gnucash
00:43:40 <sishen> hi. I'm a newbie of gnucash. I found that i can't input any chinese in gnucash. Is there someone having the experience? Thx.
00:48:52 *** warlord-afk is now known as warlord
00:48:56 <warlord> sishen: what version of gnucash?
00:53:48 <warlord> sishen: if not 2.x, then upgrade. If 2.x, then more info is required.
00:53:53 <warlord> But it's past my bedtime
00:53:56 *** warlord is now known as warlord-afk
01:09:24 *** hampton is now known as hampton|away
01:24:48 *** twunder has quit IRC
01:25:41 *** twunder has joined #gnucash
01:30:09 *** twunder has quit IRC
03:31:48 <sishen> sorry. I had a meeting just now.
03:32:16 <sishen> the version is 2.0.2-2.
03:32:30 <sishen> What's the meaning of more info? thx.
03:33:32 <sishen> I can't input the chinese using my input method "scim".
03:34:08 <sishen> However, if i input sth. at other place, then copy & paste, the chinese is ok.
03:34:33 <sishen> at the column of "description" and other field in gnucash.
03:36:05 *** ErKa has joined #gnucash
04:21:11 <swoolley> sishen: so your complaint is that gnucash isn't supporting your input method.
04:21:43 <swoolley> sishen: but that it respects the unicode that other fields that support the input method output
04:53:36 *** ceplma has joined #gnucash
05:50:45 *** cstim has joined #gnucash
05:50:45 *** gncbot sets mode: +o cstim
05:51:17 <cstim> jsled: I wonder whether the irc_log_htmlizer.py can add some color highlighting for some known IRC nicknames... :-)
05:56:25 <cstim> in perl that would be s!jsled!<font color="red">jsled</font>! etc (one color per known op-nickname), but my python+regexp foo isn't good enough to write the python lines myself.
05:59:01 <sishen> swoolley: no. I think this maybe a bug because i can't input chinese using another input method: fcitx.
05:59:20 <swoolley> heh, I wasn't saying it wasn't a bug
06:00:15 <sishen> sorry, i can't catch you.. :(
06:01:17 <swoolley> it looks like gnucash doesn't support alternative input methods
06:01:23 <sishen> Is there any advice about how to go through the code? what's the related file?
06:01:43 <swoolley> I'm not familiar with the gnucash code
06:01:49 * swoolley has no @ sign
06:03:06 *** prock_ has joined #gnucash
06:07:31 <swoolley> chris: seven hours of updating the cascading libraries later, and .... I can CONFIRM that the gtkhtml update fixed the problem!
06:07:45 * swoolley collapses at 3am
06:11:50 *** prock has quit IRC
06:14:50 <cstim> swooley: good night :)
06:15:30 <cstim> sishen: unfortunately I (and most other gnucash developers) don't know how different chinese input methods work or don't work with gnucash.
06:17:23 <cstim> sishen: Here http://bugzilla.gnome.org/show_bug.cgi?id=368937 someone described a problem in the date entry field, which probably means in the other fields the text could be entered correctly.
06:18:54 <sishen> let me try
06:23:33 <sishen> yeah. i can input chinese in some place, such as the name of the account and the transfer window.
06:24:43 <cstim> sishen: really? Ok, then file a (new) bug and try to describe the places where it works and where it doesn't work. Thanks.
06:24:54 <cstim> http://bugzilla.gnome.org/enter_bug.cgi?product=GnuCash
06:28:44 <sishen> :) my wish.
07:15:42 <cstim> sishen: You said you can enter chinese in the Account Name field, or fields in the "Transfer" dialog window. Can you also input chinese in the "Num" column of the account register window?
07:52:22 *** sishen has quit IRC
08:11:49 *** jpeach has joined #gnucash
08:57:47 *** mnoir has joined #gnucash
09:08:18 *** warlord-afk is now known as warlord
09:09:11 <warlord> cstim: I bet the problem is the register.
09:15:30 <cstim> which problem?
09:15:35 <cstim> good morning
09:15:40 <cstim> all problems?
09:16:39 <warlord> The chinese input problem
09:17:38 <cstim> yes, it sounded like. Do you know what the register widgets might be missing for the chinese input to work?
09:20:00 <warlord> Who knows. The register is really really weird. I have no idea how it really works at the UI level.
09:20:26 <warlord> This is why I think we need the register rewrite!
09:20:49 <cstim> seconded...
09:21:00 *** hampton|away is now known as hampton
09:21:03 <hampton> thirded...
09:23:25 <warlord> But that would require getting ALL uses to the register over to the new UI code, not just the Transaction Register, but also the SX register and the Invoice register.
09:25:09 <warlord> I know chris burned out on it...
09:35:37 <cstim> I really wonder why the libtool guys didn't make a new release after 1.5.22 (Dec 2005) although their CVS lists weekly bugfixes since then.
09:37:11 *** slicslak has quit IRC
09:39:53 *** twunder has joined #gnucash
09:40:34 <warlord> No clue.
09:47:26 <cstim> you mean, they have no clue? :-)
09:47:30 *** RallyU has joined #gnucash
09:51:08 <warlord> That too.
10:04:18 *** kling0n has joined #gnucash
10:12:28 *** slicslak has joined #gnucash
10:12:41 <kling0n> hello :) A question regarding currency symbols: I am using Danish "Kroner" (DKK) but unfortunately all the amounts show up using the "euro" symbol (in account reports, invoices etc.... any suggestions as to how I fix this?
10:15:14 *** MrN has joined #gnucash
10:15:26 <MrN> hi
10:15:32 <warlord> Are you sure your accounts are configured as DKK?
10:15:42 <kling0n> yup
10:15:57 <warlord> what's your LANG locale setting?
10:16:02 <kling0n> althopugh in the "accounts" view I get the amounts with a "¤" symbol
10:16:17 <kling0n> env |grep -i lang
10:16:17 <kling0n> LANG=en_DK.UTF-8
10:16:17 <kling0n> LANGUAGE=en_DK:en
10:16:49 <kling0n> im thinking it might have something to do with the fact that i'm using "english" as my interface lingo
10:17:01 <warlord> kling0n: what version of gnucash?
10:17:07 <MrN> what's your LC_*?
10:17:09 <warlord> (is that the correct symbol?)
10:17:10 <kling0n> ... but I've set the currency manually - not through the "locale" setting
10:17:24 <kling0n> MrN: I have no LC env
10:17:28 <warlord> what do you mean, "set the currency manually"?
10:17:35 <warlord> MrN: please stop trying to help.
10:17:58 <MrN> :/
10:18:03 <kling0n> warlord: Edit-preferences-accounts-"default currency"
10:18:07 <kling0n> is set to DKK
10:18:25 <kling0n> with the "choose" radio button selected
10:18:44 <kling0n> gnucash version 2.0.1
10:18:47 <kling0n> ubuntu edgy :)
10:19:05 <warlord> kling0n: that setting only affects what happens when you create new accounts.
10:19:20 <warlord> Is the "¤" symbols "correct"?
10:19:26 <kling0n> no
10:19:43 <kling0n> I chose DKK as the default in the account setup wizard too
10:20:05 <kling0n> and it shows up in account properties
10:20:22 <warlord> Right. Your accounts are in DKK as they should be.
10:20:27 <kling0n> DKK should be denoted with as: 450,- DKK
10:20:29 <warlord> Perhaps Edgy's en_DK locale is broken.
10:20:36 <kling0n> warlord: perhaps
10:20:53 <kling0n> ill try re-opening with a da_DK locale and see if it helps
10:21:14 <warlord> okay..
10:22:29 <kling0n> hmm interface language changed.. and it seems to chow stuff correctly now.. :)
10:22:50 <kling0n> chow=show
10:23:06 <warlord> Which would imply that en_DK is broken.
10:24:06 <kling0n> indeed
10:24:32 <kling0n> using LANG=da_DK.UTF-8 fixed it :)
10:24:42 *** jpeach has left #gnucash
10:24:43 <kling0n> thanks
10:25:21 <kling0n> it might be nice to be able to specify language for invoices and reports separately from locale settings though
10:26:00 <warlord> Doing that would be... Hard.
10:26:43 <warlord> Unfortunately the invoices use the same translation mechanism as all the reports.. Which uses gettext().. which is based on setlocale().. So setting that translation would be.. Hard.
10:27:23 <warlord> Now, if we got 'eguile' where an invoice is just an HTML template with embedded guile (instead of a guile program that emits HTML), then you could include whichever template you wanted.
10:28:16 <MrN> i thought you wanted to go away from scheme? (this is no trying-to-help so i may say this :P)
10:29:16 <warlord> No, JSLED wants to go away from scheme.
10:29:24 <warlord> I said no such thing..
10:29:33 <MrN> oh, sorry.
10:29:45 <warlord> I do want LESS of the application written in scheme.. But I dont think it should go away.
10:30:45 <MrN> that's probably why i came to this misunderstanding
10:33:09 <kling0n> warlord: but it *ought* to be possible to set a custom environment variable for the gettext() calls no?
10:33:32 <cstim> kling0n: that's what LANG is for
10:34:08 <warlord> kling0n: yeah, it's LANG, and then entire application runs in that language.
10:34:22 <warlord> You can't have one part of the application use one setting and another part use another.
10:34:36 *** ceplma has quit IRC
10:35:53 <kling0n> ... unless you implement an abstraction for the calls used to generate invoices from the templates... ?
10:38:31 <kling0n> warlord: the "default" philosophy does not take scenarios into account where I need to invoice in multiple countries/languages...
10:39:39 <warlord> kling0n: in the template method the translation would happen in the templates themselves and not the application, so it's more work for the translators.
10:39:52 <warlord> But we dont have eguile, yet.
10:39:56 <warlord> So it's a moot point.
10:40:19 <kling0n> ok
10:42:26 *** RallyU has quit IRC
11:03:59 *** ErKa has quit IRC
11:10:39 <cstim> win32 build of r15417 uploaded.
11:13:29 <warlord> *nods*
11:13:34 <warlord> Cool.
11:33:27 <swoolley> In procedure list-head in expression (take combined (- max-slices 1)):
11:33:29 <swoolley> /usr/share/gnucash/guile-modules/gnucash/report/account-piecharts.scm:331:31: Wrong type (expecting exact integer):
11:34:07 <swoolley> when I edit the maximum slices in a pie income or expense report, the gui sets it to a float.
11:34:16 <swoolley> it sees 6.0 or 7.0, etc.
11:34:22 <swoolley> despite my entering only 6 or 7
11:34:26 <swoolley> then the report errors out
11:35:25 <warlord> Hahahaha...
11:35:44 <warlord> I told hampton that this should get fixed in options.scm and not in individual reports. ;)
11:35:53 <swoolley> well, I'll update to trunk and try it out
11:37:20 * swoolley twiddles thumbs while svn churns
11:37:20 <warlord> Oh, I doubt it's fixed in trunk.
11:37:29 <swoolley> heh
11:37:44 <swoolley> well, I'll fix it if you don't mind?
11:38:03 <hampton> I thought I fixed that, and that it was the only report that needed the fix.
11:38:22 <swoolley> which report needed the fix?
11:38:49 <swoolley> that got your fix
11:40:08 <warlord> I dont recall.. Search for 'inexact->exact'
11:40:21 <swoolley> sure
11:41:16 <swoolley> category-barchart, portfolio, advanced-portfolio, and account-piecharts
11:41:44 <swoolley> oh, but only piecharts and barcharts haev it on max-slices
11:42:40 * swoolley starts building anyways
11:44:28 <swoolley> in another hour I'll see how it works :)
11:44:53 <swoolley> actually, should only take 20 minutes
11:52:59 <jsled> .
11:53:44 *** mnoir has quit IRC
11:55:04 <cstim> hey jsled
11:55:53 <jsled> cstim: that's a good idea, except for use of the <font> tag. :)
11:56:04 <cstim> sure. that was just an example.
11:58:05 <cstim> <span style="color:#FF0000">jsled</span> if you wish.
11:59:06 <jsled> <span class="jsled">, maybe, with a common stylesheet.
11:59:11 <swoolley> <span class="jsled-color">
11:59:15 <swoolley> oh, beat me to it
11:59:40 <swoolley> probably usercolor-jsled
12:00:13 * cstim beats swooley to it
12:00:45 <jsled> swoolley: yeah, good to prefix/space non-controllable tokens. I'd just say 'nick-jsled', though.
12:01:30 <warlord> Hmm... I wonder.. Do we set a font class in our report html?
12:01:43 *** twunder has quit IRC
12:03:51 <jsled> warlord: the reports? Not a CSS class, of course; a font tag, maybe ... but I'm not sure that gtkhtml would even respect it.
12:10:22 <warlord> jsled: yeah, I meant a font tag, not CSS class. I dont know if gtkhtml would respect it.
12:11:04 <warlord> according to a website I saw the other day I think it would.
12:11:11 <warlord> But it would be interesting to see.. I dont know.
12:11:19 <warlord> (I dont know if we even emit one)
12:11:50 *** tri has joined #gnucash
12:16:15 *** cstim has quit IRC
12:20:04 *** jpeach has joined #gnucash
12:26:15 *** conrad has quit IRC
12:27:59 *** warlord is now known as warlord-afk
12:30:54 *** jpeach has left #gnucash
12:31:29 *** twunder has joined #gnucash
12:35:32 *** tri has left #gnucash
12:38:02 *** twunder has quit IRC
12:47:58 <mishehu> ugh. this is highly odd - after rebooting my machine the other day, now when I try to run gnucash I get the following: ** ERROR **: file gnc-icons.c: line 68 (gnc_add_stock_icon_pair): assertion failed: (pixbuf1 && pixbuf2)
12:52:31 <mishehu> And this seems to be the cause: open("/usr/local/src/gnome-2.16.2/gtk+-2.10.7/gdk-pixbuf/libpixbufloader-png.la", O_RDONLY) = -1 ENOENT (No such file or directory)
12:52:48 <mishehu> I wish I knew why this was looking for those files there.
12:55:23 *** twunder has joined #gnucash
13:00:24 <hampton> Very cool: http://gnomedesktop.org/node/2852
13:21:44 *** prock_ is now known as prock
13:38:59 *** warlord-afk is now known as warlord
13:58:06 *** andi5 has joined #gnucash
13:58:07 *** gncbot sets mode: +o andi5
14:07:48 *** |gunni| has joined #gnucash
15:09:23 *** sjc has joined #gnucash
15:29:48 *** ErKa has joined #gnucash
15:30:40 *** Gnucashier has joined #gnucash
15:30:50 <Gnucashier> Hi.
15:32:09 <Gnucashier> Which XML file contains the invoice number?
15:32:24 <warlord> The same XML file that contains the rest of your data.
15:32:43 <Gnucashier> Ok thanks, i will add that to the wiki
15:33:15 <warlord> Huh?
15:33:22 <warlord> Why does that need to be added to the wiki?
15:33:27 *** kling0n has quit IRC
15:39:03 <Gnucashier> If i look in the gnucash folder, there are several log and xac files, there just for backup use?
15:39:20 <warlord> Yep
15:39:43 <Gnucashier> Ok.. that makes it clear
15:40:17 <Gnucashier> Did you found out to change the fonts on the invoice already, warlord? :)
15:41:02 <warlord> nope, haven't looked.
15:41:27 <Gnucashier> Ok
15:44:08 <warlord> You can look into the html generation and see if it emits a font tag, and if not, get it to do so.. No clue if that will affect anything.
15:45:09 *** hampton has quit IRC
15:52:57 <Gnucashier> .
15:53:19 <andi5> lol... i debugged the beast.... libglade has been patched to give libxml2 wide character strings, whereas libbonobui has been patched to register utf8 functions in libxml2 ;-)
15:55:06 <warlord> I dont see why bonobo needs to be patched; libxml2 should be UTF8. Now, why libglade does wide chars, I have no idea!
15:56:09 <andi5> warlord: i mean http://svn.gnome.org/viewcvs/libbonoboui/trunk/bonobo/bonobo-ui-main.c?rev=2221&r1=2214&r2=2221 , last hunk ... "patched" may not be the correct term :)
15:56:56 <andi5> warlord: the other is http://svn.gnome.org/viewcvs/libglade/trunk/glade/glade-parser.c?rev=520&r1=498&r2=520 ... i guess the bug is here
15:57:33 <warlord> Oh, that's because Win32 is generally utf16 natively.
15:58:35 <warlord> Huh.
16:00:49 <andi5> hm... libglade does not depend on bonoboui... maybe another fix is needed then
16:01:53 *** cortana has joined #gnucash
16:01:54 <andi5> well, it should be noted that these problems only occur if you install gnucash to a non-ascii directory... the name of your data files are irrelevant here
16:03:15 * andi5 will file a bug tomorrow (it is not ours, yeehaw)
16:03:40 *** andi5 has quit IRC
16:04:28 <warlord> huh
16:14:58 *** hampton has joined #gnucash
16:14:58 *** gncbot sets mode: +o hampton
16:22:56 <warlord> hiya hampton
16:23:20 <hampton> hi.
16:23:49 <hampton> had a bouncy computer for a while there trying to run myth. changing the prefs would cause X to reset. :-(
16:27:12 <warlord> Intersting..
16:44:36 *** warlord2 has joined #gnucash
16:44:50 <warlord2> gncbot: op
16:44:50 <gncbot> warlord2: Error: You don't have the #gnucash,op capability. If you think that you should have this capability, be sure that you are identified before trying again. The 'whoami' command can tell you if you're identified.
16:44:54 <warlord2> Grr
16:45:13 <warlord2> gncbot: op
16:45:14 *** gncbot sets mode: +o warlord2
16:45:31 *** warlord has quit IRC
16:45:38 *** warlord2 is now known as warlord
17:10:10 *** ural0 has joined #gnucash
17:31:17 *** mnoir has joined #gnucash
17:59:51 *** sjc has quit IRC
18:00:34 *** ural0 has quit IRC
18:48:09 *** Gnucashier has quit IRC
18:53:26 *** jpeach has joined #gnucash
19:09:29 *** warlord is now known as warlord-afk
19:11:44 *** ErKa has quit IRC
19:21:32 *** MrN has quit IRC
21:43:23 *** slicslak has quit IRC
21:44:17 *** slicslak has joined #gnucash
21:56:01 *** mnoir has quit IRC
22:16:16 *** jpeach has left #gnucash
22:21:50 *** warlord-afk is now known as warlord
22:22:15 *** hampton is now known as hampton|away
22:29:48 *** twunder has quit IRC
00:01:43 <hampton> Is there a G_XXX macro for the line termination character? E.G. Something that maps to \r or \n or \r\n or \n\r ?
00:04:21 *** wizkid238 has quit IRC
00:07:10 <warlord> hampton: not that I can see.
00:08:48 <prock> If anyone cares, downgrading slib to 3a1-4.2 (debian) keeps gnucash trunk from crashing for me.
00:10:09 *** wizkid238 has joined #gnucash
00:14:33 <warlord> not surprising. prock you should send mail to tb.
00:14:47 <prock> I've added my comments to the debian bts already.
00:14:48 *** twunder has joined #gnucash
00:15:01 <prock> there's a gnucash bug open too which I'm adding comments to as I type
00:37:16 <warlord> okay.
00:37:19 <warlord> i'm heading to bed
00:37:23 <warlord> good night
00:37:27 *** warlord is now known as warlord-afk
00:42:13 *** sishen has joined #gnucash
00:43:40 <sishen> hi. I'm a newbie of gnucash. I found that i can't input any chinese in gnucash. Is there someone having the experience? Thx.
00:48:52 *** warlord-afk is now known as warlord
00:48:56 <warlord> sishen: what version of gnucash?
00:53:48 <warlord> sishen: if not 2.x, then upgrade. If 2.x, then more info is required.
00:53:53 <warlord> But it's past my bedtime
00:53:56 *** warlord is now known as warlord-afk
01:09:24 *** hampton is now known as hampton|away
01:24:48 *** twunder has quit IRC
01:25:41 *** twunder has joined #gnucash
01:30:09 *** twunder has quit IRC
03:31:48 <sishen> sorry. I had a meeting just now.
03:32:16 <sishen> the version is 2.0.2-2.
03:32:30 <sishen> What's the meaning of more info? thx.
03:33:32 <sishen> I can't input the chinese using my input method "scim".
03:34:08 <sishen> However, if i input sth. at other place, then copy & paste, the chinese is ok.
03:34:33 <sishen> at the column of "description" and other field in gnucash.
03:36:05 *** ErKa has joined #gnucash
04:21:11 <swoolley> sishen: so your complaint is that gnucash isn't supporting your input method.
04:21:43 <swoolley> sishen: but that it respects the unicode that other fields that support the input method output
04:53:36 *** ceplma has joined #gnucash
05:50:45 *** cstim has joined #gnucash
05:50:45 *** gncbot sets mode: +o cstim
05:51:17 <cstim> jsled: I wonder whether the irc_log_htmlizer.py can add some color highlighting for some known IRC nicknames... :-)
05:56:25 <cstim> in perl that would be s!jsled!<font color="red">jsled</font>! etc (one color per known op-nickname), but my python+regexp foo isn't good enough to write the python lines myself.
05:59:01 <sishen> swoolley: no. I think this maybe a bug because i can't input chinese using another input method: fcitx.
05:59:20 <swoolley> heh, I wasn't saying it wasn't a bug
06:00:15 <sishen> sorry, i can't catch you.. :(
06:01:17 <swoolley> it looks like gnucash doesn't support alternative input methods
06:01:23 <sishen> Is there any advice about how to go through the code? what's the related file?
06:01:43 <swoolley> I'm not familiar with the gnucash code
06:01:49 * swoolley has no @ sign
06:03:06 *** prock_ has joined #gnucash
06:07:31 <swoolley> chris: seven hours of updating the cascading libraries later, and .... I can CONFIRM that the gtkhtml update fixed the problem!
06:07:45 * swoolley collapses at 3am
06:11:50 *** prock has quit IRC
06:14:50 <cstim> swooley: good night :)
06:15:30 <cstim> sishen: unfortunately I (and most other gnucash developers) don't know how different chinese input methods work or don't work with gnucash.
06:17:23 <cstim> sishen: Here http://bugzilla.gnome.org/show_bug.cgi?id=368937 someone described a problem in the date entry field, which probably means in the other fields the text could be entered correctly.
06:18:54 <sishen> let me try
06:23:33 <sishen> yeah. i can input chinese in some place, such as the name of the account and the transfer window.
06:24:43 <cstim> sishen: really? Ok, then file a (new) bug and try to describe the places where it works and where it doesn't work. Thanks.
06:24:54 <cstim> http://bugzilla.gnome.org/enter_bug.cgi?product=GnuCash
06:28:44 <sishen> :) my wish.
07:15:42 <cstim> sishen: You said you can enter chinese in the Account Name field, or fields in the "Transfer" dialog window. Can you also input chinese in the "Num" column of the account register window?
07:52:22 *** sishen has quit IRC
08:11:49 *** jpeach has joined #gnucash
08:57:47 *** mnoir has joined #gnucash
09:08:18 *** warlord-afk is now known as warlord
09:09:11 <warlord> cstim: I bet the problem is the register.
09:15:30 <cstim> which problem?
09:15:35 <cstim> good morning
09:15:40 <cstim> all problems?
09:16:39 <warlord> The chinese input problem
09:17:38 <cstim> yes, it sounded like. Do you know what the register widgets might be missing for the chinese input to work?
09:20:00 <warlord> Who knows. The register is really really weird. I have no idea how it really works at the UI level.
09:20:26 <warlord> This is why I think we need the register rewrite!
09:20:49 <cstim> seconded...
09:21:00 *** hampton|away is now known as hampton
09:21:03 <hampton> thirded...
09:23:25 <warlord> But that would require getting ALL uses to the register over to the new UI code, not just the Transaction Register, but also the SX register and the Invoice register.
09:25:09 <warlord> I know chris burned out on it...
09:35:37 <cstim> I really wonder why the libtool guys didn't make a new release after 1.5.22 (Dec 2005) although their CVS lists weekly bugfixes since then.
09:37:11 *** slicslak has quit IRC
09:39:53 *** twunder has joined #gnucash
09:40:34 <warlord> No clue.
09:47:26 <cstim> you mean, they have no clue? :-)
09:47:30 *** RallyU has joined #gnucash
09:51:08 <warlord> That too.
10:04:18 *** kling0n has joined #gnucash
10:12:28 *** slicslak has joined #gnucash
10:12:41 <kling0n> hello :) A question regarding currency symbols: I am using Danish "Kroner" (DKK) but unfortunately all the amounts show up using the "euro" symbol (in account reports, invoices etc.... any suggestions as to how I fix this?
10:15:14 *** MrN has joined #gnucash
10:15:26 <MrN> hi
10:15:32 <warlord> Are you sure your accounts are configured as DKK?
10:15:42 <kling0n> yup
10:15:57 <warlord> what's your LANG locale setting?
10:16:02 <kling0n> althopugh in the "accounts" view I get the amounts with a "¤" symbol
10:16:17 <kling0n> env |grep -i lang
10:16:17 <kling0n> LANG=en_DK.UTF-8
10:16:17 <kling0n> LANGUAGE=en_DK:en
10:16:49 <kling0n> im thinking it might have something to do with the fact that i'm using "english" as my interface lingo
10:17:01 <warlord> kling0n: what version of gnucash?
10:17:07 <MrN> what's your LC_*?
10:17:09 <warlord> (is that the correct symbol?)
10:17:10 <kling0n> ... but I've set the currency manually - not through the "locale" setting
10:17:24 <kling0n> MrN: I have no LC env
10:17:28 <warlord> what do you mean, "set the currency manually"?
10:17:35 <warlord> MrN: please stop trying to help.
10:17:58 <MrN> :/
10:18:03 <kling0n> warlord: Edit-preferences-accounts-"default currency"
10:18:07 <kling0n> is set to DKK
10:18:25 <kling0n> with the "choose" radio button selected
10:18:44 <kling0n> gnucash version 2.0.1
10:18:47 <kling0n> ubuntu edgy :)
10:19:05 <warlord> kling0n: that setting only affects what happens when you create new accounts.
10:19:20 <warlord> Is the "¤" symbols "correct"?
10:19:26 <kling0n> no
10:19:43 <kling0n> I chose DKK as the default in the account setup wizard too
10:20:05 <kling0n> and it shows up in account properties
10:20:22 <warlord> Right. Your accounts are in DKK as they should be.
10:20:27 <kling0n> DKK should be denoted with as: 450,- DKK
10:20:29 <warlord> Perhaps Edgy's en_DK locale is broken.
10:20:36 <kling0n> warlord: perhaps
10:20:53 <kling0n> ill try re-opening with a da_DK locale and see if it helps
10:21:14 <warlord> okay..
10:22:29 <kling0n> hmm interface language changed.. and it seems to chow stuff correctly now.. :)
10:22:50 <kling0n> chow=show
10:23:06 <warlord> Which would imply that en_DK is broken.
10:24:06 <kling0n> indeed
10:24:32 <kling0n> using LANG=da_DK.UTF-8 fixed it :)
10:24:42 *** jpeach has left #gnucash
10:24:43 <kling0n> thanks
10:25:21 <kling0n> it might be nice to be able to specify language for invoices and reports separately from locale settings though
10:26:00 <warlord> Doing that would be... Hard.
10:26:43 <warlord> Unfortunately the invoices use the same translation mechanism as all the reports.. Which uses gettext().. which is based on setlocale().. So setting that translation would be.. Hard.
10:27:23 <warlord> Now, if we got 'eguile' where an invoice is just an HTML template with embedded guile (instead of a guile program that emits HTML), then you could include whichever template you wanted.
10:28:16 <MrN> i thought you wanted to go away from scheme? (this is no trying-to-help so i may say this :P)
10:29:16 <warlord> No, JSLED wants to go away from scheme.
10:29:24 <warlord> I said no such thing..
10:29:33 <MrN> oh, sorry.
10:29:45 <warlord> I do want LESS of the application written in scheme.. But I dont think it should go away.
10:30:45 <MrN> that's probably why i came to this misunderstanding
10:33:09 <kling0n> warlord: but it *ought* to be possible to set a custom environment variable for the gettext() calls no?
10:33:32 <cstim> kling0n: that's what LANG is for
10:34:08 <warlord> kling0n: yeah, it's LANG, and then entire application runs in that language.
10:34:22 <warlord> You can't have one part of the application use one setting and another part use another.
10:34:36 *** ceplma has quit IRC
10:35:53 <kling0n> ... unless you implement an abstraction for the calls used to generate invoices from the templates... ?
10:38:31 <kling0n> warlord: the "default" philosophy does not take scenarios into account where I need to invoice in multiple countries/languages...
10:39:39 <warlord> kling0n: in the template method the translation would happen in the templates themselves and not the application, so it's more work for the translators.
10:39:52 <warlord> But we dont have eguile, yet.
10:39:56 <warlord> So it's a moot point.
10:40:19 <kling0n> ok
10:42:26 *** RallyU has quit IRC
11:03:59 *** ErKa has quit IRC
11:10:39 <cstim> win32 build of r15417 uploaded.
11:13:29 <warlord> *nods*
11:13:34 <warlord> Cool.
11:33:27 <swoolley> In procedure list-head in expression (take combined (- max-slices 1)):
11:33:29 <swoolley> /usr/share/gnucash/guile-modules/gnucash/report/account-piecharts.scm:331:31: Wrong type (expecting exact integer):
11:34:07 <swoolley> when I edit the maximum slices in a pie income or expense report, the gui sets it to a float.
11:34:16 <swoolley> it sees 6.0 or 7.0, etc.
11:34:22 <swoolley> despite my entering only 6 or 7
11:34:26 <swoolley> then the report errors out
11:35:25 <warlord> Hahahaha...
11:35:44 <warlord> I told hampton that this should get fixed in options.scm and not in individual reports. ;)
11:35:53 <swoolley> well, I'll update to trunk and try it out
11:37:20 * swoolley twiddles thumbs while svn churns
11:37:20 <warlord> Oh, I doubt it's fixed in trunk.
11:37:29 <swoolley> heh
11:37:44 <swoolley> well, I'll fix it if you don't mind?
11:38:03 <hampton> I thought I fixed that, and that it was the only report that needed the fix.
11:38:22 <swoolley> which report needed the fix?
11:38:49 <swoolley> that got your fix
11:40:08 <warlord> I dont recall.. Search for 'inexact->exact'
11:40:21 <swoolley> sure
11:41:16 <swoolley> category-barchart, portfolio, advanced-portfolio, and account-piecharts
11:41:44 <swoolley> oh, but only piecharts and barcharts haev it on max-slices
11:42:40 * swoolley starts building anyways
11:44:28 <swoolley> in another hour I'll see how it works :)
11:44:53 <swoolley> actually, should only take 20 minutes
11:52:59 <jsled> .
11:53:44 *** mnoir has quit IRC
11:55:04 <cstim> hey jsled
11:55:53 <jsled> cstim: that's a good idea, except for use of the <font> tag. :)
11:56:04 <cstim> sure. that was just an example.
11:58:05 <cstim> <span style="color:#FF0000">jsled</span> if you wish.
11:59:06 <jsled> <span class="jsled">, maybe, with a common stylesheet.
11:59:11 <swoolley> <span class="jsled-color">
11:59:15 <swoolley> oh, beat me to it
11:59:40 <swoolley> probably usercolor-jsled
12:00:13 * cstim beats swooley to it
12:00:45 <jsled> swoolley: yeah, good to prefix/space non-controllable tokens. I'd just say 'nick-jsled', though.
12:01:30 <warlord> Hmm... I wonder.. Do we set a font class in our report html?
12:01:43 *** twunder has quit IRC
12:03:51 <jsled> warlord: the reports? Not a CSS class, of course; a font tag, maybe ... but I'm not sure that gtkhtml would even respect it.
12:10:22 <warlord> jsled: yeah, I meant a font tag, not CSS class. I dont know if gtkhtml would respect it.
12:11:04 <warlord> according to a website I saw the other day I think it would.
12:11:11 <warlord> But it would be interesting to see.. I dont know.
12:11:19 <warlord> (I dont know if we even emit one)
12:11:50 *** tri has joined #gnucash
12:16:15 *** cstim has quit IRC
12:20:04 *** jpeach has joined #gnucash
12:26:15 *** conrad has quit IRC
12:27:59 *** warlord is now known as warlord-afk
12:30:54 *** jpeach has left #gnucash
12:31:29 *** twunder has joined #gnucash
12:35:32 *** tri has left #gnucash
12:38:02 *** twunder has quit IRC
12:47:58 <mishehu> ugh. this is highly odd - after rebooting my machine the other day, now when I try to run gnucash I get the following: ** ERROR **: file gnc-icons.c: line 68 (gnc_add_stock_icon_pair): assertion failed: (pixbuf1 && pixbuf2)
12:52:31 <mishehu> And this seems to be the cause: open("/usr/local/src/gnome-2.16.2/gtk+-2.10.7/gdk-pixbuf/libpixbufloader-png.la", O_RDONLY) = -1 ENOENT (No such file or directory)
12:52:48 <mishehu> I wish I knew why this was looking for those files there.
12:55:23 *** twunder has joined #gnucash
13:00:24 <hampton> Very cool: http://gnomedesktop.org/node/2852
13:21:44 *** prock_ is now known as prock
13:38:59 *** warlord-afk is now known as warlord
13:58:06 *** andi5 has joined #gnucash
13:58:07 *** gncbot sets mode: +o andi5
14:07:48 *** |gunni| has joined #gnucash
15:09:23 *** sjc has joined #gnucash
15:29:48 *** ErKa has joined #gnucash
15:30:40 *** Gnucashier has joined #gnucash
15:30:50 <Gnucashier> Hi.
15:32:09 <Gnucashier> Which XML file contains the invoice number?
15:32:24 <warlord> The same XML file that contains the rest of your data.
15:32:43 <Gnucashier> Ok thanks, i will add that to the wiki
15:33:15 <warlord> Huh?
15:33:22 <warlord> Why does that need to be added to the wiki?
15:33:27 *** kling0n has quit IRC
15:39:03 <Gnucashier> If i look in the gnucash folder, there are several log and xac files, there just for backup use?
15:39:20 <warlord> Yep
15:39:43 <Gnucashier> Ok.. that makes it clear
15:40:17 <Gnucashier> Did you found out to change the fonts on the invoice already, warlord? :)
15:41:02 <warlord> nope, haven't looked.
15:41:27 <Gnucashier> Ok
15:44:08 <warlord> You can look into the html generation and see if it emits a font tag, and if not, get it to do so.. No clue if that will affect anything.
15:45:09 *** hampton has quit IRC
15:52:57 <Gnucashier> .
15:53:19 <andi5> lol... i debugged the beast.... libglade has been patched to give libxml2 wide character strings, whereas libbonobui has been patched to register utf8 functions in libxml2 ;-)
15:55:06 <warlord> I dont see why bonobo needs to be patched; libxml2 should be UTF8. Now, why libglade does wide chars, I have no idea!
15:56:09 <andi5> warlord: i mean http://svn.gnome.org/viewcvs/libbonoboui/trunk/bonobo/bonobo-ui-main.c?rev=2221&r1=2214&r2=2221 , last hunk ... "patched" may not be the correct term :)
15:56:56 <andi5> warlord: the other is http://svn.gnome.org/viewcvs/libglade/trunk/glade/glade-parser.c?rev=520&r1=498&r2=520 ... i guess the bug is here
15:57:33 <warlord> Oh, that's because Win32 is generally utf16 natively.
15:58:35 <warlord> Huh.
16:00:49 <andi5> hm... libglade does not depend on bonoboui... maybe another fix is needed then
16:01:53 *** cortana has joined #gnucash
16:01:54 <andi5> well, it should be noted that these problems only occur if you install gnucash to a non-ascii directory... the name of your data files are irrelevant here
16:03:15 * andi5 will file a bug tomorrow (it is not ours, yeehaw)
16:03:40 *** andi5 has quit IRC
16:04:28 <warlord> huh
16:14:58 *** hampton has joined #gnucash
16:14:58 *** gncbot sets mode: +o hampton
16:22:56 <warlord> hiya hampton
16:23:20 <hampton> hi.
16:23:49 <hampton> had a bouncy computer for a while there trying to run myth. changing the prefs would cause X to reset. :-(
16:27:12 <warlord> Intersting..
16:44:36 *** warlord2 has joined #gnucash
16:44:50 <warlord2> gncbot: op
16:44:50 <gncbot> warlord2: Error: You don't have the #gnucash,op capability. If you think that you should have this capability, be sure that you are identified before trying again. The 'whoami' command can tell you if you're identified.
16:44:54 <warlord2> Grr
16:45:13 <warlord2> gncbot: op
16:45:14 *** gncbot sets mode: +o warlord2
16:45:31 *** warlord has quit IRC
16:45:38 *** warlord2 is now known as warlord
17:10:10 *** ural0 has joined #gnucash
17:31:17 *** mnoir has joined #gnucash
17:59:51 *** sjc has quit IRC
18:00:34 *** ural0 has quit IRC
18:48:09 *** Gnucashier has quit IRC
18:53:26 *** jpeach has joined #gnucash
19:09:29 *** warlord is now known as warlord-afk
19:11:44 *** ErKa has quit IRC
19:21:32 *** MrN has quit IRC
21:43:23 *** slicslak has quit IRC
21:44:17 *** slicslak has joined #gnucash
21:56:01 *** mnoir has quit IRC
22:16:16 *** jpeach has left #gnucash
22:21:50 *** warlord-afk is now known as warlord
22:22:15 *** hampton is now known as hampton|away
22:29:48 *** twunder has quit IRC