2013-09-13 GnuCash IRC logs

00:34:37 *** twunder has joined #gnucash
01:06:29 *** ErKa has joined #gnucash
02:16:27 *** Infiltrator has quit IRC
02:17:57 *** ErKa has quit IRC
02:48:41 *** mikee has joined #gnucash
02:48:42 *** gncbot sets mode: +o mikee
03:13:27 *** twunder has quit IRC
04:10:01 *** john has quit IRC
04:31:20 *** Topcat has joined #gnucash
04:47:34 *** Topcat has quit IRC
04:47:58 *** Topcat has joined #gnucash
04:51:26 *** mad__ has joined #gnucash
04:58:05 *** Topcat has quit IRC
04:58:28 *** Topcat has joined #gnucash
05:03:30 *** Topcat has quit IRC
05:03:53 *** Topcat has joined #gnucash
05:13:53 *** Topcat has quit IRC
05:14:25 *** Topcat has joined #gnucash
05:30:57 *** Topcat1 has joined #gnucash
05:31:28 *** Topcat has quit IRC
05:47:06 *** Topcat1 has quit IRC
05:47:40 *** Topcat has joined #gnucash
05:52:40 *** Topcat has quit IRC
05:53:14 *** Topcat has joined #gnucash
05:58:13 *** Topcat has quit IRC
05:58:36 *** Topcat has joined #gnucash
06:03:41 *** Topcat has quit IRC
06:04:04 *** Topcat has joined #gnucash
06:09:04 *** Topcat has quit IRC
06:09:27 *** Topcat has joined #gnucash
06:14:28 *** Topcat has quit IRC
06:14:50 *** Topcat has joined #gnucash
06:19:48 *** Topcat has quit IRC
06:20:23 *** Topcat has joined #gnucash
06:20:40 *** Jimraehl1 has joined #gnucash
06:35:42 *** Topcat has quit IRC
06:36:04 *** Topcat has joined #gnucash
06:40:56 *** Jimraehl1 has left #gnucash
06:44:28 *** Jimraehl1 has joined #gnucash
06:51:27 *** Topcat has quit IRC
06:52:00 *** Topcat has joined #gnucash
06:57:01 *** Topcat has quit IRC
06:57:24 *** Topcat has joined #gnucash
07:09:15 *** Topcat has quit IRC
07:09:39 *** Topcat has joined #gnucash
07:14:38 *** Topcat has quit IRC
07:15:14 *** Topcat has joined #gnucash
07:20:14 *** Topcat has quit IRC
07:20:37 *** Topcat has joined #gnucash
07:23:41 *** Mer|in has joined #GnuCash
07:31:03 *** Topcat has quit IRC
07:31:27 *** Topcat has joined #gnucash
07:36:29 *** Topcat has quit IRC
07:37:02 *** Topcat has joined #gnucash
07:42:02 *** Topcat has quit IRC
07:42:38 *** Topcat has joined #gnucash
07:47:37 *** Topcat has quit IRC
07:48:00 *** Topcat has joined #gnucash
07:52:29 *** mad__ has quit IRC
07:56:57 *** mad__ has joined #gnucash
07:59:24 *** Topcat has quit IRC
08:21:13 *** fuzzybunny69y has quit IRC
08:41:58 <warlord> @op
08:41:58 *** gncbot sets mode: +o warlord
09:03:47 *** mad__ has quit IRC
09:03:50 *** mad has joined #gnucash
09:15:55 *** mad has quit IRC
10:09:45 *** ErKa has joined #gnucash
10:15:18 *** Harold has joined #gnucash
10:16:51 <Harold> Hi, I am attempting to install gnucash 2.5.5; centos 6.2. I get the following error:
10:16:52 <gncbot> Harold: Sent 21 hours and 31 minutes ago: <warlord> maybe if you stick around for more than 10 minutes you might actually get an answer.. You're missing the -devel packages.
10:16:53 <Harold> configure: error: Library requirements (glib-2.0 >= 2.28 gthread-2.0 gobject-2.0 gmodule-2.0) not met;
10:18:12 <Harold> Well I am being kicked off your server. Using opera chat, it seems this is not a variable.
10:18:27 <warlord> Not my server..
10:18:42 <Harold> Don't know how to fix it.
10:18:52 <warlord> Use a real IRC client
10:19:26 <Harold> Your are absolutely correct. I am just needing some help here.
10:21:17 <Harold> Regarding the -devel package, I have install every -devel package I can find. The glib2-devel is there and has about every flavor of cpu, i868, etc.
10:22:19 <warlord> First, are you trying to build 2.5.5 so you can test it? Or are you just wanting to use GnuCahs?
10:22:53 <warlord> If you just want to use gnucash then you should just "yum install gnucash"
10:23:23 <warlord> Otherwise, I would suggest: yum-builddep gnucash
10:23:41 <warlord> This should auto-install the 2.4.x build-deps which *SHOULD* be new-enough for 2.5.x -- but possibly not..
10:24:12 <warlord> What version of glib2 do you have?
10:24:20 <warlord> rpm -q glib2
10:24:20 <Harold> I have 2.4 installed and have been using it for about 2 years.
10:24:36 <warlord> (it's possible that RHEL6 doesn't have a "new enough" glib for 2.5)
10:26:32 <Harold> glib2 2.22.5-7.elxxx
10:26:46 <warlord> Yeah, that's the issue.
10:26:56 <warlord> GnuCash 2.5 needs glib2 2-28
10:26:56 <Harold> really????
10:27:11 <Harold> I'm on it, thanks!!!
10:27:24 <warlord> Do you have to stick with RHEL on your desktop?
10:27:47 <Harold> no
10:27:48 <warlord> It's usually pretty far behind the curve in terms of keeping up with the joneses.. It's usually pretty long in the tooth.
10:27:58 <warlord> I would recommend instead you switch to Fedora.
10:28:17 <warlord> It's "close enough" to RHEL, and frankly RHEL is derived from Fedora..
10:28:58 <Harold> OK, thanks for the tip. I will do this when I have time.
10:29:42 <warlord> Until then I'm afraid you'll have to stick with 2.4
10:29:47 <warlord> ... and you should install xchat for IRC
10:30:33 <Harold> You know it tried connecting using xchat and it didn't connect to anything.
10:31:19 <warlord> You probably just didn't configure it correctly.
10:31:34 * warlord has been a happy xchat user for... a decade or more.
10:32:24 <Harold> I didn't configure it at all and the opera chat was just handy. I used to use irc years ago and haven't updated my skill set.
10:33:41 <warlord> This is pretty much the only IRC channel I use regularly. Periodically I'll connect to freenode when I need to talk to someone about other projects.
10:34:24 <Harold> That's good information.
10:34:55 <Harold> I have to check out. Thank-you for all of your help
10:35:15 *** Harold has left #gnucash
11:32:35 *** jmd has joined #gnucash
11:38:54 *** ErKa has quit IRC
11:45:44 *** warlord has quit IRC
11:46:12 *** johanp has joined #gnucash
11:46:43 <johanp> hi all
11:46:53 <johanp> So I just tried the Android GnuCash app
11:46:58 <johanp> and I'm a little confused
11:47:27 <johanp> what happened to the whole double-entry idea... or am I just missing something?
12:00:05 *** warlord has joined #gnucash
12:00:05 *** gncbot sets mode: +o warlord
12:20:40 *** ErKa has joined #gnucash
12:44:52 *** bobby has joined #gnucash
12:46:36 *** john has joined #gnucash
12:46:37 *** gncbot sets mode: +o john
12:50:28 *** ErKa has quit IRC
12:56:11 <john> warlord: Derek, re reverting changes: Yes, git reset has several modes. See http://git-scm.com/docs/git-reset.
13:20:10 <warlord> john: I probably used --hard, which I probably shouldn't have..
13:21:20 <jmd> you can always recover with git reflog
13:25:20 *** kim27 has quit IRC
13:26:11 *** kim27 has joined #gnucash
13:28:22 <john> Yup. Nothing is ever lost until you run git gc.
13:29:07 <warlord> OH.. Hmm.. That's good to know.
13:29:21 * warlord is still a complete n00b w.r.t. git
13:34:37 *** ErKa has joined #gnucash
13:41:51 <bobby> How do I print debug statements that are included in the source code of Gnucash? I've tried GNC_DEBUG=1 gnucash, G_MESSAGES_DEBUG=all gnucash, and gnucash --debug
13:44:28 *** Topcat has joined #gnucash
13:46:03 <warlord> bobby: you have to turn on debugging for the particular module you want to debug. What are you trying to get?
13:46:36 <warlord> bobby: from gnucash --help:
13:46:40 <warlord> --log Log level overrides, of the form "log.ger.path={debug,info,warn,crit,error}"
13:46:52 <bobby> warlord: debug statements in the budget source code (e.g. src/gnome/gnc-plugin-budget.c)
13:47:19 *** Topcat has quit IRC
13:48:37 <bobby> warlord: is that the gnome module then?
13:48:49 <johanp> anyone here interested in the Android version of Gnucash?
13:49:09 <johanp> I can't work out why it wouldn't have the double entry system
13:50:35 <warlord> bobby: look at the top of the source file(s) for the logger module name
13:51:26 <warlord> bobby: it's GNC_MOD_GUI, which is "gnc.gui"
13:51:49 <warlord> johanp: I don't understand your question or statement.
13:56:12 <bobby> wow, that's a lot of info! $gnucash --log gnc.gui=debug --logto=stdout if anyone has this question in the future
13:59:30 <johanp> warlord: ah, you joined about 30 seconds after I asked my original question :)
13:59:47 <johanp> I tried the Android version of Gnucash
14:00:02 <johanp> and it seems I'm confused about something, or it doesn't have any notion of the double entry system
14:00:13 <warlord> johanp: I think you're confused
14:00:22 <johanp> good :0
14:00:24 <johanp> :)
14:00:40 <warlord> But you'll really have to talk to Nwegi
14:01:13 <johanp> ok thx - I'll hang around for a bit
14:01:29 <warlord> He's never here -- try asking on gnucash-user
14:01:42 <johanp> :)
14:01:43 <johanp> thankyou!
14:05:02 <john> warlord: Derek, is there a reason the business copy functions don't mark the instance dirty -- thus aren't written to the DB on commit?
14:08:28 <johanp> cheers all
14:08:30 *** johanp has quit IRC
14:09:39 <warlord> johey: I didn't write them, so, I don' t know. Bug?
14:10:02 <warlord> (I guess it depends to which "copy functions" you are referring)
14:11:23 <john> At the moment, I mean gncEntryCopy and gncInvoiceCopy. I'm going to treat it as a bug and add in marking the instance.
14:13:36 <warlord> I think cstim wrote those APIs
14:13:47 <warlord> I think it's safe to consider it a bug.
14:18:12 <john> Yeah. In two of three cases, a subsequent call will write the copies, so that third case is definitely a bug -- especially since it means that the invoice/bill gets written but the entry isn't.
14:18:27 <warlord> oops
14:19:46 <john> Is Christian also to blame for the poor decomposition of entry, with separate parameters for the same thing (e.g., i_account and b_account)?
14:20:08 <warlord> no, that's me.
14:20:21 <warlord> Because an Entry is "reused" for a chargeback.
14:20:57 <john> How?
14:24:57 <warlord> So it can belong to a Bill and an invoice.
14:25:16 <warlord> Well, you create a bill, the entry gets created and the b_* values get used.
14:26:08 <warlord> if it's marked for chargeback then there's a flag and it will get displayed when you invoice the customer, but the entry will have not have an X.. If you "X" it to attach it to the invoice, then it will let you fill in the i_* values.
14:26:26 <warlord> Same GncEntry, tied to both a Bill and Invoice.
14:28:38 <john> OK. Is that for direct pass-through of e.g. materials costs to the customer?
14:33:22 <warlord> Yes
14:33:34 <warlord> Although you can change the amount..
14:33:44 <warlord> i.e., you buy for $X, charge the customer $Y
14:35:04 <john> Then you're in a resale position and you need to be booking the cost as an expense and the total, not the delta, as income.
14:36:16 <john> But maybe that's orthogonal to the Entry stuff.
14:36:45 <john> But wouldn't it be cleaner in that case to *copy* the Entry and tie the two together with a reference?
14:42:20 *** bpburns has joined #gnucash
14:43:52 <warlord> That is the way it works...
14:44:28 <warlord> Would it be cleaner? Possibly.. But a decade ago this seemed... "better"
14:44:48 <warlord> Because the tie-in would allow arbitrary pointers, whereas this didnt
14:45:06 *** jmd has quit IRC
14:49:05 <john> We have "arbitrary" pointers all over the place, starting with every single split everywhere.
14:49:42 <john> Oh well, there are way more important things to work on than database optimization. Like getting everything *into* the database.
14:51:07 *** rpg_ has joined #gnucash
14:58:59 <warlord> :)
14:59:30 <warlord> If I were to do it again today I would've done lots of things differently. Then again if I were to do it today I'd probably use C++ instead of C..
15:38:59 <john> Well, I think C++ is coming. I agree with Christian that the less we're dependent upon glib the better, and writing GObject classes is hard to get right. Unfortunately, the engine classes get it spectacularly wrong.
16:15:56 *** Krzysiek_K has joined #gnucash
16:26:52 *** Krzysiek_K has left #gnucash
16:28:24 <warlord> the engine classes are bastardized gobject.
16:28:42 <warlord> I really wish I had decided to do QOF as C++ instead of what I did.
16:28:59 <warlord> but 12 years ago the C++ API/ABI was still a moving target.
16:40:53 <john> C++ is still a moving target. It was more stable 12 years ago than it is now: 13 years between c++98 and C++11, but only 3 to C++14. The C++ gods have decreed new standards every 3-5 years from now on. OTOH, C++11/14 compilers will (supposedly) happily compile C++98, just as current C compilers will compile K&R -- though they may bitch about some things.
16:42:52 <john> As for the engine classes, they're bastards, all right.
16:48:37 <warlord> I think the compiler/linker people have at least figured out how to do ABI stability..
16:49:04 <warlord> (although you are right, you cannot get c++98 and c++11 to interoperate -- bastards)
17:18:49 *** nomeata has joined #gnucash
17:26:25 *** bobby has quit IRC
18:20:59 *** nomeata has quit IRC
18:28:57 *** fell has joined #gnucash
19:16:40 *** rpg_ has quit IRC
19:39:56 *** ErKa has quit IRC
19:49:15 *** ErKa has joined #gnucash
20:18:13 *** fell_ has joined #gnucash
20:18:14 *** gncbot sets mode: +o fell_
20:22:15 *** fell_ has quit IRC
20:26:59 *** fell_ has joined #gnucash
20:27:00 *** gncbot sets mode: +o fell_
20:32:17 *** ErKa has quit IRC
20:39:41 *** ErKa has joined #gnucash
20:51:40 *** fell_ has quit IRC
20:52:24 *** fell_ has joined #gnucash
20:52:25 *** gncbot sets mode: +o fell_
20:55:12 <fell_> about the question of johanp some hours ago: checkmark Settings->transactions->double entry or whatever it is named in english
21:13:50 *** fell_ has quit IRC
21:17:42 *** fell_ has joined #gnucash
21:17:51 *** gncbot sets mode: +o fell_
21:37:29 *** fell has quit IRC
21:40:31 *** mad has joined #gnucash
21:43:05 *** ErKa has quit IRC
21:43:29 *** fell_ has quit IRC
21:44:05 *** fell_ has joined #gnucash
21:44:06 *** gncbot sets mode: +o fell_
22:03:55 *** ErKa has joined #gnucash
22:22:44 *** mad has quit IRC
22:27:57 *** ErKa has quit IRC
23:21:13 *** kim27 has quit IRC
23:41:49 *** ErKa has joined #gnucash