2007-06-05 GnuCash IRC logs

00:00:00 *** hampton has left #gnucash
00:06:17 *** benoitg has joined #gnucash
00:13:42 *** nbinont_ has joined #gnucash
00:14:48 *** dacc has joined #gnucash
00:14:52 <dacc> hi
00:15:11 <dacc> does gnucash have a perl api?
00:15:23 <dacc> if so, where can i find the docs / code?
00:21:04 *** Zoolooc_ has quit IRC
00:22:10 *** nbinont has quit IRC
00:37:52 *** hampton has joined #gnucash
00:37:53 *** gncbot sets mode: +o hampton
00:38:47 *** hampton has left #gnucash
00:53:33 *** ErKa has joined #gnucash
01:27:08 <ryjax> what's the best way to emulate quicken's 'savings goals' ?
02:09:30 *** ErKa has quit IRC
02:32:51 *** Rol1 has joined #gnucash
02:57:34 *** Rol1 has quit IRC
03:06:01 *** nbinont_ has quit IRC
03:38:01 *** ErKa has joined #gnucash
03:53:35 *** tpfennig_ has joined #gnucash
04:02:14 *** tpfennig has quit IRC
04:03:08 *** jml has joined #gnucash
04:03:29 <jml> Is there a way to manually order the accounts on my Accounts page?
04:04:47 <jml> It'd be nice to have Assets next to Liabilities and Income next to Expenses
04:12:09 *** chemaja has joined #gnucash
04:18:03 *** jml has quit IRC
05:12:09 *** cortana has joined #gnucash
05:52:10 *** winjunkie has joined #gnucash
05:52:21 <winjunkie> Hi all anyone around?
05:53:20 <winjunkie> Just wondering if there are any plans for a free win version?
06:02:18 *** Rol1 has joined #gnucash
06:02:28 *** Rol1 is now known as R0lf
06:20:55 *** tpfennig_ has quit IRC
06:24:22 *** winjunkie has quit IRC
07:02:53 *** IanL has joined #gnucash
07:18:38 *** ErKa has quit IRC
07:56:18 *** twunder has joined #gnucash
07:57:35 *** imperito has quit IRC
08:00:31 *** imperito has joined #gnucash
08:21:21 *** ErKa has joined #gnucash
08:36:18 *** warlord-afk is now known as warlord
08:36:39 <warlord> dacc: Nope, no perl api, just a scheme api. A perl API COULD be redone with swig.
08:37:14 <warlord> ryjax: I'm not familiar with that feature of quicken so I can't answer. You might want to ask on the gnucash-user mailing list.
08:38:14 <warlord> @tell jml yes, use the Account Codes. Sibling accounts (accounts with the same 'parent' in the tree) are ordered first by Account Code and then by Name
08:38:14 <gncbot> warlord: The operation succeeded.
08:41:17 <warlord> @tell winjunkie please read the wiki; a windows version is already in beta.
08:41:17 <gncbot> warlord: The operation succeeded.
09:23:51 *** warlord is now known as warlord-afk
10:30:41 *** chemaja has quit IRC
11:01:26 *** warlord-afk is now known as warlord
11:20:59 *** ErKa has quit IRC
11:41:08 *** andi5 has joined #gnucash
11:41:09 *** gncbot sets mode: +o andi5
11:54:33 *** brunosc2 has joined #gnucash
12:03:59 *** Demitar_ has quit IRC
12:10:09 *** Demitar has joined #gnucash
12:19:09 *** brunosc2 has left #gnucash
12:22:33 *** ErKa has joined #gnucash
12:23:16 *** Esaj has joined #gnucash
12:23:43 *** IanL has quit IRC
12:38:21 *** ErKa has quit IRC
13:23:12 *** nomeata has joined #gnucash
13:24:57 *** ErKa has joined #gnucash
13:46:21 *** ryjax has quit IRC
14:34:50 *** andi5 has quit IRC
14:53:14 *** jakin has joined #gnucash
14:53:56 *** warlord has quit IRC
15:05:03 *** _gunni_ has joined #gnucash
15:05:04 *** Esaj has quit IRC
15:14:58 *** warlord has joined #gnucash
15:14:59 *** gncbot sets mode: +o warlord
15:42:53 *** _gunni_ has quit IRC
15:52:04 *** _gunni_ has joined #gnucash
16:20:31 *** nomeata has quit IRC
16:31:31 *** _gunni_ has quit IRC
16:34:58 *** _gunni_ has joined #gnucash
16:41:57 <dacc> warlord: ah, ok
16:42:09 <dacc> warlord: thought i'd heard of one
16:42:18 <dacc> warlord: maybe time to learn scheme =)
16:44:01 *** Zoolooc has joined #gnucash
17:02:49 *** andi5 has joined #gnucash
17:02:50 *** gncbot sets mode: +o andi5
17:07:43 *** jakin has quit IRC
17:24:09 *** twunder has quit IRC
17:29:12 *** cortana has quit IRC
17:36:54 <andi5> lasindi: ping
17:50:48 *** AhmedSayed has joined #gnucash
17:50:59 <AhmedSayed> Hi all
17:51:16 <andi5> hiho ahmed!
17:51:34 <AhmedSayed> I want to discuss some issues about My SOC projects
17:52:07 <AhmedSayed> Gnucash test harness,
17:52:21 <andi5> jsled: ping :-) (/me is a pinging machine)
17:53:06 <AhmedSayed> :-)
17:53:10 <AhmedSayed> waiting
17:53:34 <AhmedSayed> I'm writing Email right now, till i got a response
18:06:07 <jsled> Hey AhmedSayed.
18:06:28 <AhmedSayed> you could use Sayed for short :)
18:07:07 <AhmedSayed> I got your Email thank you for your comments
18:07:28 <AhmedSayed> and i figured out that you have some issues
18:07:37 <AhmedSayed> Lets start with simple one
18:07:50 <AhmedSayed> 1- Coding convention for python code
18:08:06 <jsled> Ah, it's convention to address others by their IRC nick.
18:08:26 <jsled> In particular because most IRC clients usually treat one's nick differently from any other string.
18:08:51 <jsled> (for instance: hilighting the tab if you're spoken to/about, rather than just "conversation occuring")
18:10:23 <AhmedSayed> i got it
18:11:20 <AhmedSayed> my client didn't do this :)
18:12:29 <AhmedSayed> jseld : i think you have comments in the code style i use
18:12:51 <jsled> Oh. I was going to suggest two things; mostly: PEP 8.
18:13:39 *** _gunni_ has quit IRC
18:13:44 <jsled> Secondly, there was a construct that I think would have been better using an iterator ... the maintenance of 'i' in NewAccount.test_text_list.
18:18:33 <AhmedSayed> NewAccount.test_text_list will be removed, but i'll consider it for similar situation
18:19:02 <jsled> yeah, it's more the idiom... /me finds a pastebin to describe.
18:20:11 <jsled> http://pastebin.ca/542743
18:20:24 <jsled> Whoops, except I screwed it up! :)
18:20:40 <jsled> http://pastebin.ca/542745
18:22:10 <jsled> Also, there's some inconsistency in some of your whitespace. Like 'i =i + 1', or the spaces around the '(' above it...
18:25:32 <AhmedSayed> this is really a nice one, i used to use the pylint also, but i skipped it this time
18:26:10 <jsled> I've found pylint to be a bit too much ... pychecker is pretty good, though.
18:28:39 <AhmedSayed> is there any other comments, i'll consider all of these ?
18:29:05 <andi5> [ot] regardless of how complex the transition tetex -> texlive maybe---a system must not lack a functional xdvi :-(
18:29:20 <AhmedSayed> jsled : or to go to the next question
18:29:30 <jsled> Oh, probably ... that's just what jumped out at first glance last night. I'm sure I'll have more comments along those lines, later.
18:29:43 <jsled> AhmedSayed: please, go on. :)
18:30:16 <jsled> andi5: indeed.
18:30:24 <AhmedSayed> jsled: ok, never mind, please Email me if any comments raise
18:31:05 <AhmedSayed> jsled : in you Email you asked me about barch to gnucash code change
18:32:18 <AhmedSayed> but actually i think till now that there is no need to gnucash code change
18:33:10 <AhmedSayed> did i miss something?
18:33:54 <jsled> AhmedSayed: I don't think there's a strong need to work in the gnucash codebase, but I think it'd be nice.
18:34:33 <jsled> Especially, as I said, later on. Once the working thing exists, we can figure out how to keep it at least in the same repository, if not in the gnucash tree itself so something like `make ui-check` works.
18:35:45 <jsled> if it's more comfortable for you to work in code.google.com or somewhere, I don't have a problem... but I'd think that it should be *somewhere* public, with a revision control system.
18:36:02 * warlord would love to see a "make ui-check" -- or better yet, get the ui-check into "make check" with a configure test.
18:37:10 <andi5> --enable-ui-checks?
18:37:34 <jsled> AhmedSayed: One thing that might change my opinion is if we start to see more overlap in the test fixture/setup/utility code.
18:37:46 <warlord> that, or a configure test for a working dogtail/etc environment
18:39:58 <AhmedSayed> But i want to know the case of openoffice
18:40:09 <jsled> hmm?
18:40:17 <AhmedSayed> how they are organize thier test framework
18:40:19 <andi5> oh, a quick question: what are dogtail/etc requirements? does that determine what the tests code may use (in terms of python feature dependencies)
18:41:14 <jsled> AhmedSayed: that's a good question; I don't know how OO does it. Or other dogtail users.
18:41:44 <jsled> s/other//; I didn't mean to imply that OO uses dogtail; I'm pretty sure they don't.
18:42:05 <AhmedSayed> actually i didn't know dogtail users other than dogtail developer till now :-)
18:42:08 <AhmedSayed> use i know
18:42:22 <AhmedSayed> yes, i know that they didn't use dogtail
18:42:24 <jsled> I know that at work our automated web-testing code is an entirely separate component.
18:43:13 <AhmedSayed> that what i expect , sometimes we may need
18:43:41 <AhmedSayed> to make a specific code change, like extract the data from a widget or component
18:43:57 <AhmedSayed> that Test framework can not detect
18:44:18 <AhmedSayed> but as i said before dogtail is relatively smart tool,
18:44:23 <andi5> [smells like work :-), make gnucash widget accessible, eek]
18:45:07 <AhmedSayed> andi5 : yes this because that dogtail itself depend on the accessibility features in gnome itself
18:45:23 <jsled> Well, that's the whole idea, right ... dogtail is the most-disabled user ever.
18:47:03 <AhmedSayed> then considering other branch, will be later discussion if needed
18:47:47 * andi5 thinks: just give them a name for the branch :)
18:48:06 <andi5> oh, and get a dev account
18:48:23 <warlord> branches are easy.
18:49:39 <AhmedSayed> warlord: i just prefer to wait till i got some really piece of work
18:49:51 <AhmedSayed> jsled: i'll try to figure out the common practice, for keeping the test related code
18:50:17 <AhmedSayed> Ok,
18:50:28 <warlord> AhmedSayed: up to you...
18:51:06 <AhmedSayed> warlod: thank you
18:51:16 <dacc> can anyone point me to documentation and / or examples on the scheme api?
18:52:33 <AhmedSayed> jsled: regarding other issue i'm going to write more detailed document about it, and send it to the gnucash mailing list
18:53:50 <jsled> AhmedSayed: great!
18:54:11 <jsled> Yeah, I agree. Branches are cheap, and getting stuff committed and visible is important.
18:54:40 <jsled> Plus, it's safer and then easier for you to get stuff working ... you have that nice freedom of being able to break things and revert them, and get contributions from other people, &c.
18:55:24 <AhmedSayed> ok, i'm going to request dev account soon
18:56:26 <jsled> AhmedSayed: Like I say, the other two issues are the big ones. I'd not make the document *too* detailed. Getting into a cycle of feedback and discussion with others is often better than trying to plan everything out up front.
18:57:37 <AhmedSayed> that is why i don't want to open a discussion about them right now,
18:57:55 <AhmedSayed> because of their importance,
18:58:30 <AhmedSayed> i just want from this discussion to resolve the quick issues
18:59:12 <jsled> AhmedSayed: "this discussion" =? "talking on IRC right now" ?
18:59:38 <AhmedSayed> jsled: yes
19:00:22 <jsled> Sounds right ... I'm going to need to leave in a bit to make dinner, anyways. I'd rather that those discussions were on gnucash-devel.
19:02:00 *** ErKa has quit IRC
19:04:11 *** andi5 has quit IRC
19:06:16 *** hampton has joined #gnucash
19:06:17 *** gncbot sets mode: +o hampton
19:14:10 *** twunder has joined #gnucash
19:19:54 *** paolob has joined #gnucash
19:20:02 <paolob> Hi guys!
19:21:29 <paolob> I have my big file, and I want to delete all the txn but those belonging to an account and all its sub accounts. What is the better way to do it?
19:26:03 *** twunder has quit IRC
19:29:48 *** AhmedSayed has quit IRC
19:33:46 <paolob> I tried looking for the txn that doesn't match the accounts I want to keep, but weirdly it produces very few txns and between the txns it produces there are many involving the accounts I selected as "not matching". Anyone could tell me why? thank you
19:34:25 <paolob> or would it be a bug in the search by account tool?
19:35:00 *** cortana has joined #gnucash
19:51:57 *** jakin has joined #gnucash
19:57:25 <warlord> paolob: wait, you want to delete everything BUT those in a particular account?
19:57:36 <warlord> Um... I can't think of a good way to do that en-masse
20:28:22 *** hampton has quit IRC
20:30:27 *** hampton has joined #gnucash
20:30:27 *** gncbot sets mode: +o hampton
20:30:42 *** hampton is now known as hampton_away
20:38:40 <paolob> warlord, I want to keep the txn that have at least one split in the sub tree of an account
20:39:45 <paolob> I was trying to find all the other txn, i.e. all the txns that haven't any split in the specified subtree (in order to delete them), but it doesn't work
20:41:37 <warlord> Really? It should be possible to do that kind of query..
20:42:23 <paolob> let's see... I open the find dialog
20:42:52 <warlord> Edit->Find [Account] [matches no account] [select your whole tree]
20:42:57 <warlord> er, whole subtree
20:43:14 <paolob> yes the whole subtree I want to keep
20:44:05 <paolob> (expanding the subtree with * and selecting all the accounts I want to keep
20:46:22 <paolob> in the result I get I have the txns involving the accounts I selected, too
20:47:09 <paolob> apparently these txns are found because the other split doesn't involve those accounts.
20:47:46 <paolob> I'd like it's a bug. A search performing the way gnucash behaves now doesn't make sense, does it?
20:48:58 <paolob> s/like/think/
20:51:59 <paolob> I'd suggest that Edit->Find [Account] [matches no account] [accounts selected] returns the txns whose _all_ account match the account criteria
20:52:43 <paolob> what do you think, warlord ?
20:58:23 *** R0lf has quit IRC
21:00:17 <warlord> Oh... paolob ... try "Matches All Accounts"
21:01:20 <warlord> Oh, wait.. That doesn't work, either. Hmm.
21:01:39 <warlord> You're right, there's no way to do what you want to do. Sorry.
21:01:41 <warlord> File a bug.
21:02:54 <paolob> ok
21:03:10 <paolob> thank you
21:03:48 <warlord> no, thank YOU
21:03:55 <paolob> :-)
21:04:25 <paolob> your kindness fill my heart of yoice!
21:05:10 <warlord> De nada, monseñor
21:05:33 <paolob> tú ves que te acuerdas algo de español...
21:06:51 <warlord> un pocito. necesito practicar
21:07:04 <paolob> "poquito"
21:07:21 <paolob> ahí donde tú estas hay latinos?
21:08:10 <paolob> here in Dominican Republic every family has one relative in the US
21:08:30 <paolob> It seems that in New York there are more then one million dominicans...
21:12:47 <warlord> i'd believe that. i have no spanish-speaking relatives
21:13:06 <paolob> wepa, bugzilla is down or overloaded....
21:23:10 <warlord> :(
21:26:21 <warlord> But to answer your question, there are a bunch of latinos in the boston area, but not really anywhere near where I live.
21:27:44 <paolob> I think they move one after the other. If one of them is in a place, all is family, friends, etc. will go there. Till no latin installs in a place, no latins go there :-)
21:30:21 <warlord> Could be.
21:42:41 <paolob> warlord, could you give me in a snapshot the url of the code where that find condition is implemented, so that I try to detect the error?
21:43:40 <warlord> it's in lib/libqof/qof/qofquery*
21:44:27 <paolob> but can I see it with the browser?
21:44:51 <warlord> http://svn.gnucash.org/trac/browser/gnucash/trunk/lib/libqof/qof/
21:45:44 <paolob> ok, let me see
21:52:44 <paolob> warlord, ehm... I examined all the qofquery*.c files in that directory, but I coudn't see anything significant, anything that could seem a condition of the find dialog...
21:55:19 <paolob> shouldn't I see anywhere the strings gnucash presents in the find dialog?
21:55:34 <warlord> paolob: sorry, maybe I misunderstood your question about what you're looking for..
21:55:44 <warlord> The find dialog entries are located in...
21:56:18 <warlord> src/gnome/dialog-find-transactions.c
21:56:34 <paolob> on my pc?
21:57:20 <warlord> in the gnucash sources.
21:57:44 <paolob> ok
22:05:13 *** twunder has joined #gnucash
22:14:40 <paolob> warlord, ehmm... could you give me a hint. I am in http://svn.gnucash.org/trac/browser/gnucash/trunk/src/gnome-search/search-account.c , which seems the code that performs the search on the account, but I can't see where the searching is actually done...
22:16:13 <warlord> The searching is done in QofQuery
22:28:12 *** Zoolooc_ has joined #gnucash
22:30:02 *** paolob has quit IRC
22:31:32 *** paolob has joined #gnucash
22:32:05 <paolob> warlord, I surrender, I'm too bad in c language to understand that.
22:32:15 <paolob> have a good night!
22:33:42 <warlord> good night, paolob
22:33:48 *** paolob has quit IRC
22:33:58 <warlord> @tell paolob just try to file a bug report. I know the issue, but please explain it well
22:33:58 <gncbot> warlord: The operation succeeded.
22:37:42 *** Zoolooc has quit IRC
23:45:13 *** warlord is now known as warlord-afk
23:49:53 *** abdrahim has joined #gnucash
23:53:40 <abdrahim> anyone know why I cannot export gnucash 2.02? I am using openSuse 10.2
23:54:44 <jsled> "export"? (It's 2.0.2)
23:55:08 <abdrahim> what does that mean?
23:55:32 <jsled> What do you mean by "export"?
23:55:54 <jsled> (Also, it's not 2.02, but 2.0.2.)
23:57:10 <abdrahim> export to gif file so i can import it to quick.
23:58:03 <jsled> GIF is an image file format.
23:58:16 <jsled> There is no export to QIF (the Quicken Interchange FormatT)
23:58:40 <jsled> There is – IIRC – an external gnucash -> qif program...
23:58:59 <jsled> check the FAQ (see the channel topic for hte url) or google.
23:59:13 <abdrahim> yes qif