2007-11-17 GnuCash IRC logs

01:00:51 *** ErKa has joined #gnucash
01:59:08 *** ErKa has quit IRC
02:21:56 *** ErKa has joined #gnucash
02:52:31 *** ErKa has quit IRC
04:05:57 *** aquamaniac has joined #gnucash
05:09:16 <cortana> ArcRiley: that sounds interesting :)
06:10:49 *** kielein has joined #gnucash
06:21:30 *** tazz0r has joined #gnucash
06:22:10 <tazz0r> does gnucash use any reg entrys that are important or is it all path info?
06:53:11 *** Rolf has quit IRC
07:01:52 *** Mitja has joined #gnucash
08:15:55 *** warlord-afk is now known as warlord
08:16:06 <warlord> "reg entrys [sic]"? What do you mean, tazz0r
08:45:05 <tazz0r> are there any used that are not just path info
08:45:34 <tazz0r> like is any settings for the aqbanking or anyother part of gnucash stored in the registry
08:49:23 <aquamaniac> hi, well, aqbanking 2 (which is currently used by GnuCash) uses the registry only for path lookups.
08:51:14 <tazz0r> can it be set to use environmental variables in a batch file instead of the registry??
08:51:40 <warlord> AHH, NOW you've answered my question... "is any settings ... stored in the registry". I presume you mean on win32? I honestly dont know -- we don't use the windows registry directly, but we do use GConf.. And GConf may, but I dont know.
08:51:50 <warlord> We do set a couple registry entries, like for icons and such.
08:52:14 <tazz0r> im asking because i made a portable version of gnucash and i dont want any info stored in the regisry
08:53:21 <warlord> Well, have you tested that there is anything stored in the registry?
08:53:36 <tazz0r> only thing i found in the reg was path info
08:53:39 <tazz0r> thats why i asked
08:53:40 <aquamaniac> no, sorry, and it won't be built into that version. In the next version of AqBanking (the yet-to-be-released AqBanking3) we use relative paths so there shouldn't be a problem. Those paths can then of course be overridden by registry entries.
08:53:41 <warlord> Or is this just a blank "I havent looked myself -- does it do X?"
08:54:43 <tazz0r> ok so that explains why users of my portable version are complaning that aqbanking isent working
08:55:19 <tazz0r> is there a date of release for aqbanking3 or is it yet to be decided??
08:56:53 <aquamaniac> the release date of AqBanking isn't the issue. We will release AqBanking3 this month, however, GnuCash doesn't yet use it yet...
08:57:17 <tazz0r> thats not a problem i can implament it myself
08:58:40 <tazz0r> aquamaniac can i pm you
08:58:40 <warlord> aquamaniac: Martin?
09:00:06 <aquamaniac> yes, I'm Martin Preuss
09:00:17 <aquamaniac> I have to split, I'll be back in about half an hour...
09:00:20 <warlord> Ahh! Hi Martin.
09:00:31 <warlord> I'll look for you (I'm going to be offline most of the day today)
09:00:36 <warlord> Good to see you here!
09:00:46 <tazz0r> ok
09:01:18 <tazz0r> maybe ill go through the source of aqbanking in gnucash and change it to use relative paths
09:03:48 *** cstim has joined #gnucash
09:03:49 *** gncbot sets mode: +o cstim
09:03:59 <cstim> @seen benoitg
09:03:59 <gncbot> cstim: benoitg was last seen in #gnucash 8 weeks, 5 days, 12 hours, 27 minutes, and 11 seconds ago: <benoitg> Cerin: Gnucash DOES have a bayesian classifier that is used to pick the account when importing OFX or HBCI. The qif importer does not use it yet.
09:06:01 <warlord> tazz0r: I'm not sure that it's gnucash that needs to be changed..
09:06:08 <warlord> it sounds like aqb uses direct paths..
09:06:19 <warlord> er, aqb2
09:06:22 <cstim> @tell benoitg libofx needs a new release quite soon. Do you have time to do that yourself, or would you prefer to upgrade Martin Preuss to project admin at sourceforge so that he can do it?
09:06:22 <gncbot> cstim: The operation succeeded.
09:06:31 <warlord> and then gnucahs would need to be updated to use aqb3
09:06:46 <warlord> cstim: you might want to try emailing him, too.
09:07:29 <tazz0r> warlord isent aqbanking compiled from source with gnucash ??
09:07:53 <warlord> generally no, but it MIGHT be for win32.
09:08:14 <warlord> but it's not IN the gnucash sources..
09:08:23 <warlord> we download the AQB tarball and build it.
09:09:26 <cstim> warlord: I'm writing...
09:09:44 <cstim> tazz0r: did you ask your question already on gnucash-de?
09:10:05 <tazz0r> no
09:13:31 *** twunder has joined #gnucash
09:14:54 <jsled> tazz0r: are you responsible for GnucashPortable?
09:15:02 <tazz0r> yes
09:15:14 <tazz0r> my other nick is IllusionOfDemise
09:15:19 <jsled> Ah. A) thanks! I've seen a lot of press recently because of it.
09:15:39 <jsled> B) It's GnuCash, not Gnucash. :)
09:15:51 <tazz0r> ill fix that :)
09:17:04 <tazz0r> actualy my version says GnuCash but i was away for awhile and someone continued my work and changed it to Gnucash
09:17:20 <cstim> jsled: press?
09:17:36 <cstim> (urls?)
09:17:57 <jsled> mostly blog postings. press 2.0
09:18:39 *** twunder has quit IRC
09:19:30 *** kielein has quit IRC
09:20:55 <cstim> tazz0r: cool project. Thanks.
09:21:10 <tazz0r> im now continuing my version of the portable because the guy who continued my work and redid some of it has it limited and its only installable if you have admin rights on the pc
09:21:28 <tazz0r> my version could be installed and run no matter what rights you have
09:22:44 <warlord> have a good day, all.
09:23:11 *** warlord has quit IRC
09:23:33 <cstim> tazz0r: ok, I know about aqbanking. Let me check your questions from the logs...
09:24:30 <tazz0r> was just wondering if there was a way to have it work without having to set the reg entrys
09:24:32 <cstim> <tazz0r> does gnucash use any reg entrys that are important or is it all path info?
09:24:46 <cstim> tazz0r: nothing that is important. Only path info.
09:25:22 <tazz0r> i was told Aqbanking uses the registry
09:25:29 <tazz0r> yes for path info
09:25:33 <cstim> and, as has already been said, gnucash itself doesn't set or need any registry paths, but aqbanking does.
09:25:46 <tazz0r> but it is important cos without it aqbanking doesnt work
09:26:15 <tazz0r> my portable gnucash works great but aqbanking doesnt without reg entries
09:26:24 <cstim> errr... yes, that's right.
09:26:33 <tazz0r> im trying to get it working without having to set reg entries
09:26:54 <tazz0r> to me a portable app should never leave any trace on the host pc
09:27:09 <cstim> we need all that are in http://svn.gnucash.org/trac/browser/gnucash/trunk/packaging/win32/gnucash.iss.in
09:27:10 <tazz0r> and reg entries would be left behind
09:27:15 <cstim> lines 121 through 140.
09:27:41 <cstim> I totally agree.
09:27:59 <cstim> Even worse, if the same App is installed locally, the portable one would silently destroy its installation.
09:28:38 <tazz0r> yes
09:28:56 <tazz0r> thats why my portable isent going to redo the reg
09:29:05 <tazz0r> thats why im trying to find a way around it
09:29:17 <aquamaniac> Hi I'm back. As I said, the latest version of AqBanking3 does not need regsitry entries. If they are there, they are used, but AqBanking itself does not create registry entries (the installer of AqBanking2 did that, but I think this will no longer be necessary for AqBanking3)
09:30:03 <tazz0r> yes but without the reg entries added by the installer AqBanking doesnt work
09:30:06 <cstim> tazz0r: oh, btw, how do you create registry entries in GnuCashPortable? Is there some script running before the actual gnucash is launched?
09:30:26 <tazz0r> GnuCashPortable doesnt use reg entries
09:30:42 <tazz0r> thats why currently aqbankign isent working in my portable release
09:31:30 <tazz0r> but yes a launcher would be used to add the keys if i wanted to do it that way but like i said i dont want to have to add them
09:31:47 <aquamaniac> yes, aqbanking2 doesn't, but aqbanking3 *does*
09:32:21 <tazz0r> which will be great but ill have to impliment it myself because who know when/if it will be added to GnuCash
09:34:26 <tazz0r> is there somewhere i can download a beta of v3?
09:38:02 <cstim> tazz0r: what do you mean, "implement it myself"? porting of gnucash to aqbanking3?
09:38:19 <cstim> tazz0r: http://wiki.gnucash.org/wiki/AqBanking3_Porting
09:39:31 <cstim> tazz0r: As Martin already said, aqbanking2 on Windows isn't relocatable. It is partly on Linux, though. For Windows we either had to implement relocation on Windows as well, or simply use the registry, and we decided for the latter.
09:47:38 *** Mitja has quit IRC
09:49:36 <tazz0r> couldent v2 have used env vars instead of the reg
09:51:13 <cstim> tazz0r: that's the wrong question. It's not "couldn't you have implemented feature xy", it's only "Does feature xy exist". No, there is no env var lookup of paths in aqbanking/gwenhywfar.
09:51:16 <aquamaniac> of course if could have, but thats not the way it is uusally done on windows... we decided to use registries
09:51:54 <aquamaniac> we could have decided otherwise, but we didn't... I think this question doesn't help *now*, does it?
09:52:08 <cstim> tazz0r: *If* you want to have gnucash with aqbanking and no registry with as little effort as possible, then yes indeed, you should probably patch the gwenhywfar/aqbanking sources to use env variables where it currently uses registry lookups.
09:52:28 <tazz0r> could you tell me what files i would have to change to use env vars instead
09:52:54 <cstim> tazz0r: well, you need to replace all the registry keys that are set in the gnucash.iss.in file.
09:53:47 <cstim> e.g. in gwenhywfar here: http://devel.aqbanking.de/viewsvn/gwenhywfar/trunk/src/gwenhywfar.c?rev=1261&view=markup
09:54:30 <cstim> each call to GWEN_PathManager_AddPathFromWinReg must be replaced by a call to GWEN_PathManager_AddPath with the path pulled from an env variable beforehand.
09:57:32 <tazz0r> not hard to do
09:57:44 <cstim> those will account for the lines 121 through 127 in the gnucash.iss.in file. The rest of the registry keys are more spread out in various source code files...
09:58:23 <tazz0r> ill just grep the code to find them
09:58:40 <cstim> You could make that change, then compile libgwenhywfar-37.dll and use that in gnucash. Please do that first before spending the effort on the rest.
09:59:27 <cstim> Use that patched libgwenhywfar-xx.dll in gnucash and verify that it doesn't need the keys in Gwenhyfar\Paths anymore. If it indeed works, I can point you to the rest of the keys.
09:59:59 <tazz0r> ok
10:00:17 <tazz0r> libgwenhywfar-37.dll gnucash uses -38
10:05:00 <cstim> yeah, whatever number.
10:05:10 <cstim> I always confuse those. Of course the one that gnucash uses.
10:05:27 <tazz0r> :P
10:07:22 <tazz0r> just so i understand this better
10:07:37 <tazz0r> can i paste a small bit of code to ur pm
10:07:47 <cstim> pastebin.ca
10:07:58 <cstim> or gnucash-devel mailing list
10:08:25 <tazz0r> http://pastebin.ca/778386
10:08:45 <cstim> yes... and?
10:09:03 <tazz0r> to get GWEN_PM_SYSCONFDIR from env i just need to set tmp from the env ??
10:09:26 <cstim> yes, right.
10:10:08 <cstim> (that br_find_etc_dir works with relocatability on Linux, but not [yet] on Windows.)
10:10:20 <tazz0r> line 5 tmp is where its adding the env from tmp to the GWEN_PM_SYSCONFDIR var correct?
10:10:32 <cstim> but as I said, this is the easy part.
10:10:57 <cstim> yes
10:11:33 <tazz0r> br_find_etc_dir isent needed then for windows
10:14:15 <cstim> yes
10:15:27 <tazz0r> ok got ya time to rewrite hope this works
10:16:12 <cstim> tazz0r: I need to leave; let me just explain to you how to do the other keys.
10:16:40 <cstim> Those other keys listed in gnucash.iss.in are looked up not in libgwenhywfar but in libaqbanking *or any of its plugins*.
10:16:59 <tazz0r> ok
10:17:09 <cstim> In order to find the place where you need to put the env var into the AddPath() function, do the following
10:17:14 <cstim> http://pastebin.ca/778399
10:17:25 <cstim> Go into the aqbanking source.
10:17:46 <cstim> grep for the key's value name in the *headers*, e.g. "providerdir"
10:17:58 <cstim> This will give you the name of the macro that is that keyname.
10:18:05 <cstim> here, this is AB_BANKING_REGKEY_PROVIDERDIR
10:18:15 <cstim> Then, grep for that keyname *macro* in the *sources*
10:18:25 <tazz0r> ok
10:18:29 <tazz0r> got ya
10:18:37 <cstim> In the two examples, those turn up in the source file src/libs/aqbanking/banking.c
10:18:55 <cstim> and there you need to modify the GWEN_PathManager_AddPath as you already did in gwenhywfar.
10:19:08 <tazz0r> ok
10:19:20 <cstim> Don't be surprised if for the other keys you get more than one file, or very weird files. But with this method you will catch them all.
10:19:52 <cstim> If you're done, submit your patch by email to the aqbanking-devel list - I might even add this as an *additional* path lookup method to the aqbanking2 library.
10:19:55 <cstim> ok.
10:19:59 <cstim> any further questions so far?
10:20:07 <tazz0r> nop
10:20:14 <cstim> see ya
10:20:16 <cstim> good luck!
10:20:30 *** cstim has quit IRC
10:20:30 <tazz0r> ok tnx
11:37:10 *** ErKa has joined #gnucash
12:16:05 *** tjanssen has joined #gnucash
12:17:15 *** fkr has joined #gnucash
12:17:20 <fkr> hi
12:18:15 <fkr> did not find this in the FAQ: does gnucash support a series of re-occuring invoices? like say: every three months the same invoices?
12:21:12 <jsled> no.
12:21:41 <jsled> http://wiki.gnucash.org/wiki/FAQ#Q:_Is_there_a_way_to_schedule_billing_the_same_way_we_schedule_transactions.3F
12:27:20 <fkr> thanks for the info
12:48:05 *** fkr has left #gnucash
12:56:30 *** ErKa has quit IRC
13:07:20 *** tjanssen has quit IRC
13:22:37 <ArcRiley> cortana: yea the US dollar is loosing value too fast, smart financial people are (at the very least) transfering their savings to a hard currency like silver or gold
13:23:08 <ArcRiley> it's nice to be able to track USD and XAG/XAU in the same software
13:23:11 <cortana> i thought the problem with that is that the US Government can confiscate gold whenever it pleases
13:24:25 <jsled> Huh? I'd be surprised if they can.
13:24:57 <jsled> I mean, no more than any other private property.
13:25:09 *** twunder has joined #gnucash
13:27:23 *** twunder has quit IRC
13:36:10 *** joerlend has quit IRC
13:47:09 *** joerlend has joined #GnuCash
13:53:28 *** rog1 has joined #gnucash
14:27:50 *** Wilddev has joined #gnucash
14:27:50 *** gncbot sets mode: +o Wilddev
14:50:02 *** joerlend has quit IRC
14:53:59 <ArcRiley> but gold can be hidden easily.
15:17:29 *** aquamaniac has left #gnucash
15:17:32 *** aquamaniac has joined #gnucash
15:17:42 *** aquamaniac has left #gnucash
15:50:32 *** sorush20 has joined #gnucash
15:51:09 <sorush20> hi I want to take money out of the account and give it to the owner.. how do I make this transaction. they money is in the pettycash account
15:59:41 *** joerlend has joined #GnuCash
16:47:06 *** twunder has joined #gnucash
16:47:15 *** andi5 has joined #gnucash
16:47:16 *** gncbot sets mode: +o andi5
17:12:50 *** ron_ has joined #gnucash
17:13:05 *** ron_ has left #gnucash
17:15:01 *** rhowe has quit IRC
17:30:11 *** Mitja has joined #gnucash
17:30:46 *** twunder-konv has joined #gnucash
17:30:47 *** twunder has quit IRC
17:42:01 *** rhowe has joined #gnucash
17:42:46 *** twunder-konv has quit IRC
17:58:42 *** Mitja- has joined #gnucash
18:03:29 *** Mitja has quit IRC
18:03:48 *** chris has quit IRC
18:10:07 <andi5> i am sure this question has been asked before a hundred of times, but why do we show transactions posted after the statement date of a reconciliation in the recn dialog?
18:22:23 *** Wilddev has quit IRC
18:28:10 *** Mitja- has quit IRC
18:32:51 *** chris has joined #gnucash
18:32:52 *** gncbot sets mode: +o chris
18:36:23 * andi5 curses about b.g.org
18:41:57 *** tjanssen has joined #gnucash
18:58:58 *** ErKa has joined #gnucash
19:08:05 *** cortana has quit IRC
19:12:55 *** cortana has joined #gnucash
19:19:50 *** benoitg has joined #gnucash
19:26:56 *** twunder has joined #gnucash
20:07:57 *** twunder has quit IRC
20:10:17 *** benoitg has left #gnucash
20:19:01 *** ErKa has quit IRC
20:24:55 *** tjanssen has quit IRC
20:35:30 <tazz0r> @tell cstim did not work right i must have done something wrong http://pastebin.ca/778926 the test spit errors from stringlist.c on line 337 never touched that file so must be linked to what i did somehow
20:35:30 <gncbot> tazz0r: The operation succeeded.
20:39:25 *** warlord has joined #gnucash
20:39:25 *** gncbot sets mode: +o warlord
20:51:47 *** tim_abell has joined #gnucash
20:52:24 *** andi5 has quit IRC
20:56:28 *** pdc has joined #gnucash
21:34:18 *** tim_abell has quit IRC
22:14:48 *** twunder has joined #gnucash
22:16:53 *** twunder has quit IRC
22:31:49 *** Zoolooc_ has joined #gnucash
22:40:17 *** Zoolooc has quit IRC
23:32:07 *** warlord is now known as warlord-afk
23:39:49 *** warlord has joined #gnucash
23:39:50 *** warlord-afk has quit IRC
23:39:50 *** gncbot sets mode: +o warlord
23:43:03 *** warlord2 has joined #gnucash
23:44:23 *** warlord2 is now known as warlord-afk
23:48:59 *** warlord has quit IRC