2010-02-25 GnuCash IRC logs
00:05:43 *** swaddo has joined #gnucash
00:17:50 *** TommyT has quit IRC
00:58:25 *** Gokee2 has quit IRC
02:00:24 *** feisar has joined #gnucash
02:37:54 *** JesseW has joined #gnucash
02:45:24 *** bentob0x has joined #gnucash
02:45:58 <JesseW> I'm in the process of making a patch to add additional documentation to dialog-print-check.c -- but I also fixed up the indentation in it (a number of functions had different indentation from the rest of the file, and a few had simply totally wrong indentation). Now I'm concerned that mixing these two things will make the patch unreadable (and unreviewable)... Any suggestions?
02:53:15 *** jpetersen has joined #gnucash
03:11:21 *** swaddo has quit IRC
03:45:24 *** e-ndy has joined #gnucash
04:33:10 *** ErKa has joined #gnucash
04:33:25 *** przemmaj has joined #gnucash
04:33:30 <przemmaj> Hi,
04:34:07 <przemmaj> question: when gnucash does the scheduled transaction at what time scheduled day and how the gnuchas checks day?
04:52:30 *** debian has joined #gnucash
04:59:00 *** debian has quit IRC
05:03:08 *** swaddo has joined #gnucash
05:59:34 *** gjanssens has joined #gnucash
05:59:35 *** gncbot sets mode: +o gjanssens
06:01:37 <gjanssens> hi, I want to add a small piece of code that interacts with the gnome-keyring
06:01:52 <gjanssens> I'm not sure which src dir would be the best to add my source files
06:02:01 <gjanssens> I first thought gnome-util
06:02:15 <gjanssens> but then I found dialog-userpass.c in gnome
06:03:07 <gjanssens> the gnome-keyring interaction is IMO similar to this dialog in library depency and gui requirements
06:03:18 <gjanssens> so now I don't know anymore.
06:03:23 <gjanssens> What can you suggest ?
06:18:41 *** swaddo has quit IRC
06:38:29 *** JesseW has quit IRC
06:55:14 *** fDavid has joined #gnucash
07:17:50 *** bentob0x has quit IRC
07:37:54 *** Jimraehl has left #gnucash
07:44:33 *** blizgerg has quit IRC
07:48:19 *** Jimraehl has joined #gnucash
08:16:38 *** jean has joined #gnucash
08:21:34 *** KaiForce has quit IRC
08:24:35 *** warlord-afk is now known as warlord
08:25:42 <warlord> przemmaj: GnuCash runs the SXes whenever you start up, or whenever you run the Since Last Run process. It does not execute them automatically during a run. There is no time of day; it's whatever the current locale day is.
08:26:07 <warlord> gjanssens: Partly it depends what your code depends on, and what other code will depend on your code.
08:31:33 <gjanssens> warlord: that's what I figured
08:32:06 <gjanssens> the idea is that my code will be called whenever a password is required for the dbi backends
08:32:16 <gjanssens> and also when the user changes a password
08:32:35 <gjanssens> in practice this means
08:33:04 <gjanssens> 1. when the file-open dialog returns a mysql/postgres uri
08:33:46 <gjanssens> 2. when a db is opened using the history information (like open last opened data store, or user chooses history in the menu)
08:34:32 <gjanssens> I want my code to check for the existence of a password store (like gnome-keyring or apple's keychain)
08:34:40 <gjanssens> and interact with that if it's available
08:35:30 <gjanssens> I might add an option to allow the user NOT to use these stores, even if available, but I'm not sure it's worth it
08:36:10 <gjanssens> however if no password store exists, I would pop up a dialog asking for the password when GnuCash needs it.
08:37:34 <gjanssens> That would mean the data loading code (or perhaps only the dbi backend loading code) will call my code
08:37:50 <gjanssens> And it will depend on the dialog-userpass to ask for a password.
08:39:11 <gjanssens> I don't know if there are other subsystems that deal with passwords (finance-quote perhaps ?)
08:39:24 <gjanssens> If so they may use my new interface as well in the future.
08:42:22 <przemmaj> warlord: ok, probably becouse of my xp crash it didn't start it, how can i make gnucash run the scheduled transaction?
08:43:26 <warlord> gjanssens: well, moving the code later is always relatively easy. But I would put it wherever it makes sense based on what you require: gnome-utils is probably fine.
08:43:55 <warlord> przemmaj: Um, not sure what you mean by that... SLR gets run every time you start gnucash.
08:44:16 <warlord> ... unless you turned off the "run at start time" preference
08:55:11 <warlord> anyways, I'll be on and off for a while. Have a good day
08:55:13 *** warlord is now known as warlord-slow
09:06:59 <przemmaj> warl
09:08:25 <przemmaj> warlord-slow: hm, what if it didn't run the transaction ? or it did but I didn't save the file? can I force it ? last transaction execute is in 24.01 for example so yesterday it should run.
09:16:58 <jsled> przemmaj: Action > Scheduled Transactions > Since Last Run
09:17:21 <jsled> It "checks the day" based on your system's clock
09:17:40 <jsled> But it will not invoke the Since Last run dialog if you leave gnucash running overnight.
09:57:02 *** daedeloth has joined #gnucash
10:13:03 *** daedeloth_ has joined #gnucash
10:17:37 *** bentob0x has joined #gnucash
10:59:40 *** fDavid has quit IRC
11:45:38 *** jpetersen has quit IRC
11:51:00 *** vbatts has quit IRC
11:57:27 *** feisar has quit IRC
12:15:53 *** vbatts has joined #gnucash
12:52:48 *** bentob0x has quit IRC
13:02:19 *** ErKa has quit IRC
13:05:34 *** e-ndy has quit IRC
14:36:56 *** daedeloth has quit IRC
14:40:51 *** Zoolooc has joined #gnucash
15:02:38 *** daedeloth has joined #gnucash
15:37:43 *** jean has quit IRC
16:02:13 *** Gokee2 has joined #gnucash
16:02:37 *** andyt has joined #gnucash
16:20:45 *** swaddo has joined #gnucash
16:37:02 *** Zoolooc_ has joined #gnucash
16:37:17 *** Zoolooc has quit IRC
16:39:31 *** swaddo has quit IRC
16:47:55 *** nomeata has joined #gnucash
17:00:45 *** nomeata has quit IRC
17:18:19 *** gjanssens has quit IRC
17:29:13 <przemmaj> jsled: ok, i did but anyway it didn't run the scheduled tr. Does it write somewhere info about transaction if they were executed and when?
17:29:42 <jsled> only the last run state, in the datafile, alongside the scheduled transaction definition itself.
17:30:31 <przemmaj> so in the xml, ok I will look for it
17:30:45 <przemmaj> and play with a clock a little also
17:36:07 *** swaddo has joined #gnucash
17:36:29 <przemmaj> jsled: can you point me directly to the xml tag?
17:37:13 <jsled> look for "sched" …
17:37:27 <jsled> <gnc:schedxaction
17:37:49 <jsled> <sx:last> will be the last occurrence date.
17:38:08 <jsled> If your template transactions make use of the magic "i" variable, be sure to reset <sx:instanceCount>, too.
17:38:09 <przemmaj> ok, so last is 2010-01-24
17:38:36 <przemmaj> so I don't get why it don't want to re reun transaction
17:39:00 <przemmaj> instanca count should be 0 or 1 ? now is 1
17:41:28 <jsled> what's the frequency?
17:41:39 <przemmaj> 1/month
17:41:46 <jsled> it it <sx:enabled> ?
17:42:06 <przemmaj> <sx:enabled>y</sx:enabled
17:43:29 <jsled> hrm.
17:44:47 <przemmaj> :)
17:46:15 *** daedeloth has quit IRC
17:47:16 <przemmaj> jsled: ok, i'm going sleep so I will read any hints in the morning if you come with sth. Cheers.
17:48:47 *** cort has joined #gnucash
17:52:52 <kimmo> hey, I have a totally unrelated problem
17:52:57 <kimmo> or a dilemma
17:53:10 <kimmo> I'm running out of sitcoms to watch
17:53:59 *** swaddo has quit IRC
18:09:21 *** swaddo has joined #gnucash
18:24:54 *** blizgerg has joined #gnucash
18:55:30 *** andyt has quit IRC
19:05:56 *** swaddo1 has joined #gnucash
19:14:12 *** swaddo has quit IRC
19:39:22 *** Zoolooc_ has quit IRC
19:49:44 *** swaddo2 has joined #gnucash
19:56:38 *** swaddo1 has quit IRC
20:09:13 *** cort has quit IRC
20:09:28 *** fDavid has joined #gnucash
20:18:18 *** fDavid has quit IRC
21:00:51 *** swaddo2 has quit IRC
21:02:28 *** swaddo has joined #gnucash
21:18:38 *** swaddo1 has joined #gnucash
21:19:22 *** swaddo has quit IRC
21:42:03 *** shade304_ has joined #gnucash
21:44:53 *** shade304 has quit IRC
21:44:53 *** shade304_ has quit IRC
21:45:05 *** shade304 has joined #gnucash
22:42:50 *** warlord-slow is now known as warlord
23:19:50 *** warlord is now known as warlord-afk
23:20:06 *** aldente has joined #gnucash
23:24:54 *** aldente has quit IRC
23:42:30 *** swaddo1 has quit IRC
23:50:19 *** swaddo has joined #gnucash