2012-08-16 GnuCash IRC logs

00:16:32 *** Simon has quit IRC
00:36:51 *** fell_ has quit IRC
01:47:32 *** ErKa has quit IRC
02:59:07 *** timfrost has joined #gnucash
03:02:54 <smw> How can I unreconcile a group of transactions?
03:14:05 *** Krzysiek_K has joined #gnucash
03:21:59 *** linas__ has joined #gnucash
03:22:00 *** linas_ has quit IRC
03:23:39 *** gothlips has quit IRC
04:01:55 *** ironwolf1 has left #gnucash
04:11:40 *** xnox has joined #gnucash
04:47:22 *** timfrost has quit IRC
06:42:40 *** Jimraehl1 has quit IRC
07:01:07 *** IanL has quit IRC
07:15:08 *** litwol has joined #gnucash
07:15:11 <litwol> Hello
07:17:58 <litwol> hmm. googled up some discouraging answers. gnucash cli does not exist it seems :(
07:18:01 <litwol> sad sad
07:25:26 <moldy> write it :p
07:26:44 <litwol> :)
07:26:54 <litwol> http://cashutil.sourceforge.net/
07:26:55 <litwol> there is this
07:26:57 <litwol> didnt try tho
07:27:08 <litwol> as it is not easily available in portage.
07:33:05 *** fell_ has joined #gnucash
07:33:06 *** gncbot sets mode: +o fell_
07:39:49 *** Jimraehl1 has joined #gnucash
08:00:27 *** Arafangion has joined #gnucash
08:06:55 <warlord> litwol: there is no cli. Why would you want one?
08:07:19 <warlord> smw: you can unreconcile one at a time by clicking in the R column, but why?
08:07:43 <litwol> because i live in cli
08:07:57 <warlord> never heard of cli-town.
08:08:10 <litwol> welcoem to nerdville
08:08:13 <warlord> but sorry, gnucash is a GUI app.
08:08:18 <warlord> Welcome to the 21st century.
08:08:29 <litwol> time period has nothing to do with it
08:08:42 <litwol> idea of comfort is too subjective to argue over :)
08:09:14 <warlord> Well, if *you're* not willing to start an X server it's not *our* problem.
08:10:13 <litwol> or, for example, if i want to quickly check my financial logs or add a new entry using nothing more than my phone sshing to my home/work computer that has all the gnucash data :)
08:11:14 <litwol> but yeah, i admit, a typical user of accounting software wouldn't go to such lengths
08:11:40 <warlord> Yep. There's a 10-year-old enhancement request for a cli.
08:11:43 <warlord> Patches always welcome.
08:15:43 <moldy> i wonder where to download the cashutil sources
08:16:22 <moldy> a cli makes it alot easier work from a remote machine
08:17:04 <moldy> ah, got it
08:17:26 <warlord> moldy: Keep in mind that cashutil probably is NOT compatible with current gnucash.. I don't think it's been maintained.
08:17:49 <moldy> warlord: yes, thanks. i just want to take a look at it :)
08:18:38 <moldy> so far i cannot find the code though
08:18:43 <moldy> svn: Repository moved temporarily to 'http://sourceforge.net/apps/trac/sourceforge/wiki/Subversion'; please relocate
08:19:37 <moldy> why are urls to svn repos always so hard to find :-/
08:19:39 <warlord> Note also that I dont think cashutil was ever "complete"
08:19:52 <warlord> moldy: try the sf project name
08:20:16 <moldy> here is the web view: http://cashutil.svn.sourceforge.net/viewvc/cashutil/trunk/ but no idea what the svn url is
08:21:04 <moldy> https://cashutil.svn.sourceforge.net/svnroot/cashutil/trunk this is it
08:29:05 *** linas_ has joined #gnucash
08:29:06 *** linas__ has quit IRC
08:50:11 <warlord> When was the last commit?
08:52:23 <litwol> well. it was fun to chat.
08:53:18 <litwol> and p.w. @warlord: not every inquiry of "missing feature" is criticism :). dont counter criticize as a responce. perhaps you just didnt consider an alternative use case?.
08:53:25 <litwol> adios :)
08:53:35 *** litwol has left #gnucash
09:42:16 *** benoitg has quit IRC
09:54:51 *** ErKa has joined #gnucash
10:10:17 *** benoitg has joined #gnucash
10:10:17 *** gncbot sets mode: +o benoitg
11:03:01 *** kpreid has quit IRC
11:35:47 *** Ken has joined #gnucash
11:36:03 <Ken> Hi I am new to gnucash. ^_^
11:36:38 <Ken> I was wondering why is gnucash leaving files all over my desk top?
11:37:31 <smw> Ken, http://code.gnucash.org/docs/guide/basics-backup1.html
11:40:11 <Ken> that's what I thought they were. OK, how do I get them to file in a folder instead of scattered on my desktop?
11:41:00 <smw> toss them all in a folder, then open the newest one from the folder
11:41:20 <smw> I have a "gnucash" folder in my dropbox that I let fill with the crap :-P
11:54:57 *** rpg has joined #gnucash
11:59:04 <warlord> Ken: move your datafile into a folder and then gnucash will put hte backup and log files in there.
12:20:24 *** Arafangion has quit IRC
12:45:59 *** xnox_ has joined #gnucash
12:47:20 *** xnox has quit IRC
13:26:46 *** Simon has joined #gnucash
13:44:25 <smw> Hi all. I am thinking of making my first plugin. Pretty much what I want it to do is look up my total income from certain types of tax accounts and then produce a split transaction after doing some simple math. If possible, I would like to use python although I will settle with any language.
13:44:59 <smw> Is there any type of interface in gnucash for plugins?
13:45:43 <smw> I know there are gnucash python bindings for plugins, but I have never even used a plugin before. How can you call the plugin from the program?
13:46:52 <smw> Would my "plugin" run outside the program?
13:48:49 *** fell_ is now known as fell
13:50:12 <fell> smw: Until now I didn't use that, but http://wiki.gnucash.org/wiki/Python_Bindings could have some answers.
13:50:31 <smw> It has none :-(
13:50:59 <smw> I am browsing the docs right now http://svn.gnucash.org/docs/HEAD
13:53:19 <smw> fell, the idea of this program is to estimate self-employment tax. I made a quick cmdline utility in Go that does the calculations I need for this each month.
13:54:10 <smw> fell, however, I would like for more automation so I don't need to manually input data gnucash already knows
13:55:33 <smw> I want to get net income (income-expenses which are tagged with certain tax data), do the calculations, then make a split transaction from my tax liability account to my medicare and social expense accounts.
13:55:40 <fell> If you are in the US, you could also try the tax report or adjust someother report.
13:55:59 <smw> fell, yes, I know about my tax report
13:56:14 <smw> fell, (and obviously from what I said previously, I am in the US)
13:57:07 <smw> the first version would just show me the income number and have me approve it. Later ones I might do some sort of reconcile like interface.
13:57:19 <smw> This is assuming such a thing is possible...
13:58:32 <smw> I have the logic (already made a program to do the calculations). I just have no idea where to start implementing it.
13:58:43 <fell> To get a first impression I would adjust the options of the income report.
13:59:19 <fell> Sorry, have to leave now.
13:59:25 *** fell is now known as fell_afk
14:00:48 <smw> adjusting a report would not automate this :-\
14:01:18 <smw> Right now I need to manually take data from the report, insert into my program, then use those values to make the split transaction
14:01:27 <smw> all things gnucash should just do for me :-)
14:02:11 *** arnotixe has quit IRC
14:05:16 <smw> oh well, I need to go :-\
14:05:38 <smw> I will look into this more tomorrow most likely
14:14:03 <warlord> smw: plugins can be written in C, scheme, or python. Python can also be used for a self-standing program.
14:22:48 *** kpreid has joined #gnucash
14:36:04 *** kpreid has quit IRC
14:50:41 *** fell has joined #gnucash
14:50:41 *** gncbot sets mode: +o fell
14:59:13 *** fell_afk has quit IRC
15:09:35 *** jmd has joined #gnucash
15:11:59 *** smw_ has joined #gnucash
15:14:59 <smw_> warlord, where can I find the best docs for writing a plugin that is run from gnucash. I just want a button that will open a small dialog window with information and an ok button to start out with.
15:15:25 <warlord> I dont know if there are docs, per se.
15:15:30 <smw_> preferably in python, but any docs would be good. I am having serious problems finding something that explains hooking into gnucash
15:15:31 <warlord> (the code?)
15:15:41 <smw_> :-\
15:15:43 <warlord> There was an old import module, written in python
15:16:07 <smw_> I have tried to read gnucash code before... I was less experienced in C then, but I still am not very good :-\
15:16:57 <smw_> I wanted to improve the autocomplete for accounts in the register
15:17:41 <warlord> That's not sometihng that you could "plug in"
15:18:15 <smw_> yeah
15:18:47 <smw_> I wanted to actually modify gnucash then. Right now I think I have lower goals
15:18:47 <warlord> what kind of "improvement" did you want to make?
15:19:38 <smw_> warlord, lets say I have expenses:food:dining. If I start typing dining, it should be able to figure out that the account has "dining" in it and try to find all accounts that match
15:19:55 <smw_> perhaps bolding the part that is matching
15:20:10 <warlord> You do realize you can type e x : f : d , right?
15:20:17 <smw_> yeah
15:20:26 <smw_> I just don't think that way :-\
15:20:27 <warlord> doing what you suggest would be slower
15:20:49 <smw_> I have used it in many places before. It is much faster in my opinion
15:20:49 <warlord> ... and more visually distracting.
15:21:20 <smw_> warlord, not more distracting than the current system :-\
15:21:34 <warlord> I said *visually* distracting
15:21:57 <warlord> And frankly I dont find the current system distracting at all. I *know* where all my accounts are, and what I mean.
15:21:58 <smw_> I think after it was implemented you would disagree ;-)
15:22:09 <warlord> When I say "checking" I know a priori *which* checking.
15:22:17 <warlord> I dont have to guess where it might be.
15:23:07 <smw_> I would make it so it would match chase ch to "Assets:current assets:chase:checking"
15:23:35 <smw_> every space is "anything in between"
15:23:46 <smw_> it sounds complicated, but when put into actual use, it is so much easier
15:23:58 <smw_> I have used input fields like this elsewhere
15:24:24 <warlord> If you put in a delay, perhaps. I would *hate* having a popup come up and change visually at every key stroke.
15:24:32 <warlord> ... and I wouldn't want to lose the current process.
15:24:48 <smw_> warlord, you could have it possible to pick which one I guess
15:24:49 <warlord> (and note that spaces are valid characters within account names)
15:24:55 *** Krzysiek_K has left #gnucash
15:25:02 <smw_> or treat colons specially (which seems like a good idea anyways)
15:25:12 <smw_> warlord, of course
15:26:00 <smw_> warlord, you would of course organize the accounts by levenshtein distance or something ;-)
15:26:01 <warlord> well, s/colon/the current account separator character/
15:26:19 <smw_> warlord, it would take some tweaking, but it would work
15:26:34 <warlord> s/would/could. I'm not personally sold.
15:26:56 <smw_> yeah, but I gave up on the idea because I am not very good at C :-\
15:27:01 <smw_> I am good with Go and Python
15:27:16 <smw_> so I am hoping I can make a simple plugin with Python
15:27:37 <warlord> You wont be able to change that behavior with a plugin
15:28:08 <smw_> no, I am referring to what I was talking about earlier. Making a plugin for self-employment tax (USA)
15:28:21 <smw_> It seems easier
15:28:47 <smw_> and much more useful now that I am used to the way gnucash account input field works :-)
15:29:25 <warlord> You could add a calculator, or something that would create a transaction, but not something that would be usable from the register itself.
15:29:38 <smw_> that is what I want
15:30:10 <smw_> some sort of calculator/wizard with access to data and the ability to create a transaction
15:30:27 <smw_> (saved configuration would be nice too)
15:31:51 <warlord> you could add data via e.g. KVP into the Book or some other place.
15:31:59 <warlord> Or you could add to e.g. File -> Properties
15:32:11 <warlord> But yes, that is doable with a plugin
15:32:24 <smw_> warlord, so is there an example of a calculator plugin?
15:32:31 <smw_> preferably in python
15:33:06 <warlord> Not that I know of. Like I said, there was an business importer in python.
15:33:12 <warlord> But I think it was re-written into C
15:33:20 * warlord is not a python hacker
15:33:56 <smw_> ok, where would I find the one written in C?
15:35:12 <warlord> src/plugins/bi_import
15:35:33 <smw_> ty
15:35:52 <warlord> If you check the history you might find the python version
15:35:57 <smw_> ok
16:18:56 *** ErKa has quit IRC
16:53:48 *** ErKa has joined #gnucash
16:54:06 *** Krzysiek_K has joined #gnucash
17:01:57 *** Krzysiek_K has quit IRC
17:44:01 *** benoitg has quit IRC
17:59:26 *** LoneRanger has joined #gnucash
18:02:35 <LoneRanger> I have found a very large number of files with names like gnc-report-P0UOGW dot html going back as far as June of this year. When does GnuCash delete report files?
18:05:00 <LoneRanger> if it matters, this is in Windows 7
18:07:30 <warlord> LoneRanger: AFAIK, never.
18:07:40 <warlord> I have no idea what those files are.
18:12:36 <LoneRanger> They are in a temporary directory which also contains trace files which I have not turned off wherever they are controlled from. They are reports that GnuCash has created.
18:13:58 <LoneRanger> Would you suggest filing a bug report to delete these when back-up files are deleted?
18:24:27 <warlord> Honestly I have no idea why they are created. It may be a windows thing or something.
18:24:39 <warlord> The trace files we create. These report files..... I dont know.
18:24:50 <warlord> But sure, filing a bug report never hurts.
18:27:19 <LoneRanger> PErhaps it is a Windows thing. I am sure that Linux versions also have temporary files stored somewhere, but maybe they automatically disappear when CnuCash closes.
18:27:52 <LoneRanger> Sorry, my cat is nudging my hands
18:28:21 <LoneRanger> It is her feeding time
18:29:04 <LoneRanger> Thanks
18:29:07 <LoneRanger> Bye
18:29:24 *** LoneRanger has quit IRC
18:33:04 *** ErKa has quit IRC
18:37:11 *** rpg_ has joined #gnucash
18:37:22 *** warlord is now known as warlord-afk
18:42:22 *** rpg has quit IRC
18:47:13 *** rpg_ has quit IRC
19:44:16 *** xnox_ has quit IRC
19:48:24 *** ErKa has joined #gnucash
20:07:30 *** IanL has joined #gnucash
20:13:59 *** xnox has joined #gnucash
20:26:27 *** smw_ has quit IRC
20:51:18 *** benoitg has joined #gnucash
21:00:01 *** kpreid has joined #gnucash
21:26:27 *** Adellaci has joined #gnucash
21:27:01 <Adellaci> Evening everyone
21:27:58 <Adellaci> Is it possible to have GNUCash automaticly fetch the prices for the stocks i have entered?
21:28:23 *** xnox has quit IRC
21:31:47 *** Adellaci has quit IRC
21:32:44 *** Adellaci has joined #gnucash
21:37:58 *** Adellaci has quit IRC
21:58:36 *** lilybet has joined #gnucash
22:02:53 *** lilybet has quit IRC