2007-07-08 GnuCash IRC logs

00:03:15 *** Wilddev has quit IRC
00:55:00 *** wizkid238 has joined #gnucash
01:03:44 *** wizkid239 has quit IRC
01:40:41 *** BlackBsd has quit IRC
01:56:28 *** linmint has quit IRC
03:30:00 *** roxy_ has joined #gnucash
04:14:30 *** muddoc has joined #gnucash
04:17:16 *** palatin has joined #gnucash
04:18:41 *** muddoc has quit IRC
04:37:01 *** lasindi_ is now known as lasindi
04:59:57 *** roxy_ has quit IRC
05:56:15 *** andi5 has joined #gnucash
05:56:15 *** gncbot sets mode: +o andi5
06:03:48 *** gunnicom| has joined #gnucash
06:12:36 *** gunnicom_ has quit IRC
06:38:19 *** Rolf has joined #gnucash
07:14:52 *** cstim has joined #gnucash
07:14:52 *** gncbot sets mode: +o cstim
07:14:57 <cstim> good morning andi5!
07:15:00 <andi5> hi cstim
07:15:16 * andi5 has finished building some stuff right now
07:15:25 <cstim> hrmpf. The German InfoAfterFile isn't shown, it still uses the english one
07:15:36 <cstim> which "some stuff"? Neugier...
07:15:42 <andi5> gwen, aq, gnc
07:16:03 <andi5> i am going to test redirect.exe and your changes
07:16:09 <cstim> ok
07:16:24 <cstim> I've tested the registry changes and they seem to work fine
07:16:29 <andi5> great
07:16:39 <cstim> same with the firewall exceptions
07:17:06 <andi5> great... i do not need to look up where to look up those rules then ;-)
07:17:07 <cstim> Only with PrivilegesRequired=poweruser I'm not so sure. Maybe this needs to be switched to =admin.
07:17:28 <andi5> seems like that only makes a difference on winxp (or at least != vista)
07:17:41 <andi5> my unpreviledged user could not run the installer.... that works so far
07:17:51 <cstim> yes, and only for users who are poweruser but not admin, probably.
07:18:15 <cstim> (btw I think "Hauptbenutzer" is indeed quite a nice translation, much nicer than "poweruser")
07:19:01 <andi5> oh, you asked about guile.bat.... that is only for generating slibcat.... if we do not do it while installing, gnucash will try to do it, fail (missing rights) and maybe crash
07:19:20 <andi5> but i can test that soon
07:20:26 <cstim> Generating slibcat - that's a system-wide issue per definition?
07:20:35 <andi5> yes
07:20:56 <cstim> then this should be fine.
07:21:29 <cstim> For the win installer I was wondering to add more entries into the gnucash menu. "Show README" and such.
07:25:44 <cstim> yep
07:26:02 <cstim> Maia visiting grandparents
07:26:26 <andi5> i guess it was by her own will... but you decided not to stop her, right? ;-)
07:26:45 <cstim> by the will of the grandparents, rather.
07:26:57 <andi5> that sounds reasonable
07:28:03 <cstim> sh**t. Inno Setup expects README-de.win32-bin.txt to be *not* in utf-8.
07:28:17 * cstim wonders which encoding is expected by Inno setup anyway.
07:28:42 <andi5> "expects"?
07:29:34 <cstim> gnucash.iss contains umlauts. Hence, which encoding should gnucash.iss be in?
07:30:07 <cstim> currently it's in latin1 (as opposed to utf8). Somehow this happens to work correctly. Obviously Inno Setup expects its input files in latin1.
07:30:58 <andi5> maybe some of the locale encodings (there are two....)
07:31:21 <cstim> oh, there are? I didn't know of these.
07:32:16 <andi5> at least i think there are two possibilities to derive some.... in the regional settings you can choose a "language for non-unicode programs" on the third tab
07:32:43 <andi5> and there is a location drop down on the first tab
07:35:13 <cstim> language for non-unicode programs: Deutsch (Deutschland)
07:36:33 <andi5> we had one or two bugs a while ago where those two settings differed (to fix some issues with japanese programs)
07:38:52 <cstim> heh. "we had one or two bugs a while ago", well, this is certainly true :-))))
07:39:38 <andi5> wrt __wgetmainargs... i really cannot find a documentation for it, just like the comment in glib/gspawn-win32-helper.c says ..... it is in my msvcrt.dll, i do not know about systems that lack it
07:40:35 <cstim> yes. we probably have to live with this.
07:41:12 <andi5> short Q: did you actually added that file to dist.sh?
07:41:21 <cstim> which one?
07:41:36 <andi5> german.isl
07:41:44 <cstim> .isl? no.
07:41:54 <cstim> that's only needed in the Inno directory.
07:42:28 <cstim> oh, it has a LanguageCodePage=1252
07:42:35 <cstim> that's probably the encoding.
07:42:47 <andi5> oh, sorry, i do not mean that file... do not mind
07:45:21 * cstim doesn't mind
07:45:36 * andi5 runs make install in doc/
07:50:19 <andi5> have you fixed the encoding?
07:50:32 <cstim> in my local git, yes
07:50:37 <andi5> go commit
07:50:41 <cstim> dcommit
07:50:44 <cstim> wrong window
07:50:51 <cstim> sent.
07:50:52 <andi5> windows and git?
07:51:18 <cstim> not quite :-)
07:51:57 <cstim> although at my workplace I use git-clone/git-push/git-pull on windows quite successfully.
07:52:15 <cstim> the remote git being located on a Samba share, which is mounted as a network drive in the windows machine.
07:52:15 <andi5> aha... but what are you using right now?
07:52:57 <cstim> on Linux: git-svn
07:53:01 <cstim> on Windows: plain svn
07:53:20 <cstim> more precise: on windows: plain anonymous svn (http)
07:54:10 <andi5> ok.... so do you use two computers, one for testing and one for committing? or is windows (para)virtualized [damn, still does not work... later]
07:54:22 <cstim> yes, two computers.
07:54:26 <andi5> ahhhh
07:58:12 <andi5> cstim: i guess you know that already, but with the pending changes regarding redirect.exe, gconfd-2.exe and qt3-wizard.exe will be processes that run in pairs then, i.e. you will always see an even number of procs named like this on your computer
07:59:13 <cstim> interesting
08:01:14 <cstim> andi5: what do you think of adding further URLs to the GnuCash program menu? Like, "Report a bug" or "Online FAQ"?
08:01:33 <andi5> well, just do it
08:02:24 <andi5> someday we should take a look at the qt batch script added to a bug today.... and add wget.exe to download/install all the stuff automagically
08:03:48 * cstim just does it
08:04:20 <andi5> maybe a link to wiki/Windows as well?
08:07:19 <cstim> I'd link to the FAQ, which in turn will guide people to the wiki.
08:07:31 <cstim> you mean to wiki/Windows? No, I don't think that is very interesting.
08:14:15 <andi5> great... firewall rules, german readme, run as restricted, evil libeay32.dll.... all of them seem to work now... a lot of improvements today, kudos to cstim :-D
08:16:26 <cstim> cool
08:17:02 <cstim> now I'd only like to install a different "Show README" depending on the language...
08:18:15 <cstim> http://www.vincenzo.net/isxkb/index.php?title=Uninstall_Survey
08:24:02 <andi5> cstim: we (you ;-)) could probably ask translators to take a look at those win32-specific strings and files as well
08:24:24 <cstim> I think the "install firewall exceptions" should probably get Flags:runminimized
08:24:40 <andi5> why that?
08:24:50 <cstim> it pops up a DOS box shortly
08:24:58 <andi5> really? i did not see anything
08:26:02 <andi5> jup, windows\system32\netsh.exe runs in console subsystem here
08:28:36 <cstim> re translating this file: I'm hesitating. The translators should run this at least once, otherwise their translation will be Kraut und RĂ¼ben.
08:29:24 <andi5> some of them may be willing to do that
08:29:47 <andi5> (or are windows users)
08:29:56 <cstim> eek
08:30:51 <andi5> cstim: how is our supply of onions?
08:33:30 <cstim> onions?!?
08:33:58 <andi5> maybe they help to keep windows users away
08:46:13 <cstim> andi5: btw I'd propose to rename the menu item "Install Finance-Quote", because nobody knows what Finance-Quote is.
09:05:44 <andi5> case 1: i do not have time to integrate "Install QT" and name it "Install additional components" [likely] .... what name do you prefer? Install quote retrieval software? ... case 2: i have the time :)
09:07:41 <cstim> "Install additional components" would be fine.
09:08:01 <cstim> I've already renamed the current item to "Install Online Price Retrieval"
09:08:25 <andi5> ok
09:10:19 <cstim> but if you have a different proposal, just go ahead. You'll notice I've moved all user messages to the [CustomMessages] section at the end of the file, along with a German translation.
09:10:55 <cstim> btw just in case you wonder about the item sort order in the menu: No, it is not possible for us to specify any particular sorting order :-(
09:11:25 <andi5> ok
09:12:34 <cstim> http://www.jrsoftware.org/iskb.php?startmenuorder
09:14:41 <andi5> none of our business
09:17:22 <cstim> yes, unfortunately.
09:17:29 <cstim> thanks for the redirect.exe
09:17:52 <cstim> does that mean the Firewall exception rule for gconfd-2.exe needs to be changed as well?
09:17:58 <cstim> it contains the libexec/ path
09:18:02 <andi5> yep, i think so
09:18:14 <andi5> my firewall already asked me about that
09:18:23 <cstim> ok, go ahead and change it as well
09:18:29 <andi5> roger
09:19:52 <cstim> huh, I just typed git-svn dvommit
09:22:18 <andi5> did it work?
09:22:45 <andi5> gotta go
09:22:47 *** andi5 has quit IRC
09:23:01 *** cstim is now known as cstim_afk
09:29:21 *** cstim_afk has quit IRC
10:08:40 *** linmint has joined #gnucash
10:58:08 *** linmint has quit IRC
11:31:39 <leonardof> Hello
11:32:02 <leonardof> i'm translating gnc to pt_BR and I'm a little lost in the Reports menu
11:32:17 <leonardof> I can't find the menu items in the message catalog
11:32:28 <leonardof> e.g., Acc_ount Summary
11:32:45 <leonardof> Is there any trick here?
11:48:19 *** BlackBsd has joined #GnuCash
11:52:44 *** kielein has joined #gnucash
12:26:30 *** BlackBsd has quit IRC
12:40:16 *** andi5 has joined #gnucash
12:40:16 *** gncbot sets mode: +o andi5
12:41:27 <andi5> leonardof: the accelerators in the reports menu are chosen dynamically, so you want to translate "Account Summary" instead
12:42:19 <leonardof> andi5: thanks! should I translate it with accelerators or without them?
12:42:25 <andi5> without
12:42:39 <leonardof> andi5: thank you!
12:42:53 <andi5> if you are unsure, you can always take a look at the almost complete translations, like fr or de
12:43:10 <leonardof> I'll peek at fr.po.
12:43:15 <andi5> great
12:43:59 <andi5> leonardof: did you read http://lists.gnucash.org/pipermail/gnucash-devel/2007-July/020926.html ?
12:44:25 <leonardof> andi5: it's in my todo list, thanks!
12:44:33 <andi5> nice!
12:58:08 *** keyline has joined #gnucash
13:07:03 *** kielein has quit IRC
14:02:08 *** ErKa has joined #gnucash
14:12:40 *** ErKa has quit IRC
14:28:31 *** andi5 has quit IRC
14:46:15 *** {EyeGuy} has quit IRC
14:49:27 *** cstim has joined #gnucash
14:49:27 *** gncbot sets mode: +o cstim
14:50:46 *** cortilap has joined #gnucash
14:52:55 *** Demitar has quit IRC
14:54:53 *** Demitar has joined #gnucash
14:54:58 <cstim> lasindi: which goffice is required in the csv-import branch?
14:55:52 <cstim> lasindi: is goffice-0.2.1 enough?
15:07:00 *** roxy_ has joined #gnucash
15:20:12 *** roxy_ has quit IRC
15:21:17 <cstim> mojito, anyone?
15:57:38 *** brian_ has joined #gnucash
15:58:36 <brian_> imported a .ofx and when I finished with the import dialog box and clicked OK gnucash crashed.
15:58:41 <brian_> The program 'gnucash' received an X Window System error.
15:58:42 <brian_> This probably reflects a bug in the program.
15:58:42 <brian_> The error was 'RenderBadPicture (invalid Picture parameter)'.
15:58:42 <brian_> (Details: serial 348187 error_code 168 request_code 151 minor_code 7)
15:58:42 <brian_> (Note to programmers: normally, X errors are reported asynchronously;
15:58:43 <brian_> that is, you will receive the error a while after causing it.
15:58:44 <brian_> To debug your program, run it with the --sync command line
15:58:46 <brian_> option to change this behavior. You can then get a meaningful
15:58:48 <brian_> backtrace from your debugger if you break on the gdk_x_error() function.)
15:58:57 <cstim> brian_: sorry for that
15:59:19 <cstim> brian_: but, really, a "X Window System error"? that sounds really weird
15:59:30 <brian_> ya.
15:59:34 * cstim has zero knowledge about X Window System errors :-/
15:59:41 <brian_> X11.app on OS X
15:59:54 <cstim> oh, OS X.
15:59:55 <brian_> could be Steve Jobs fault.
16:00:14 <cstim> yeah. Maybe was too busy with this phone thingy.
16:00:20 <brian_> :)
16:01:01 <brian_> I'll try and reproduce the crash now.
16:01:21 <cstim> ok, we have one Mac OS X user who is quite active in IRC (David Reiser), but he's not here right now. Your best guess would be to email to gnucash-devel.
16:01:51 <brian_> cool thanks.
16:02:17 <cstim> but maybe he doesn't have much ideas about X Window System errors as well. Hm.
16:18:17 <brian_> I just did the same import, but from a qfx instead of ofx, and this time no crash :)
16:19:12 <cstim> huh
16:22:11 *** cstim has quit IRC
16:25:04 *** cstim has joined #gnucash
16:25:04 *** gncbot sets mode: +o cstim
16:25:31 <cstim> lasindi: oh, with the current SVN lib/stf now compiles. thanks a lot.
16:25:51 <lasindi> cstim: Yeah, I just wanted to message you and you left! :-)
16:25:58 <cstim> heh
16:26:04 <lasindi> Does it run too?
16:26:27 * cstim 's computer is slow... waiting for compile...
16:26:35 <lasindi> Ah
16:27:21 <cstim> I figured I just collect my feedback into email.
16:30:40 <cstim> I'll leave in ~10 minutes
16:31:12 <cstim> lasindi: do you maybe have some questions about gnucash coding or the stuff I wrote?
16:32:41 *** andi5 has joined #gnucash
16:32:42 *** gncbot sets mode: +o andi5
16:32:58 <andi5> cstim: you have a recent setup.exe available, have not you?
16:33:06 <lasindi> Yes, actually, one of the things I haven't done yet which I probably should do soon is incorporate internationalization into the code I have so far. Do you have any thoughts on how I should do this?
16:36:13 <cstim> andi5: well, yes...
16:36:25 <andi5> [cstim will have a better answer] ... just use _("translate me") in places functions are allowed, otherwise N_("asdf") and _ (or gettext) later on ; ... glade files allow a "translatable flag" on labels and other widgets
16:36:33 <cstim> lasindi: I thought of that as well, but OTOH it is rather easy to do this even later
16:37:02 <cstim> heh, andi5 is just too fast for me :-)
16:37:08 <andi5> *g*
16:37:34 <andi5> cstim: what do you think about uploading that to sf so that those win32 bug reporters can test it?
16:37:47 <lasindi> cstim: Alright. I'm reading your email right now, just to answer your question about the checkboxes: those are just there because I was being very uncreative and copied Gnumeric's checkboxes.
16:38:37 <cstim> lasindi: yes, I guessed something in that direction. as I wrote, it is fine for now.
16:41:24 <cstim> ok, I have r16280 for upload.
16:41:41 <andi5> thanks!
16:43:17 <andi5> huh... 6 false spam positives, just today...
16:43:52 <lasindi> cstim: Okay, thanks for all of your comments. I'll try and get configure to give me those warnings you mentioned and make the g_* call changes as well. I'm planning to send an email to the gnucash-devel list pretty soon here summarizing what I've done and still has to be done.
16:48:30 <cstim> lasindi: sounds good
16:48:45 <andi5> cstim: seems like the only real misterious bug that is left is our gconfd-2.exe does not start / hangs / fails bug, right?
16:48:51 <andi5> s,mis,mys,
16:48:54 <cstim> lasindi: you don't have to take the proposals into account right now; you can just as well postpone them to 3-4 weeks from now
16:49:01 <cstim> andi5: yes
16:50:44 <andi5> it is pretty frustrating to see that people like Steve try hard to help us but we still cannot resolve this one....
16:51:38 <andi5> i liked those "i just clicked on 'report' and do not care otherwise" reports.... it is easier to ignore them
16:54:04 <andi5> ok, i am off.... see you
16:54:23 *** andi5 has quit IRC
16:56:17 *** palatin has quit IRC
16:57:55 <cstim> lasindi: did you want to have more translation feedback?
17:00:22 <lasindi> cstim: Well, if you think it's easy to do it later as well, that's fine; I'm not in any particular rush to do that. I was just wondering if there were any GnuCash-specific practices I should follow with regards to translations.
17:01:24 <cstim> lasindi: basically, all glade content is marked for translation already, so you don't have to think about that.
17:01:45 <cstim> lasindi: In your code you only have to think about translation if you have user-visible messages.
17:01:58 <cstim> lasindi: for example, gnc-csv-import.c line 175
17:02:20 <cstim> those strings you enclose with an additional _( )
17:02:30 <cstim> i.e. _( "Invalid encoding selected" )
17:02:55 <lasindi> That's all I have to do?
17:02:57 <cstim> where _( ) is a define for the function call gettext( )
17:02:59 <cstim> yes
17:03:25 <lasindi> Heh, that is quite easy. :-)
17:03:36 <cstim> Yes, that's the whole point of gettext :-)
17:03:49 <cstim> there's one more involved issue
17:04:00 <cstim> at e.g. gnc-csv-import.c line 191
17:04:24 <cstim> where you define user-visible strings inside a char*[] array.
17:04:48 <cstim> You can't use _( ) here because that's a function call, but inside a char*[] array you can only insert string literals.
17:05:18 <cstim> For that reason, you should use N_( ) for each string there.
17:05:30 <cstim> did you follow me so far?
17:06:02 <lasindi> I think so; I guess N_() is a macro?
17:06:08 <cstim> yes
17:06:22 <cstim> N_( ) is a macro that does nothing, from the compiler point of view.
17:06:50 <cstim> It is only markup for the external tool "xgettext" which will extract all "strings that have to be translated" from your C source.
17:07:28 <cstim> you see: _( ) is a macro that expands to a function call, but N_( ) is a macro that expands to nothing.
17:08:02 <lasindi> So how does N_( ) actually end up causing translation at runtime?
17:08:16 <cstim> here's the tricky part:
17:08:24 <cstim> N_( ) does not end up causing a translation.
17:08:40 <cstim> You have to additionally add a call to "the translation function" yourself.
17:08:54 <cstim> Incidentally, that translation function is obtained by using _( ) as a function call as well.
17:10:00 <cstim> hm, maybe the date_format_user of gnc-csv-model.c line 22 is a better example.
17:10:52 <cstim> When defining date_format_user, you enclose each string by N_( )
17:10:57 <cstim> but this doesn't cause a translation.
17:11:17 <cstim> When the strings are actually displayed to the user, which happens in gnc-csv-import.c line 417
17:11:24 <cstim> you have to pass the string through _( )
17:11:41 <cstim> i.e. instead of append_text( ..., date_format_user[i]); you write
17:11:51 <cstim> append_text( ..., _( date_format_user[i] ) );
17:11:56 <cstim> That's it.
17:12:25 <lasindi> Ah
17:12:55 <cstim> was that understandable?
17:14:13 <lasindi> I think so; seems like gettext is pretty flexible.
17:16:59 <cstim> I think someone should take the log of my explanation and copy it somewhere to the wiki; I guess the three other GSoC students will need this explanation as well :-)
17:17:09 <cstim> lasindi: do you think you could do this?
17:17:27 <lasindi> Sure
17:17:34 <cstim> thanks.
17:21:48 * cstim is off to bed
17:21:55 *** cstim is now known as cstim_zzz
17:22:10 <cstim_zzz> lasindi: see ya. All the best with further coding. This looks great!
17:22:36 <lasindi> cstim_zzz: Thanks! See you later
17:29:05 *** cstim_zzz has quit IRC
17:55:08 *** twunder has joined #gnucash
18:21:15 *** gunnicom_ has joined #gnucash
18:21:29 *** twunder has quit IRC
18:27:03 *** BlackBsd has joined #GnuCash
18:30:37 *** keyline has quit IRC
18:30:39 *** gunnicom| has quit IRC
18:34:35 *** BlackBsd has quit IRC
19:00:55 *** brian_ has quit IRC
19:06:26 *** brian_ has joined #gnucash
19:38:17 *** brian_ has quit IRC
19:40:41 *** twunder has joined #gnucash
19:53:06 *** gunnicom_ has quit IRC
20:00:02 *** brian_ has joined #gnucash
20:09:43 *** lasindi_ has joined #gnucash
20:09:43 *** lasindi has quit IRC
21:20:30 *** Rolf has quit IRC
21:35:30 *** leonardof has left #gnucash
22:06:43 *** twunder has quit IRC
23:11:12 *** blz has joined #gnucash
23:33:12 <blz> Hi all, I was wondering what's happening with 'Lots'? What needs to be done to make them work? I need them for dividends and for franking credits (in oz some dividends come with tax prepaid which are an asset).
23:50:31 *** zarchne has quit IRC
23:55:01 *** rprichard has joined #gnucash
23:55:14 *** brian_ has quit IRC
23:58:02 <rprichard> I'm getting a "The procedure entry point BIO_clear_flags could not be located in the dymamic link library libeay32.dll" error when I try to start the AqBanking Wizard with Win32 GnuCash 2.1.5. The program qt3-wizard.exe is the one with the link failure. Has anyone seen this error message?