2014-07-22 GnuCash IRC logs

00:16:49 *** jimvideo has quit IRC
00:23:47 *** kpreid has quit IRC
01:19:14 *** MechtiIde has joined #gnucash
01:31:21 *** fell_ has quit IRC
01:58:23 *** wol has joined #gnucash
02:03:32 *** MechtiIde has quit IRC
02:35:20 *** O01eg has quit IRC
02:44:04 *** wol has quit IRC
02:45:03 *** ErKa has joined #gnucash
02:54:54 *** Krzysiek_K has joined #gnucash
02:56:50 *** jralls has joined #gnucash
02:56:50 *** gncbot sets mode: +o jralls
03:28:19 *** floh1111 has joined #gnucash
03:30:27 *** floh1111 has quit IRC
03:32:53 *** floh1111 has joined #gnucash
03:33:57 *** SteveG has joined #gnucash
03:57:43 *** Krzysiek_K1 has joined #gnucash
04:02:55 *** Krzysiek_K has quit IRC
04:19:07 *** jralls has quit IRC
05:32:14 *** SteveG has quit IRC
05:41:34 *** Krzysiek_K1 has quit IRC
05:46:52 *** aqua___ has joined #gnucash
05:56:51 *** SteveG has joined #gnucash
06:03:24 *** himaxx has joined #gnucash
06:05:10 *** himaxx has quit IRC
06:27:53 *** wol has joined #gnucash
06:30:07 *** Jimraehl1 has left #gnucash
06:40:57 *** Jimraehl1 has joined #gnucash
06:42:04 *** ockham has joined #gnucash
06:43:07 *** fell_ has joined #gnucash
06:43:07 *** gncbot sets mode: +o fell_
06:48:04 <ockham> how difficult would this be? https://bugzilla.gnome.org/show_bug.cgi?id=733551 could it be done via some python module?
06:48:55 *** SteveG has quit IRC
06:55:56 *** jralls has joined #gnucash
06:55:56 *** gncbot sets mode: +o jralls
07:04:51 *** DimStar_ is now known as DimStar
07:06:06 *** jralls has quit IRC
07:59:11 <warlord> ockham: GnuCash isn't really set up internally for storing data externally in pieces. It's kinda all-or-nothing. You could probably use a script to pull from carddav and put it into the gnucash data, but it wouldn't necessarily keep it in sync.
08:07:27 <ockham> warlord: well i was thinking of some sort of hook that's invoked at the time when a contact is loaded or modified
08:10:36 <warlord> gnucash loads all data at startup
08:11:04 <warlord> and there's no hook specific to individual data objects.. It's a generalized "save" hook that's shared among all data objects.
08:13:51 *** Krzysiek_K has joined #gnucash
08:14:14 *** Krzysiek_K has left #gnucash
08:35:54 *** SteveG has joined #gnucash
08:38:33 *** himaxx has joined #gnucash
08:45:12 *** himaxx has quit IRC
08:46:12 *** fell_ has quit IRC
08:46:32 *** fell_ has joined #gnucash
08:46:32 *** gncbot sets mode: +o fell_
08:52:12 <ockham> well, so maybe it could at least be synced at startup and with each "save" hook call?
08:53:58 *** wol has quit IRC
08:57:36 *** soa2ii has quit IRC
09:00:57 *** wol has joined #gnucash
09:07:30 *** soa2ii has joined #gnucash
09:17:58 *** lmat has joined #gnucash
09:23:09 *** SteveG has quit IRC
09:33:37 *** ockham has quit IRC
09:33:59 *** ockham has joined #gnucash
09:54:15 *** aqua___ has quit IRC
09:56:06 *** wol has quit IRC
09:58:51 *** floh1111 has quit IRC
10:08:54 *** lmat_ has joined #gnucash
10:10:08 *** floh1111 has joined #gnucash
10:12:51 *** lmat has quit IRC
10:21:23 <warlord> ockham: sorry, was in a meeting. GnuCash doesn't really have a good way to hook that right now. You would have to add a hook into the main code. So to answer you initial question, no, it would not be easy.
10:32:04 *** SteveG has joined #gnucash
10:37:55 *** O01eg has joined #gnucash
10:58:03 *** ockham has quit IRC
10:58:25 *** ockham has joined #gnucash
11:21:50 *** wol has joined #gnucash
11:23:02 *** ockham1 has joined #gnucash
11:27:37 *** ockham has quit IRC
11:47:24 *** jralls has joined #gnucash
11:47:24 *** gncbot sets mode: +o jralls
11:59:11 *** floh1111 has quit IRC
12:06:55 *** floh1111 has joined #gnucash
12:24:26 *** floh1111 has quit IRC
12:34:59 *** MechtiIde has joined #gnucash
12:39:59 *** himaxx has joined #gnucash
12:41:37 *** himaxx has joined #gnucash
12:56:44 *** aqua___ has joined #gnucash
13:07:22 <lmat_> What does md5.c, line 64 or so mean?
13:08:01 <lmat_> void md5_init_ctx (ctx) struct md5_ctx * ctx;
13:08:07 <lmat_> (it's on multiple lines, but that's the gist)
13:09:25 *** lmat_ is now known as lmat
13:24:43 <lmat> warlord: Do you read code? ^_^
13:30:27 *** aqua___ has quit IRC
13:37:18 <warlord> lmat: I do read code, but I need to see the *exact* code -- what you copied above is invalid C.
13:37:28 <warlord> Ah, I see:
13:38:01 <warlord> void
13:38:01 <warlord> md5_init_ctx (ctx)
13:38:01 <warlord> struct md5_ctx *ctx;
13:38:11 <lmat> Actually, apparently it's okay
13:38:15 <lmat> pre-ANSI C...
13:38:27 <warlord> This is old K&R C style, it's the same as "void md5_init_ctx(struct md5_ctx *ctx)"
13:39:00 <warlord> Basically you name the variables inside the parens and then define them after, but still before the brace.
13:39:13 <lmat> fun!
13:39:16 <warlord> You confused me above with your semicolon at the end.
13:39:26 <warlord> It's really old C syntax, and personally I hate it.
13:39:40 <warlord> But it's more "portable" if you want to go back in time to 1980s compilers.
13:40:31 <lmat> warlord: Which is common
13:40:37 <lmat> :-P Thanks, though :)
13:40:52 *** jralls has quit IRC
13:56:14 *** htowngangsta has joined #gnucash
14:06:12 <warlord> Not for gnucash, it's not. ;)
14:26:03 *** ockham1 has quit IRC
14:26:26 *** ockham has joined #gnucash
14:36:56 <lmat> in test-gnc-date.cpp, there is, for instance, char * = "qof"; which gives an error on my compiler
14:37:16 <lmat> Basically, you shouldn't create a non-const pointer to a literal string because the compiler doesn't like tha.
14:38:04 <warlord> lmat: please copy-and-paste the exact full line?
14:38:57 <lmat> warlord: of course
14:39:10 <lmat> line 99 or so: gchar *logdomain = "qof";
14:43:32 <lmat> And the error is test-gnc-date.cpp:96:42: error: deprecated conversion from string constant to ‘gchar* {aka char*}’ [-Werror=write
14:43:35 <lmat> -strings]
14:44:28 <warlord> technically that *IS* legal C
14:44:31 <lmat> It doesn't work to const gchar * ... because the value is passed to TestErrorStruct which takes a gchar* (or char* or whatever)
14:44:41 <lmat> warlord: Unfortunately, the file extension is cpp ^_^
14:45:13 <warlord> *grumbles* Force-cast it. gchar *logdomain = (gchar*) "qof";
14:45:28 <lmat> :P
14:45:57 <lmat> warlord: Oh yeah, I was hesitant about changing TestErrorStruct to char const, but I shouldn't be... TestErrorStruct shouldn't be changing values anyway.
14:47:12 <lmat> warlord: I'm a big fan of const-correct, but I see that we don't really do that :)
14:57:43 <warlord> no, we dont
14:59:01 *** jimvideo has joined #gnucash
15:09:32 *** MechtiIde has quit IRC
15:12:40 *** David has joined #gnucash
15:15:52 <David> Hi, I was using 2.4 GnuCash version and saved the accounts in a postgre database. Now, I have installed 2.6 GC version. What to do to upgrade the database correctly? Is it sufficient to open from the database by GC v2.6 ans simply save? Or do I need to make an empty database? Or other way? Thank you.
15:25:31 *** gnucash has joined #gnucash
15:26:20 <gnucash> hi there. Thanks in advance for any help.
15:26:56 <gnucash> How do I transfer profit into the actual retained earnings account?
15:30:08 <warlord> David: I *think* you can just open the database and gnucash will "do the right thing"
15:30:35 <warlord> but I don't use the SQL backend for data because there's still data loss issues that keep being found.
15:31:03 <warlord> gnucash: I dont understand the question. Are you trying to close your books? Or just run a Balance Sheet report?
15:32:33 <David> warlord: thanks for reply. Pls, is the data loss in DB backend related to v.2.6. only ? Or to any DB backend?
15:32:38 <gnucash> i guess close the book at year-end? the Bal. Sheet report shows the right retained earnings amount but i dunno how to get it "out of there" into the actual acct?
15:32:55 <warlord> It's even worse in 2.4.
15:33:07 <warlord> 2.6.3 is an improvement because we keep fixing them as we find them.
15:33:11 <David> Actually, I have been using the 2.4 version since the time it was released ... and no prob
15:33:19 <warlord> But you really shouldn't be using SQL for real data, IMNSHO
15:33:27 <warlord> Then you've been lucky.
15:33:43 <warlord> gnucash: why do you feel you need to do that?
15:33:45 *** arrrghhh has joined #gnucash
15:34:40 <arrrghhh> Hello. I'm running the latest LTS Ubuntu release, and evidently there's some issues with a report in 2.6. As such I'd like to downgrade to 2.4.15... I've built from source but some update from Ubuntu seems to have reinstated 2.6. How can I avoid this?
15:34:55 <David> warlord, thank you much. ¨
15:35:04 <warlord> David: you're welcome.
15:36:07 <gnucash> warlord: i took a few draws out of the retained balance acct and now it shows a negative balance when it should be positive at year-end… I'm really sorry if this is the wrong place for this kind of question.
15:36:09 <warlord> arrrghhh: that sounds like an ubuntu packaging issue. I have no idea how you tell Ubuntu not to re-install a package once you remove it. However you can still have multiple versions installed; when you build gnucash from sources yourself just configure with a --prefix ... like --prefix=/opt/gnucash-2.4
15:36:22 <warlord> arrrghhh: however I would ask what "report issues" you're seeing in 2.6?
15:36:55 <arrrghhh> warlord, well let me find the thread. It's honestly for my father... I helped him build a new computer and install the latest Ubuntu, and I've never dealt with downgrading packages like this.
15:37:01 <warlord> gnucash: Tools -> Close Books is the way to close the books. Or just live with the account being "negative" in the CoA and realize that the Balance Sheet is your real data.
15:37:29 <warlord> arrrghhh: sorry, that sounds like an ubuntu-specific issue -- I dont use UB so cannot help with that
15:37:45 <arrrghhh> warlord, but I will perhaps ask in #ubuntu-desktop as well. Can we discuss the report and maybe a workaround for 2.6?
15:38:00 <arrrghhh> I'd prefer to not use a source built version if there's a perfectly good version already in the repo's.
15:38:51 <arrrghhh> I think it was the cash flow report... let me do some digging.
15:39:12 <gnucash> warlord: Thank you so much. (And I'm still sorry for the stupid q.). All hail Warlord ;)
15:39:50 * lmat hails warlord
15:44:09 *** jralls_ has joined #gnucash
15:44:09 *** SteveG has quit IRC
15:45:16 <warlord> LOL
15:45:21 <warlord> gnucash: you're welcome
15:45:32 <warlord> arrrghhh: sure, what's the report issue you're seeing?
15:46:20 <arrrghhh> warlord, I think it's the Cash Flow report. My own googling hasn't brought anything obvious to my attention, other than some people talking about how the cash flow report issues should be fixed in 2.6... I emailed my dad, hoping to get the exact thread he's been reading about the issue.
15:49:53 *** joao-3 has joined #gnucash
15:50:15 <arrrghhh> hm. I have a feeling it's this... but he's looking.
15:50:15 <arrrghhh> https://bugzilla.gnome.org/show_bug.cgi?id=722140
15:52:10 *** David has left #gnucash
15:52:54 *** joao-3 has quit IRC
15:56:24 *** Macuna has joined #gnucash
15:57:09 <arrrghhh> warlord, lol yep that's the one.
15:57:25 <arrrghhh> so I guess the 'solution' would be to make a custom report and link the old 2.4 report in
16:03:31 *** calp_ has joined #gnucash
16:04:37 <warlord> arrrghhh: yeah, just grab the old 2.4 report, rename it to "Old Cashflow", change the GUID in the report, and put it into the 2.6 standard-reports directory..
16:08:36 *** calp has quit IRC
16:08:36 *** calp_ is now known as calp
16:08:54 <warlord> arrrghhh: although reading through that bug, IMHO Carsten is correct.
16:09:11 <arrrghhh> warlord, I'm not an accounting expert at all, but I can see both sides of the argument.
16:09:55 <arrrghhh> Tim Barber seems to think this is how other accountants would run the report, as it was in 2.4. Ofc my father feels the same way.
16:10:01 <arrrghhh> I'll just see if I can get the 2.4 report to run in 2.6.
16:10:09 *** SteveG has joined #gnucash
16:14:11 <warlord> Okay
16:14:53 <arrrghhh> it sounds like that may be the "solution" to the bug?
16:15:01 <arrrghhh> kind of a crappy solution tho, having 2 cash flow reports :/
16:17:04 *** Macuna has quit IRC
16:17:29 <jralls_> lmat: WRT to md5.c, that whole file is obsolete with your C++ implementation of guid.cpp -- if you'd just finish it up so that I can merge it!
16:18:05 <lmat> jralls_: :)
16:19:13 *** jralls_ is now known as jralls
16:19:22 <warlord> arrrghhh: arguably.. But different people need reports to work in different ways. Another approach, as suggested by Geert, was to have an option for how to handle those kinds of transactions.
16:19:39 *** gncbot sets mode: +o jralls
16:20:26 <arrrghhh> warlord, ya I also saw Tim's question to the ML went completely unanswered...
16:20:47 <arrrghhh> unfortunate. Hopefully importing that old report isn't too big of an issue.
16:21:23 <warlord> arrrghhh: well, you could reply to his email on the list...
16:21:35 <arrrghhh> make him feel less lonely? lol
16:22:41 <warlord> Also to bring it back to the attention of other people?
16:25:07 <arrrghhh> eh I'll let my father weigh in if he cares to. Honestly the issue isn't that big of a concern to me.
16:25:40 <arrrghhh> I just want to fix it in the easiest-way-to-maintain-going-forward possible ;)
16:26:29 <warlord> I don't understand Tim's point of view.. What he's talking about with the cash transactions really ARE two transactions. Collowing $600 in cash, paying out $100, and depositing the rest are 2 transactions, not 1, IMHO.
16:33:37 <arrrghhh> it's not 600, it's 500... he's having to make it artifically 600
16:34:09 <arrrghhh> it's not a big deal, obviously everyone has their own view on how the report 'should' be displayed. it seems to be enough of an issue that they felt the need to 'fix' it from 2.4
16:34:11 <warlord> In the example it was a $600 collection, a $500 deposit.
16:39:18 <arrrghhh> warlord, this really sums up the whole bug nicely
16:39:18 <arrrghhh> http://lists.gnucash.org/pipermail/gnucash-user/2014-March/053951.html
16:41:17 <arrrghhh> oh and there are replies, I didn't look at April. D'oh
16:46:41 *** gnucash has left #gnucash
17:02:56 *** lmat has quit IRC
17:04:26 *** jralls_ has joined #gnucash
17:08:22 *** jralls has quit IRC
17:11:30 *** fell__ has joined #gnucash
17:11:31 *** gncbot sets mode: +o fell__
17:20:29 *** fell_ has quit IRC
17:21:57 *** wol has quit IRC
17:39:01 *** ockham has quit IRC
17:39:24 *** ockham has joined #gnucash
17:49:02 *** Absurd-Mind has joined #gnucash
17:49:37 <Absurd-Mind> hello
17:50:47 <Absurd-Mind> i have two bank accounts: normal account where i receive my salary and a savings account, each month i move let's say 500euro to the savings account
17:51:52 <Absurd-Mind> the savings account has several subaccounts like rent, internet provider, car, electricity and such (pretty normal i think)
17:52:34 <Absurd-Mind> every month i make a split transaction which splits the 500 euros on these subaccounts 50 euro to electricity etc.
17:53:17 <Absurd-Mind> now my electricity provider charges me 40 euro, which is taken from my savings bank account
17:54:02 <Absurd-Mind> and i click Actions -> Online Actions -> get Transactions, is it possible that this transaction is reconsiled correctly?
17:54:57 <Absurd-Mind> what i got: account:monthly ---- (40EU) ----> expenses:electricity // right side is good
17:55:26 <Absurd-Mind> what i want: account:monthly:electricity ---- (40EU) ----> expenses:electricity
17:55:40 <Absurd-Mind> or do i have to do this manually
17:55:48 <Absurd-Mind> (every month for each transaction)
18:02:58 <Simon> so the subaccounts don't really exist?
18:06:35 <Absurd-Mind> not for my bank
18:06:42 <Absurd-Mind> my bank only knows two accounts
18:07:05 <Absurd-Mind> the subaccounts are "Assets"
18:08:35 *** jralls_ has quit IRC
18:22:44 *** fell__ has quit IRC
18:30:47 *** wafflejock has quit IRC
18:37:51 *** ErKa has quit IRC
19:00:27 <jethrogb> arrrghhh: you still struggling to get ubuntu not to replace your gnucash version?
19:03:00 <jethrogb> Absurd-Mind: you have to do it manually
19:03:16 <Absurd-Mind> :(
19:09:24 <jethrogb> I don't know why you'd use this setup though
19:16:14 *** ockham has quit IRC
19:16:37 *** ockham has joined #gnucash
19:27:34 <Absurd-Mind> jethrogb: what would be better?
19:30:52 <jethrogb> why do you want to separate your savings into the separate provisions?
19:36:03 *** htowngangsta has quit IRC
19:47:42 <Absurd-Mind> So that i can see how much i saved for x
19:48:04 <jethrogb> you're saving now to pay utility bills next year?
19:48:27 <Absurd-Mind> Yes
19:48:42 <jethrogb> ok, that's fine
19:49:05 <Absurd-Mind> I like paying each month some euros instead of alot after one year
19:49:08 <jethrogb> in that case, usually you have a seperate account tree under assets for your provisions
19:49:51 *** ockham has quit IRC
19:52:00 <Absurd-Mind> Hmmm
19:52:02 <jethrogb> and then for every expense from a bank account you create a seperate transaction (or add splits) to move money from the provision to the expense
19:52:25 <jethrogb> https://lists.gnucash.org/pipermail/gnucash-user/2004-November/012006.html
19:55:29 <Absurd-Mind> Hmmm have to think about this
19:55:33 <Absurd-Mind> Gn8
20:12:35 <arrrghhh> jethrogb, haven't really gone thru it, about to call my father now. I was thinking I would just import the 2.4 report into 2.6.
20:21:47 <arrrghhh> jethrogb, evidently he's eating dinner. I'm going to do the same - let me know if you have some suggestions.
20:22:03 <arrrghhh> otherwise I'm going to forge ahead with the attempt to pull the 2.4 report into 2.6...
20:25:51 <jethrogb> arrrghhh: get the old package for an older ubuntu
20:26:14 <jethrogb> it should install cleanly...
20:26:51 <jethrogb> e.g. here http://packages.ubuntu.com/saucy/gnucash
20:27:12 <jethrogb> you'll probably also need gnucash-common and gnucash-docs
20:27:54 <jethrogb> and the for every package you installed this way, type (e.g. for gnucash-docs): echo gnucash-docs hold|sudo dpkg --set-selections
20:28:11 <jethrogb> this will prevent the package manager from upgrading that package
20:35:05 *** SteveG has quit IRC
20:42:21 <warlord> Absurd-Mind: Unfortunately bucket-budgeting, which you're attempting to do, does NOT work with online transaction downloads. You have to choose one or the other, you cannot do both.
21:41:59 *** fell__ has joined #gnucash
21:41:59 *** gncbot sets mode: +o fell__
21:58:30 <arrrghhh> jethrogb, there's a ton of deps. do I need to hold them all back?
21:58:48 <arrrghhh> like libc6... not sure I can hold that one back
22:13:29 <arrrghhh> just going to try gnucash
22:20:04 <arrrghhh> jethrogb, just held back a few... apt-get update seems to run without trying to update it. thx.
22:30:11 *** fell__ has quit IRC