2010-05-08 GnuCash IRC logs

00:09:47 *** gour has joined #gnucash
02:15:33 *** gour1 has joined #gnucash
02:22:48 *** gour has quit IRC
02:38:55 *** JMSvenungson has joined #gnucash
02:39:57 <JMSvenungson> Cheers. Im having issues with the latest stable gnucash on mac os x, it defaults to swedish language even though my system preferences lists english as default and swedish as secondary language. Any ideas how to solve this issue?
03:09:25 *** gour1 is now known as gour
04:06:34 *** ErKa has joined #gnucash
04:48:38 *** gjanssens has joined #gnucash
04:48:39 *** gncbot sets mode: +o gjanssens
06:32:55 *** cortana has joined #gnucash
06:33:31 *** fbond has joined #gnucash
07:05:46 *** cortana has quit IRC
07:14:33 *** cortana has joined #gnucash
07:31:48 *** cortana has quit IRC
07:33:48 *** bentob0x has joined #gnucash
07:39:42 *** cortana has joined #gnucash
07:43:31 *** fbond has quit IRC
07:54:16 *** warlord-afk is now known as warlord
07:54:52 <warlord> Simon: That happened to me in both 2000 and 2004.,
07:55:18 <warlord> JMSvenungson: I'm not all that familiar with the Mac, but... What happens if you reset your system prefs?
07:55:54 <JMSvenungson> warlord: Nothing. I tried to switch languages back and forth but to no avail.
07:56:25 <warlord> Hmm..
07:56:39 <JMSvenungson> I assume i have to set some option somewhere. The docs mentions how to do it with other operating systems but the files mentioned does not exist on my computer.
07:56:47 <warlord> JRalls would be the guy to ask, but he doesn't hang out here a lot. You could try asking on the gnucash-user mailing list.
07:57:09 <JMSvenungson> Oh well, its no biggie really. I am from Sweden after all. ;)
07:57:26 *** gour1 has joined #gnucash
07:57:54 <warlord> heh
07:58:07 <warlord> I dont really know what settings the mac client uses.
07:58:50 <JMSvenungson> According to the docs it is supposed to inherit the language-settings from the OS.
07:59:46 <JMSvenungson> I guess i could try to replace the swedish language-files with english versions but i really donĀ“t feel like fiddling around to much with it. I want to do it proper or not at all.
08:00:24 <warlord> Yeah, I'm afraid I dont know what to tell you. I don't have a Mac.
08:00:38 <warlord> If you ask on gnucash-user via email you'll get answers within a day
08:02:21 <JMSvenungson> Thanks for the effort though. ;)
08:02:52 *** gour2 has joined #gnucash
08:03:06 *** gour has quit IRC
08:05:09 *** gour2 is now known as gour
08:05:38 <warlord> I admit it wasn't a lot of effort. :-(
08:09:28 *** gour1 has quit IRC
08:15:08 *** fbond has joined #gnucash
08:32:30 <gjanssens> JMSvenungson: if you are interested in looking for the details yourself, this is the script that is used to launch gnucash on osx:
08:32:32 <gjanssens> http://github.com/jralls/gnucash-on-osx/blob/master/gnucash-bundler/gnucash-launcher
08:34:29 <gjanssens> It seems to check environment variable APPLECOLLATION first and then for APPLELOCALE, the latter is preferred over the former
08:35:25 <gjanssens> This script should be inside the gnucash bundle that gets installed.
08:36:32 <gjanssens> I guess that APPLELOCALE will be set to swedish and APPLELANG (which is not used in the launcher script btw) perhaps to english.
08:36:55 <gjanssens> Just guessing though, I don't have a mac handy to test this.
08:38:19 *** localhost has quit IRC
08:44:38 <warlord> gjanssens: did you get my answer from last night?
08:45:01 <gjanssens> warlord: yes, I did.
08:45:05 <warlord> ok
08:45:15 <warlord> @op linas_
08:45:16 *** gncbot sets mode: +o linas_
08:45:25 <gjanssens> I wasn't looking for .nmz*, but for .namazu* though
08:45:34 <warlord> Oh, sorry.
08:45:38 <gjanssens> np
08:46:06 <warlord> [root@code ~]# ls -la /home/nmz/.n*
08:46:06 <warlord> ls: cannot access /home/nmz/.n*: No such file or directory
08:46:07 *** Jimraehl has left #gnucash
08:46:14 <gjanssens> Ok, that's clear.
08:47:33 <gjanssens> I think I am about to give up on namazu... It's not easy trying to debug someone else's configuration choices on a system I don't have full access to...
08:47:45 <gjanssens> I have been looking at nabble this morning.
08:48:03 <gjanssens> Is it a requirement that we control the archive software ourselves ?
08:48:36 <gjanssens> Otherwise I think nabble could be a good replacement.
08:48:58 <warlord> Well, the goal is to point at our archive... and to have a gnucash-themed interface.
08:49:07 <gjanssens> It's embeddable in our own website, can be themed as we like
08:49:09 *** blizgerg has quit IRC
08:49:13 <gjanssens> But the software runs on nabble's servers
08:49:20 <warlord> And can the results point back to our URLs?
08:50:30 <gjanssens> You mean: when a user performs a search, and clicks on a link that the mailman archive layout is shown ?
08:50:44 <gjanssens> Nabble goes further than that.
08:51:20 <warlord> No, I mean that when the user clicks on a link to see an article, the mailman link is used for the article reference.
08:51:28 <gjanssens> It provides the archives in a forum-like fashion. It's still OUR archives and OUR mailinglist though
08:51:46 <gjanssens> Users can't post to these forums unless they are subscribed to the mailinglist
08:52:32 <gjanssens> But it could all be setup as if it's running inside our own website (lists.gnucash.org/)
08:53:12 <gjanssens> I'm not really interested myself in having a forum, but some threads on our user list suggests that other people do
08:53:42 <warlord> I dont want a forum.
08:53:57 <gjanssens> Via nabble, we keep the lists, nabble translates it into something forum-like, which can be searched
08:53:57 <warlord> (although I really shouldn't say that I dont care what our users want) ;-)
08:54:16 <warlord> Well, our lists are already in nabble...
08:54:27 <warlord> I've certainly seem people post through there.
08:54:30 <gjanssens> the "forum" is only a webinterface to the mailing lists. That's what I like.
08:55:03 <gjanssens> In this case it's like using webmail vs a local mail client.
08:55:10 <warlord> is the nabble interface localized?
08:55:25 <gjanssens> That was the weak spot :)
08:55:31 <gjanssens> I don't think so
08:55:46 <gjanssens> But I can check with their support
08:56:54 <warlord> I wonder how hard it would be to embed a google search?
08:57:57 <gjanssens> You mean a local "google search engine" doing all the indexing and stuff locally ?
08:58:03 *** blizgerg has joined #gnucash
08:58:15 <gjanssens> Or have google index our list archives ?
08:58:59 <warlord> I dont care where the indexing is done. I just want the results themed
08:59:42 <gjanssens> The problem with google indexing is that it's usually weeks behind, so you miss the recent posts when searching.
09:00:13 <gjanssens> And I don't think it's possible to have your own indexer running locally whenever you want (with google I mean)
09:00:58 <gjanssens> Just FYI, this link shows some examples of embedded nabble:
09:01:00 <gjanssens> http://www.nabble.com/help/Answer.jtp?id=36
09:03:21 <warlord> Hmm...
09:03:44 <warlord> But this problem started with the i18n of namazu. If there's no i18n in nabble then we're no better off.
09:04:10 <gjanssens> Indeed, I see your point.
09:10:10 <warlord> :-(
09:10:21 <warlord> I wish I knew why namazu was having issues.
09:12:29 <gjanssens> Me too...
09:12:54 <gjanssens> By the way, i18n support in nabble is underway
09:13:08 <gjanssens> ...for the last 2 years...
09:13:39 <gjanssens> They do see the use, but apparently the implementation is stalling
09:14:53 <warlord> Ah
09:16:08 *** fbond has quit IRC
09:21:41 <gjanssens> I suppose I can query you for some more namazu information, in the hopes we find the issue eventually... :)
09:22:19 <gjanssens> The script alias for namazu, to which directory does it point ?
09:22:50 <gjanssens> And are there other configuration settings in apache that influence this script directory ?
09:23:54 <gjanssens> It should be possible to run "namazu -C" from the command line to print the current configuration. What does that give ?
09:36:49 <warlord> http://pastebin.com/vJvmdMtH
09:38:38 <warlord> gjanssens: Interesting issue: utf-8 v. iso!
09:39:15 <gjanssens> Indeed, I noticed that as well.
09:39:53 <gjanssens> I wonder why the iso charset is enforced.
09:40:27 <gjanssens> The namazu rpm you use carries a utf patch, so I would expect it to be utf friendly.
09:40:46 <warlord> Probably because it was from before the patch..
09:40:54 <warlord> .. and because the archives are in iso?
09:41:02 <gjanssens> Both are possible.
09:41:23 <gjanssens> Does mailman have charset settings ?
09:41:41 <gjanssens> I mean, can you manipulate the charset of the archive in some way ?
09:41:54 <gjanssens> It's been a while since I played with mailman...
09:45:24 <warlord> I dont know. I suspect that the .mbox file is mixed.. And indeed, I dont think we HAVE the mbox file all the way back, only the HTML.
09:45:36 <warlord> So.. we'd have to go regenerate the HTML archives.
09:54:51 *** Jimraehl has joined #gnucash
10:11:18 <gjanssens> Warlord: I don't know for sure. We'd have to figure that out. If we have to, iconv is our friend.
10:11:32 <gjanssens> But back to the faulty languages.
10:12:00 <warlord> Yeah, let's worry about that later.
10:12:17 <gjanssens> I added some additional debug information.
10:12:39 <gjanssens> This shows clearly that for all the faulty languages, nmz thinks it's dealing with en_US
10:13:12 <warlord> Huh. interesting.
10:13:12 <gjanssens> So we can focus our efforts on figuring out where nmz determines what language to use
10:13:51 <gjanssens> Secondly, it also shows that local.php is added in the processing somewhere and it's definitely not in the template files in svn
10:14:30 <gjanssens> I suspect that's part of Neil's configuraiton work.
10:14:42 <gjanssens> s/configuraiton/configuration/
10:14:43 <warlord> probably
10:54:32 <gjanssens> warlord: I missed this the first time
10:54:57 <gjanssens> Directory /home/nmz/nmz/search/templates contains more than just the svn contents of template
10:55:05 <gjanssens> It contains specific files for each language that does work
10:55:16 <gjanssens> And is missing the files for the languages that don't
10:56:11 <gjanssens> The .en files are particular in that I recently moved the english directory to a subdir and these changes have not been propagated into the english templates no doubt
10:56:28 <gjanssens> Wouldn't it be best to add these language specific files into svn ?
10:57:11 <gjanssens> I'm betting it's these files that call local.php
11:06:59 *** ErKa has quit IRC
11:07:03 <warlord> hmmm...
11:08:10 *** fbond has joined #gnucash
11:08:34 <warlord> gjanssens: AHA! Fix the Makefile.
11:08:48 <warlord> for l in de es fr nb nl pl pt_PT ; do \
11:09:34 <gjanssens> DOH!
11:09:40 <warlord> The nmz rule is broken
11:17:00 <gjanssens> *was* broken :)
11:17:01 *** fbond has quit IRC
11:17:18 <gjanssens> I have also rewritten the makefile to avoid this in the future.
11:17:59 <gjanssens> All that is left is the utf-8 vs iso issue
11:18:55 <gjanssens> Hmm, and I have just messed up the japanese search page...
11:19:53 <warlord> Oh? How?
11:20:32 <gjanssens> The problem is that our header and menu are in utf8, while apache tells the browser to display it in iso
11:20:50 <gjanssens> IMHO, it would be better to remove the iso enforcement.
11:22:01 <gjanssens> And then figure out how mailman can be told to work in utf-8 as well
11:22:14 <gjanssens> And finally look at converting the old lists (if required)
11:23:27 <gjanssens> This link http://www.mail-archive.com/mailman-users@python.org/msg47465.html says this can be configured via add_language(x,y, 'utf-8') in mm_cfg.py
11:24:49 <gjanssens> About the japanese page: there was a separate japanese template in svn, exactly because of these encoding issues
11:24:53 <warlord> I think that will only affect future lists, not existing lists.
11:24:56 <gjanssens> I had the makefile overwrite it
11:25:03 <warlord> Oh. OOPS.
11:25:12 <warlord> I can manually correct it for now?
11:25:41 <gjanssens> Yes, with a simple svn revert
11:25:41 <warlord> I manually reverted it for now.
11:25:47 <gjanssens> Ok, thanks
11:26:32 <warlord> At least I think I did. svn st still shows M
11:26:57 <gjanssens> What exactly did you revert ?
11:27:01 <gjanssens> only the .ja files ?
11:27:08 <warlord> Okay, fixed.
11:27:16 <gjanssens> Ok
11:27:16 <warlord> Yeah, just the .jua files
11:27:18 <warlord> .ja
11:32:46 <gjanssens> Updated the makefile. The japanese language template shouldn't be overwritten anymore now
11:33:45 <gjanssens> The utf/iso issue will have to wait for a while now. I've got other work to do first.
11:35:19 <warlord> no worries.
12:04:36 *** ErKa has joined #gnucash
12:34:26 *** ErKa has quit IRC
12:39:43 *** gjanssens has quit IRC
13:00:03 *** raleightile_ has joined #gnucash
13:03:57 <raleightile> I am purchasing inventory, samples, and a forklift. How do I record the transaction in gnucash? The trick is I have an asset account old company debt, which has a sub account borrowed credit card machine, that I want to use to pay for the transaction with.
13:04:29 <raleightile> I won't have enough debt to pay for it all, so I will end up owing more.
13:05:20 <raleightile> I should create a bill for the items, then make a vendor payment from the debt account to zero it out?
13:05:58 <raleightile> with the sub account, should I zero it first then the parent account, or just one payment from the parent account?
13:12:26 *** tim_abell has joined #gnucash
13:13:43 <warlord> You can do it with two payments, one from the debt account, and one from your cash
13:13:59 <warlord> (sorry to answer and run, but.. gotta run)
13:14:01 *** warlord is now known as warlord-afk
13:46:14 *** gour1 has joined #gnucash
13:52:59 *** gour has quit IRC
14:47:09 *** aindilis has joined #gnucash
14:50:41 *** sjc has joined #gnucash
14:50:48 *** lol_h has joined #gnucash
14:56:45 *** bentob0x has quit IRC
15:23:13 *** JMSvenungson has quit IRC
15:30:46 *** Linuturk has quit IRC
15:50:49 *** lol_h has quit IRC
16:00:30 *** gour1 has left #gnucash
16:13:13 *** fbond has joined #gnucash
16:42:53 *** fbond has quit IRC
17:03:25 *** ErKa has joined #gnucash
17:12:22 *** fbond has joined #gnucash
17:16:18 *** warlord-afk is now known as warlord
17:24:03 *** ErKa has quit IRC
17:49:52 *** gary has quit IRC
18:01:18 *** Jimraehl has quit IRC
18:20:15 *** fbond has quit IRC
18:54:54 *** sjc has quit IRC
19:02:05 *** sjc has joined #gnucash
19:11:32 *** gary has joined #gnucash
19:17:03 *** Jimraehl has joined #gnucash
19:20:17 *** cortana has quit IRC
20:56:52 *** sjc has quit IRC
21:43:13 *** warlord is now known as warlord-afk
22:37:58 *** saraht has joined #gnucash
22:38:49 *** saraht has quit IRC
23:28:32 *** gour has joined #gnucash
23:37:32 *** fDavid has joined #gnucash