2010-06-18 GnuCash IRC logs

00:11:13 *** rpg has joined #gnucash
00:20:12 *** rpg has quit IRC
00:47:43 *** fbond has quit IRC
02:37:28 *** esperegu has joined #gnucash
03:39:04 *** ErKa has joined #gnucash
06:22:58 *** ErKa has quit IRC
06:26:38 *** warlord-afk is now known as warlord
06:36:57 *** bentob0x has joined #gnucash
07:02:23 *** mjmckay has joined #gnucash
07:03:15 *** warlord has quit IRC
07:18:12 *** Jimraehl has left #gnucash
07:24:27 *** Jimraehl has joined #gnucash
07:26:47 *** fbond has joined #gnucash
07:52:50 *** ErKa has joined #gnucash
08:50:45 *** jo-erlend_ has joined #GNUCash
08:54:32 *** jo-erlend has joined #GNUCash
08:58:10 *** jo-erlend__ has quit IRC
09:00:37 *** jo-erlend_ has quit IRC
09:16:20 *** KaiForce has joined #gnucash
09:57:36 *** fbond has quit IRC
10:05:39 *** jo-erlend_ has joined #GNUCash
10:05:39 *** jo-erlend has quit IRC
10:06:24 *** jo-erlend_ has quit IRC
10:14:05 *** markjenkinsparit has joined #gnucash
10:36:24 *** ErKa has quit IRC
11:04:24 *** whoever has joined #gnucash
11:04:45 <whoever> is there a document for writing plugins for kmymoney, all i have found is a doc saying that there is a plugin struct ?
11:06:33 <jsled> kmymoney?
11:07:17 <whoever> jsled: sorry, i am currrently running kde, but ment to say gnucash
11:07:29 *** ErKa has joined #gnucash
11:11:52 <whoever> jsled: ^^
11:12:30 <jsled> yes, I saw. :)
11:12:36 <jsled> http://cvs.gnucash.org/docs/HEAD/ has the doxygen docs.
11:13:05 <jsled> There's no way to, say, build something against external headers and load it as a "Plugin" via the UI, or anything like that.
11:16:17 <whoever> jsled: so i have to write it into all that .. ouch :-)
11:17:07 <jsled> well, that's the whole API, so it depends. What sort of plugin are you thinking of?
11:18:24 <whoever> scaning, ocr
11:18:43 <whoever> it has about 4 deps
11:19:20 <whoever> brb in a few minuts .. eat
11:54:10 *** fbond has joined #gnucash
11:57:40 <whoever> jsled: back
11:58:03 *** KaiForce has quit IRC
12:01:58 <whoever> was the plugin proposal ever aproved and implemented
12:02:35 <jsled> http://cvs.gnucash.org/docs/HEAD/plugindesign.html from 12 years ago?
12:04:14 <whoever> jsled: that would be it
12:05:39 *** ErKa has quit IRC
12:05:40 <jsled> I don't think so. It's pretty light on details, and I've been away from the gnucash code for a long time, so it's hard to say exactly.
12:05:42 <whoever> jsled: do you have anu recomendations on how to do this since what i am planing for ocr depends on sane, ocr being installed
12:05:54 <jsled> There is a plugin/module system in the code at present.
12:06:32 <jsled> the reports, the business features, the import/export code, some other more core parts of the UI are related to each other as "plugins".
12:06:47 <jsled> but it's more of a build-time modularity, rather than runtime.
12:07:05 <jsled> I'd get the sources, add a new directory, and (conditionally) build in the code you want.
12:07:30 <jsled> I assume you're thinking of OCR'ing, say, receipts and bills.
12:07:52 <jsled> maybe creating transactions from the results.
12:07:59 <jsled> another way to go is OCR -> QIF, then import the QIF.
12:08:10 <jsled> maybe even just to prototype the idea w/o needing to modify gnucash
12:08:32 <jsled> but, ultimately, having a way to trigger the OCR process in the app/UI would be nice.
12:11:58 <whoever> jsled: correct i i can do it as .sh now, but an lookin' for the best way in c as well as imlemintation into vnucash
12:13:09 <whoever> but with those deps i would have to check for the deps at build time
12:14:20 <whoever> i just wish there was a 'easier ' way of doing this then having to dl and use all the src code
12:16:18 <whoever> jsled: do you remember what cpp contains the menu items or should it be obviouse
12:19:27 <whoever> and is there any strict structure, that dictats where i need to put it in the ui? ie, tools, as a sub menu off of accounts ?
12:19:56 <jsled> src/gnome-utils/ui/gnc-main-window-ui.xml contains the core set, but you'll see src/gnome-utils/gnc-plugin-menu-additions.c and how e.g. src/gnome/gnc-plugin-page-sx-list.c modifies the menus on a per-page basis.
12:20:46 <jsled> Or, maybe, src/gnome/gnc-plugin-page-register.c is a little more tractable example, as you might not be familiar with the Scheduled Transaction (SX) stuff.
12:21:05 <whoever> ok , but does it matter what menue item i put it under
12:21:14 <jsled> sure. be sane/.
12:21:24 <jsled> do the right thing. :)
12:21:58 <jsled> it's really a function of how you're framing it, what the menu item actually is, &c.
12:21:58 <whoever> ok, so under help it goes :-)
12:22:26 <whoever> jsled: ok, thx
12:23:18 <whoever> do i need to worry about the window port ? or is that someone else
12:23:53 <jsled> it's the same source tree for the windows, mac and linux versions.
12:23:56 <jsled> So, yes.
12:24:09 <jsled> At least to not break things.
12:25:11 <whoever> but if i am looking for sane and ocr, windows doesn't use either ot those
12:26:16 <whoever> it would completly exclude windows
12:26:29 <whoever> any ideas
12:26:45 <jsled> I don't know anything about sane; a quick googling seems like there might be some win32 support.
12:27:31 <jsled> But, yeah, your options are: 1/ find win support for the dependency you want, 2/ find an alternative dependency (for either just that platform, or generally) or 3/ don't support the feature on those platforms.
12:27:40 <jsled> Or 4/ find someone to collaborate with to support that platform.
12:27:58 <whoever> ok seein' what i can pick up from some one who has touched the code bepore me :-)
12:28:15 <davr> Just as a sidenote I know GIMP supports scanning on both windows and linux
12:28:39 <davr> Pretty sure they use sane under linux, not sure what they do for windows
12:28:55 <whoever> davr: ya i could to i try catch block
12:29:29 <whoever> davr: i think win still uses twain
12:31:13 <whoever> after i build how to test on window to mrke sure i didn't brake anything
12:50:29 *** Askarii has joined #gnucash
13:05:31 *** cj has joined #gnucash
13:05:33 <cj> hey all
13:06:03 <cj> I'm trying to set up OFX for my bank. can someone tell me where to find the data to stick in the input fields?
13:06:22 <cj> I think the bank ID is 041200775
13:06:53 <cj> I don't know what "User Name", "User Id" or "Customer Id" should be
13:07:10 <jsled> http://wiki.gnucash.org/wiki/Setting_up_OFXDirectConnect_in_GnuCash_2 is all I know on the subject.
13:07:16 <jsled> And not any of the content, either … just the URL.
13:07:40 <cj> maybe http://wiki.gnucash.org/wiki/Setting_up_OFXDirectConnect_in_GnuCash_2
13:07:41 <cj> oh, look
13:07:44 <cj> you already said that
13:19:52 <davr> I tried to do it once. I got it working for about 1/2 of my accounts. The other half either I couldn't find the right settings, or you have to specifically pay the bank a monthly fee to get it enabled
13:20:33 <davr> It was a long time ago though, I don't really remember the details, besides that it took a lot of work, including having to manually recompile gnucash to enable the feature due to my distro (debian) not including it for some legal reason
13:25:15 <cj> huh. looks like it's in squeeze
13:25:38 <cj> I've gotten to the point that I can request account dat
13:25:39 <cj> a
13:25:46 <cj> but... I don't get it, so that doesn't help much
13:27:11 <davr> In the end I spent so much time trying to set it up, and then fixing it when it stopped working, that it became easier just to download the OFX files directly from the website :/
13:27:31 <davr> I use the firefox 'imacros' plugin to automate logging in and clicking to the right download link, saves me a little time
13:32:36 <markjenkinsparit> another python bindings patch submitted
13:45:35 *** bentob0x has quit IRC
13:46:11 <davr> markjenkinsparit: cool, does that mean being able to script gnucash from python?
14:06:26 <markjenkinsparit> davr: yes, already possible to script gnucash from python. Today's patch exposes more functionality
14:07:28 <davr> Do you happen to know offhand if it's possible to create customers and invoices via the current functionality?
14:08:02 <davr> Something I was looking for is automatically recurring / repeating invoices, doesn't seem to currently exist, but if I could script it, that would work for me
14:08:56 <markjenkinsparit> current code in trunk lets you create customers, but it doesn't force you to set currency and ID which are essential and there is no support for creating invoices; today's patch adds that forcing to Customer and adds Invoice creation support,
14:10:25 <davr> nice
14:12:42 <markjenkinsparit> got to go, nice telling you about it
14:12:42 *** markjenkinsparit has left #gnucash
14:41:09 *** esperegu has quit IRC
14:43:10 *** esperegu has joined #gnucash
15:18:18 <whoever> davr: ?? is it more acceptable to use an aler message for missing dependencies or to or to include the .exe in the pkg? working on adding a feature that uses 3rd parts apps)
15:19:09 <cj> whoever: how are you shipping?
15:19:29 <cj> whoever: embedding binaries is prhibited by DFSG policy
15:19:40 <cj> but if you're just putting the package up on your web site, do whatever you want ;)
15:19:42 <davr> dependancy needed to run, or dependancy needed to compile?
15:19:45 <whoever> cj: havn't decided that yet,
15:20:35 <whoever> davr: need for the feature (ocr)
15:21:08 <whoever> cj: trying to contribute to project so what is the best way to ship
15:21:28 <davr> seems like best might be to still show the menu item, but if they click it & don't have the dependancy, show an alert
15:21:37 <davr> and the alert can tell them what they need, and suggest how to get it
15:22:20 <cj> whoever: ah. no binaries in the git repo, please
15:22:39 <cj> whoever: how familiar are you with autotools?
15:22:44 <whoever> davr: ok thx i was asking a win programmer and you can guess what they said :-)
15:23:07 <davr> something like, "To hell with software licenses, throw everything in the exe!" ?
15:23:20 <whoever> cj: i have never used it for this ,and know little about it
15:23:47 <whoever> davr: thats it
15:24:37 <whoever> cj: so can you school me on how to ship
15:26:01 <whoever> is this the best src to grab or is there a better one http://www.gnucash.org/pub/gnucash/sources/stable/gnucash-2.2.9.tar.bz2
15:27:29 <jsled> you should probably grab the sources from SVN.
15:30:41 <cj> whoever: autotools (in gnome context at least) uses pkg-config to determine whether a dependency is met
15:31:01 <cj> whoever: pkg-config queries a database of .pc files that live under the $PKG_CONFIG_PATH directory
15:31:34 <cj> these .pc files indicate their dependencies, arguments to append to CFLAGS, etc
15:33:27 <cj> $ grep '^Requires' /usr/lib/pkgconfig/mono.pc
15:33:30 <cj> Requires: glib-2.0 gthread-2.0
15:34:54 <whoever> thx , sinc it is the same src tree for all how do i check that it will work on window
15:35:35 <jsled> you should not bundle dependencies. check for them in the build script, error out if the dependenices are not found.
15:36:11 <jsled> either find a windows box, or send the patches to gnucash-devel and ask someone to give it a try?
15:38:18 <whoever> jsled: so find win box ok, thx and is there a better source to use other that the one i posted ?
15:38:31 <jsled> <jsled> you should probably grab the sources from SVN.
15:38:50 <cj> whoever: you need to install either msys or cygwin
15:38:56 <cj> whoever: have you got a cygwin system?
15:39:25 <jsled> even if you want to develop against the latest stable (2.2.9) instead of the current development series (2.3.x … very close to being the next stable release), you should still get the sources from SVN
15:41:29 <cj> whoever: http://wiki.gnucash.org/wiki/Building
15:42:10 <jsled> cj: I don't think he has a windows box at all.
15:43:13 <cj> http://wiki.gnucash.org/wiki/Windows#Instructions_for_an_.28almost.29_automated_build
15:43:23 <cj> jsled: oh
15:47:20 <whoever> cj: i have win7 on a seperate box
15:51:26 <cj> cool beans. then follow those thar instructions
15:53:49 <whoever> cj: cool
16:20:29 *** Askarii has left #gnucash
16:30:31 *** whoever has quit IRC
16:34:30 *** markjenkinsparit has joined #gnucash
16:41:06 *** fbond has quit IRC
18:00:59 *** markjenkinsparit has left #gnucash
19:24:38 *** cortana has joined #gnucash
19:27:34 *** fbond has joined #gnucash
19:34:07 *** BrownR has joined #gnucash
19:40:09 <BrownR> I am new to Gnucash and setting up a Chart of Accounts for a tax exempt organization that was using Quicken. Is there a way to import a member address list (customer list) into the Customer module from either a text (.csv) or Excel (.xls) file in order to facilitate member dues billing?
19:40:39 *** cortana has quit IRC
19:47:36 <davr> BrownR: not in the current version of gnucash, but I saw someone talking about it on the mailing list, but to use that might require patching & compiling the source yourself
19:50:21 *** t4ls0 is now known as talso
20:23:45 *** ErKa has joined #gnucash
20:37:59 *** Askarii has joined #gnucash
21:09:35 *** Jimraehl has left #gnucash
21:10:35 *** Jimraehl has joined #gnucash
21:21:06 *** Krumar has joined #gnucash
21:52:18 *** ErKa has quit IRC
22:04:38 *** Jimraehl has quit IRC
22:06:01 *** Jimraehl has joined #gnucash
22:14:30 *** dee has joined #gnucash
23:38:34 *** whoever has joined #gnucash
23:39:09 <whoever> gotta ? hopeylully someone has ideas,
23:40:56 <whoever> i am trying to use the $ as a dlimiter but .. there have to be about 30 otheres ie: pound yet euro.. etc, do i need to case statment or is there an easier way
23:43:04 *** fbond has quit IRC