2014-10-26 GnuCash IRC logs

00:11:34 *** GabrieleV_ has joined #gnucash
00:11:46 *** GabrieleV has quit IRC
00:11:46 *** GabrieleV_ is now known as GabrieleV
00:11:54 *** AndreeeCZ_ has quit IRC
00:29:37 *** mib_t0j8xy has quit IRC
00:31:35 *** GabrieleV_ has joined #gnucash
00:31:38 *** GabrieleV has quit IRC
00:31:38 *** GabrieleV_ is now known as GabrieleV
00:54:01 *** ErKa has joined #gnucash
01:11:03 *** fell has quit IRC
01:19:14 *** fell has joined #gnucash
01:19:15 *** gncbot sets mode: +o fell
01:31:36 *** MechtiIde has joined #gnucash
02:16:37 *** GabrieleV_ has joined #gnucash
02:16:37 *** GabrieleV has quit IRC
02:16:37 *** GabrieleV_ is now known as GabrieleV
02:50:58 *** MechtiIde has quit IRC
02:51:38 *** GabrieleV_ has joined #gnucash
02:51:55 *** GabrieleV has quit IRC
02:51:55 *** GabrieleV_ is now known as GabrieleV
03:02:02 *** ErKa has quit IRC
04:07:54 *** fell has quit IRC
04:47:07 *** MechtiIde has joined #gnucash
05:12:48 *** jeff has joined #gnucash
05:24:28 *** gjanssens has joined #gnucash
05:24:28 *** gncbot sets mode: +o gjanssens
05:53:10 *** jeff has quit IRC
06:54:43 *** GabrieleV_ has joined #gnucash
06:54:51 *** GabrieleV has quit IRC
06:54:51 *** GabrieleV_ is now known as GabrieleV
07:12:26 *** MechtiIde has quit IRC
07:13:25 *** MechtiIde has joined #gnucash
07:14:13 *** benjamin-agaric has joined #gnucash
07:18:19 *** AndreeeCZ_ has joined #gnucash
07:30:20 *** wol has joined #gnucash
07:35:01 *** ErnstNeger has joined #gnucash
07:54:14 *** GabrieleV_ has joined #gnucash
07:54:45 *** GabrieleV has quit IRC
07:54:46 *** GabrieleV_ is now known as GabrieleV
07:57:06 *** Jimraehl1 has left #gnucash
07:57:46 *** Jimraehl1 has joined #gnucash
08:40:24 *** benjamin-agaric has quit IRC
08:43:24 *** benjamin-agaric has joined #gnucash
08:50:09 *** andy has quit IRC
08:56:30 *** benjamin-agaric has quit IRC
09:07:22 *** Gbarr has joined #gnucash
09:16:11 *** O01eg has joined #gnucash
09:21:04 *** calp_ has joined #gnucash
09:21:30 *** wol has quit IRC
09:26:16 *** calp has quit IRC
09:26:16 *** calp_ is now known as calp
09:36:04 *** wol has joined #gnucash
09:40:12 *** fell has joined #gnucash
09:40:12 *** gncbot sets mode: +o fell
09:55:12 *** wol has quit IRC
10:12:26 *** Gbarr has quit IRC
10:31:31 *** ErnstNeger has quit IRC
10:38:39 *** Gbarr has joined #gnucash
11:27:54 *** ErKa has joined #gnucash
11:33:05 *** Gbarr has quit IRC
11:48:49 *** GabrieleV_ has joined #gnucash
11:48:51 *** GabrieleV has quit IRC
11:48:52 *** GabrieleV_ is now known as GabrieleV
11:53:48 *** benjamin-agaric has joined #gnucash
11:56:46 *** andy has joined #gnucash
12:10:43 *** MechtiIde has quit IRC
12:13:48 *** GabrieleV_ has joined #gnucash
12:13:54 *** GabrieleV has quit IRC
12:13:54 *** GabrieleV_ is now known as GabrieleV
12:15:02 *** aqua_ has joined #gnucash
12:21:50 *** cartsoftware1 has quit IRC
12:26:06 *** AndreeeCZ__ has joined #gnucash
12:34:35 *** Hinnerk has joined #gnucash
12:34:42 <Hinnerk> Hi
12:34:57 <Hinnerk> I promised I 'd take a second look at the advanced portfolio report.
12:35:05 <Hinnerk> I found something that seems wrong to me.
12:35:21 <Hinnerk> Even though I'm fairly confident I entered everything in the compliant way.
12:35:24 *** AndreeeCZ_ has quit IRC
12:35:45 <Hinnerk> I had some puts, which I sold shortly after.
12:36:00 <Hinnerk> Cashflows in and out are correct in the report.
12:36:21 <Hinnerk> So I realised gain (or rather: loss)
12:36:33 <Hinnerk> but there is also the field "Ertrag"
12:36:55 <Hinnerk> this is a positive amount.
12:37:08 <Hinnerk> i think it should be negative, since it was a loss.
12:37:46 <Hinnerk> I think this is the realised loss, without trading costs.
12:37:50 <Hinnerk> only with wrong sign.
12:39:13 <Hinnerk> interestingly: "Gesamter Ertrag" is also wrong. It is the sum of realised gain and the ertrag.
12:39:21 <Hinnerk> So, effectively just the trading costs.
12:39:46 <Hinnerk> Rate of return is therefore also wrong (just showing the trading cost relative to money in.
12:40:16 <Hinnerk> note that I didn't bother to hook this up to Finance:Quote, but rather entered prices manually.
12:43:08 *** benjamin-agaric has quit IRC
12:44:28 *** aqua_ has quit IRC
12:49:12 *** benjamin-agaric has joined #gnucash
13:11:19 *** ErKa has quit IRC
13:11:55 *** Gbarr has joined #gnucash
13:31:10 *** fell_ has joined #gnucash
13:31:11 *** gncbot sets mode: +o fell_
13:36:03 *** Gbarr has quit IRC
13:40:28 *** fell has quit IRC
13:45:06 <warlord> Hinnerk: what quote source did you use for the report?
14:12:08 <Hinnerk> Dyou mean average vs newest etc? Newest
14:16:58 <Hinnerk> Just checked the Price DB: There is only one entry for this security in there, which I entered manually and it is equal to the sell price.
14:24:40 <warlord> What about an entry for the buy price?
14:24:56 <Hinnerk> there isn't :)
14:25:17 *** kpreid has quit IRC
14:25:22 <warlord> well, that could be the problem...
14:35:01 <Hinnerk> it wasn't
14:35:12 <Hinnerk> just added prices for the other relevant dates.
14:37:53 <warlord> And that fixed it?
14:38:57 *** MechtiIde has joined #gnucash
14:53:05 *** benjamin-agaric has quit IRC
14:53:48 <Hinnerk> nope.
15:10:53 <warlord> :(
15:11:03 <warlord> Are the buys and sells on the same day?
15:33:08 *** AndreeeCZ__ has quit IRC
15:51:48 *** wizkid238 has quit IRC
15:58:32 *** wizkid238 has joined #gnucash
15:59:11 <Hinnerk> no
16:12:26 *** MechtiIde has quit IRC
16:24:12 *** jralls has quit IRC
16:24:43 *** jralls has joined #gnucash
16:24:44 *** gncbot sets mode: +o jralls
16:38:00 <jralls> Hinnerk: Are you using 2.4? 2.6 is supposed to create prices in the pricedb when you commit a transaction. That aside, make sure that the prices in the pricedb reflect the dates of the respective transaction, then set Price Source in the report options to "Nearest in Time".
16:47:08 <Hinnerk> I'm using 2.6.4-2
16:47:28 <Hinnerk> However, the transaction was entered a long time ago, with an older version.
16:47:31 <Hinnerk> Not sure, which
16:47:34 *** aqua___ has joined #gnucash
16:47:45 <Hinnerk> I changed to nearest in time, didn't help
16:47:57 <Hinnerk> the db contains prices for the days of the transactions.
16:48:04 <Hinnerk> and only those.
17:01:32 <jralls> OK. Please bring it up on the user list or file a bug. Mike Alexander has done most of the work on the APR lately, but he's not here today. He's more likely to see something on the list or a bug report than to notice in the IRC log.
17:02:56 <gjanssens> Hey, I am looking at our Makefiles and most Makefiles in the test directories contain a line like this:
17:02:59 <gjanssens> GNC_BUILDDIR=`\cd ${top_builddir} && pwd`
17:03:18 <gjanssens> Which looks like an odd construction to me
17:03:34 <gjanssens> Why is there a backslash in front of the cd command ?
17:03:44 <gjanssens> Is that a makefile special ?
17:04:56 <gjanssens> And why using a subcommand here ? Would ${abs_top_builddir} not give the same result ?
17:06:13 <jralls> gjanssens: That's for the legacy tests test environment, and they need an absolute path while the make builddir macros give a relative one.
17:07:37 <gjanssens> jralls: ehr, abs_top_builddir ? I would think that is an absolute path as well ?
17:07:56 <jralls> Dunno about the backslash.
17:09:41 <gjanssens> Did older versions of the autotools not support abs_top_builddir ?
17:10:10 <jralls> Yeah. Just found http://lists.gnu.org/archive/html/autoconf/2005-05/msg00049.html which says they were introduced in automake 2.59.
17:11:00 <gjanssens> Ah, and if I read our configure file correctly we currently require 2.60 or more recent:
17:11:03 <gjanssens> AC_PREREQ(2.60)
17:11:23 <gjanssens> So these constructs can be simplified now I presume.
17:11:48 *** ErKa has joined #gnucash
17:12:35 <gjanssens> FYI: I'm currently looking at a bug reported on Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1151870
17:13:32 <gjanssens> This is a guile 2 specific issue, more precisely a side effect of autocompilation
17:13:52 <gjanssens> I have a patch ready that will fulfill Bill's immediate needs
17:14:19 *** andy has quit IRC
17:14:24 <jralls> Yes, go ahead and simplify Makefile.am. I can't imagine it has anything to do with the Guile bug, though.
17:14:25 <gjanssens> But at the same time I'm investigating what is necessary to ship gnucash with pre-compiled scm files in a guile 2 environment
17:14:47 <gjanssens> jralls: it has nothing to do with the guile bug directly
17:15:08 <gjanssens> I just stumbled upon it while experimenting with the makefiles for compiling scm files
17:15:53 <gjanssens> To compile an scm file all it's dependencies have to be found
17:16:11 <gjanssens> So the environment has to be set properly
17:16:12 *** andy has joined #gnucash
17:16:38 <gjanssens> And that's close to what we currently already do in the test environments
17:16:51 <gjanssens> That's how I encountered the old construct
17:18:28 <gjanssens> I was considering adding scm compilation to the maint branch, because not doing so may lead to odd issues like the Fedora bug
17:18:43 <gjanssens> But I fear the change is to invasive and could cause regressions on its own
17:18:53 <gjanssens> So I'll probably just do it for master
17:19:30 <jralls> How would it cause regressions? It's just doing something that Guile's going to do at first launch anyway.
17:20:33 <gjanssens> You'd be surprised...
17:20:41 <jralls> However, it might cause problems if a distro upgrades Guile without rebuilding GnuCash, if the new Guile isn't ABI-compatible with the old one.
17:21:33 <gjanssens> Hmm, that also yes
17:21:52 <gjanssens> Although I think that would simple trigger an autocompile
17:22:01 <gjanssens> s/simple/simply/
17:22:31 <gjanssens> I was mostly thinking of build regressions
17:22:48 <gjanssens> And I have to change several scm files for it to work as well
17:22:59 <jralls> Isn't it's failure to do that in the face of a new source file the root cause of that FC20 bug?
17:23:14 <gjanssens> No
17:23:43 <jralls> How is it not? The work around is to delete the ceached binaries.
17:23:46 <gjanssens> What happens in Fedora is that the "new" source file is "older" than the autocompiled file
17:24:20 <gjanssens> Files in an rpm packages are dated at their build time, not install time
17:24:51 <gjanssens> So what probably happened is that the new rpm was already created, but not installed yet
17:25:25 <gjanssens> So the autocompiled files were newer than the files that got installed by the new rpm and as such the autocompile would not trigger
17:26:02 <gjanssens> A possible workaround for that would be to explicitly "touch" all newly installed scm files in the postinstall step of the rpm update command
17:26:25 <gjanssens> However the other case, where a new guile version is installed with an incompatible ABI
17:26:54 <jralls> Do you know for sure that Guile's auto-compile looks at the version that the cached binary was compiled with?
17:26:56 <gjanssens> The next time gnucash is run guile itself will try to load our compiled files and notice they are no longer compatible
17:27:47 <gjanssens> No, I don't. That's why I said "I think" in my first reply :)
17:27:55 <gjanssens> I intend to verify this with the guile devs
17:31:40 <jralls> OK.
17:33:47 <gjanssens> jralls: different topic - are you still looking at webkitgtk ?
17:35:06 <jralls> I *finally* got it to build all the way yesterday. I tested it and found I'd introduced another bug when trying to find the original problem, and the build fixing that just finished. Give me a minute...
17:36:12 <jralls> It worked! Yay!
17:36:51 *** aqua___ has quit IRC
17:38:17 <jralls> So I need to tar up new webkit and webkit-dev tarballs and push a change to defaults.sh with the new version and URL. That won't take long.
17:38:55 <jralls> Is there anything else that's pre-compiled and might bite us?
17:40:18 <gjanssens> Yay! That's good news!
17:48:48 <gjanssens> Re: pre-compiled dependencies: enchant, gnutls, psql, pcre, regex, readline all seem to be precompiled
17:49:16 <gjanssens> I don't know if that means they could bite us
18:05:41 <jralls> I guess we'll have to assume that they will unless they come from MinGW or we can establish that they were built with a recent compiler and link a recent MinGW-msvcrt, or were built with Visual-C++.
18:08:23 <jralls> I'll go ahead and get the WebKit changes in and start a build on the build server so that we can get the folks on the bug to test it, then start on the rest. I'm inclined to make precompiled binaries for everything except GnuCash itself to speed up builds and unload Derek's VM server.
18:08:32 <jralls> Isn't it your bed-time?
18:08:52 <gjanssens> Yes, pretty close...
18:09:00 <gjanssens> I'm waiting for a commit to sync to github an then I'm off
18:15:38 <gjanssens> Good night
18:15:52 *** gjanssens has quit IRC
18:51:10 *** StuM has joined #gnucash
18:59:26 *** Hinnerk has quit IRC
19:15:49 *** andy has quit IRC
19:15:49 *** Ardonik has quit IRC
19:15:49 *** puck has quit IRC
19:15:49 *** StuM has quit IRC
19:15:49 *** calp has quit IRC
19:15:49 *** Jimraehl1 has quit IRC
19:15:49 *** warlord has quit IRC
19:15:49 *** Coderjoe has quit IRC
19:15:49 *** mikee has quit IRC
19:15:49 *** kim27 has quit IRC
19:15:49 *** mishehu has quit IRC
19:15:49 *** thomassgn has quit IRC
19:15:49 *** soa2ii has quit IRC
19:20:40 *** warlord has joined #gnucash
19:20:40 *** StuM has joined #gnucash
19:20:40 *** andy has joined #gnucash
19:20:40 *** calp has joined #gnucash
19:20:40 *** Jimraehl1 has joined #gnucash
19:20:40 *** Ardonik has joined #gnucash
19:20:40 *** Coderjoe has joined #gnucash
19:20:40 *** puck has joined #gnucash
19:20:40 *** soa2ii has joined #gnucash
19:20:40 *** thomassgn has joined #gnucash
19:20:40 *** mishehu has joined #gnucash
19:20:40 *** kim27 has joined #gnucash
19:20:40 *** mikee has joined #gnucash
19:20:40 *** irc.eagle.y.se sets mode: +o warlord
19:20:40 *** gncbot sets mode: +o warlord
19:38:01 *** GabrieleV has quit IRC
19:38:02 *** GabrieleV_ has joined #gnucash
19:38:04 *** GabrieleV_ is now known as GabrieleV
19:58:01 *** GabrieleV_ has joined #gnucash
19:58:07 *** GabrieleV has quit IRC
19:58:07 *** GabrieleV_ is now known as GabrieleV
19:58:27 *** benjamin-agaric has joined #gnucash
20:08:40 *** jralls has quit IRC
20:09:47 *** jralls has joined #gnucash
20:09:48 *** gncbot sets mode: +o jralls
20:09:57 *** thomassgn has quit IRC
20:19:32 *** thomassgn has joined #gnucash
20:44:31 *** GabrieleV_ has joined #gnucash
20:45:00 *** GabrieleV has quit IRC
20:45:00 *** GabrieleV_ is now known as GabrieleV
21:16:39 *** ErKa has quit IRC
21:22:28 *** ErKa has joined #gnucash
21:30:33 *** noneshallpass has quit IRC
21:32:05 *** comcry has joined #gnucash
22:03:46 *** jralls has quit IRC
22:04:25 *** jralls has joined #gnucash
22:04:25 *** gncbot sets mode: +o jralls
22:29:32 *** GabrieleV_ has joined #gnucash
22:29:33 *** GabrieleV has quit IRC
22:29:33 *** GabrieleV_ is now known as GabrieleV
22:31:24 *** jralls has quit IRC
22:32:16 *** jralls has joined #gnucash
22:32:16 *** gncbot sets mode: +o jralls
23:14:19 *** AndreeeCZ__ has joined #gnucash
23:29:33 *** GabrieleV has quit IRC
23:29:33 *** GabrieleV_ has joined #gnucash
23:29:37 *** GabrieleV_ is now known as GabrieleV
23:30:42 *** AndreeeCZ__ has quit IRC
23:53:16 *** benjamin-agaric has quit IRC
23:53:40 *** benjamin-agaric has joined #gnucash