2014-09-29 GnuCash IRC logs

00:00:35 *** hhn10 has quit IRC
00:16:33 *** fell_ has quit IRC
00:35:02 *** jralls has joined #gnucash
00:35:03 *** gncbot sets mode: +o jralls
00:45:04 *** jralls has quit IRC
01:12:38 *** ErKa has quit IRC
01:46:25 *** Krzysiek_K has joined #gnucash
01:56:00 *** uXus has quit IRC
02:00:27 *** uXus has joined #gnucash
02:06:11 *** O01eg has quit IRC
02:10:48 *** MechtiIde has joined #gnucash
02:29:43 *** wol has joined #gnucash
02:31:47 *** GabrieleV has quit IRC
02:31:47 *** GabrieleV_ has joined #gnucash
02:31:52 *** GabrieleV_ is now known as GabrieleV
02:36:44 *** jralls has joined #gnucash
02:36:45 *** gncbot sets mode: +o jralls
02:46:49 *** jralls has quit IRC
03:08:33 *** MechtiIde has quit IRC
03:26:18 *** fingal has joined #gnucash
03:27:02 <fingal> hi - Read the FAQ but still have a question.
03:27:52 <fingal> Can I install the latest Gnucash 2.6.4 over 2.4.13
03:27:53 <fingal> ?
03:28:14 <fingal> Or are there significant changes that an uninstall is necessary?
03:29:52 *** fingal has quit IRC
03:42:11 *** gjanssens has joined #gnucash
03:42:11 *** gncbot sets mode: +o gjanssens
04:30:09 *** AndreeeCZ has joined #gnucash
04:31:27 *** Krzysiek_K has quit IRC
04:37:46 *** jralls has joined #gnucash
04:37:47 *** gncbot sets mode: +o jralls
04:41:05 *** Krzysiek_K has joined #gnucash
04:47:55 *** jralls has quit IRC
04:48:06 *** wol has quit IRC
06:18:49 *** Jimraehl1 has left #gnucash
06:19:07 *** Jimraehl1 has joined #gnucash
06:39:43 *** jralls has joined #gnucash
06:39:43 *** gncbot sets mode: +o jralls
06:49:52 *** jralls has quit IRC
07:01:02 *** fell_ has joined #gnucash
07:01:03 *** gncbot sets mode: +o fell_
07:13:57 *** wol has joined #gnucash
07:24:18 *** himaxx has joined #gnucash
07:29:12 *** himaxx has quit IRC
07:43:28 *** warlord has quit IRC
07:53:50 *** fell__ has joined #gnucash
07:53:50 *** gncbot sets mode: +o fell__
07:59:01 *** fell_ has quit IRC
08:06:56 *** mentalstring has joined #gnucash
08:07:07 *** andy has quit IRC
08:07:18 <mentalstring> hi
08:08:05 <mentalstring> the MacOSX builds for 2.6.4 are missing - anyone who can look into that?
08:11:26 <mentalstring> scratch that - all links on http://gnucash.org to download 2.6.4 don't seem to work
08:15:15 *** mentalstring has quit IRC
08:18:24 *** wol has quit IRC
08:31:17 <gjanssens> mentalstring was gone fast...
08:31:40 <gjanssens> For others lurking here: the directory apparently was still staged on sourceforge
08:31:51 <gjanssens> I have now set it free so the binaries can be downloaded
08:43:28 *** andy has joined #gnucash
08:45:56 *** Gbarr has quit IRC
08:49:50 *** wol has joined #gnucash
08:50:12 *** Gbarr has joined #gnucash
08:54:29 *** mlncn has joined #gnucash
08:55:13 *** ErKa has joined #gnucash
08:55:50 *** warlord has joined #gnucash
08:55:51 *** gncbot sets mode: +o warlord
08:58:50 *** mlncn-agaric has joined #gnucash
09:01:11 <warlord> .
09:04:42 *** mlncn has quit IRC
09:11:21 *** Gbarr1 has joined #gnucash
09:16:32 *** Gbarr has quit IRC
09:18:11 *** wol has quit IRC
09:21:26 *** lmat has joined #gnucash
09:22:00 <lmat> @op
09:22:00 <gncbot> lmat: Error: You don't have the #gnucash,op capability. If you think that you should have this capability, be sure that you are identified before trying again. The 'whoami' command can tell you if you're identified.
09:50:06 *** mlncn-agaric has quit IRC
09:56:23 *** wol has joined #gnucash
10:12:02 *** O01eg has joined #gnucash
10:18:06 *** Krzysiek_K has quit IRC
10:24:15 *** ErKa has quit IRC
10:24:30 *** jralls has joined #gnucash
10:24:30 *** gncbot sets mode: +o jralls
10:26:52 *** Krzysiek_K has joined #gnucash
10:32:36 <jralls> lmat: Well, it was addressed by fixing the deprecated functions when building against libdbi-0.9, but if you want to build commits earlier than that you'll have to either turn off the deprecation warning (assuming you can) or turn off -Werror.
10:32:37 <gncbot> jralls: Sent 11 hours and 49 minutes ago: <lmat> I remember the problem. It has to do with a scm call. The test Option DB Load from KVP (test-option-util.c) fails, and I'm not sure
10:40:19 <jralls> lmat: Huh? There is no 'test-option-util.c' and the string 'test option db load from kvp' doesn't appear anywhere. Can you reproduce the failure and get a better indication of the failure?
10:45:07 <lmat> jralls: Sure there is and it does. http://sprunge.us/OOfZ
10:45:19 <lmat> jralls: I can reproduce it reliably.
10:45:22 <warlord> jralls: there is: ./src/app-utils/test/test-option-util.c
10:45:46 <lmat> jralls: (I guess you were looking in libqof)
10:47:38 <lmat> oh hey, there's a release 2.6.4 now! That should compile against new libdbi?
10:47:57 <lmat> oh... it was 27th... if I would have just git fetch;ed, I would have had it last night when I wanted it. Oh well
10:50:08 *** lwells has joined #gnucash
10:50:29 <jralls> Nope, I was looking in 'maint' instead of 'master'.
10:53:06 *** mlncn-agaric has joined #gnucash
10:53:47 <jralls> Anyway, I don't see any scheme calls in there, it's a GLib unit test file. What failed?
10:55:07 <jralls> 2.6.4 is a tag on 'maint', so if you'd just built against 'maint' you would have been fine. IIRC the libddbi-0.9 stuff was fixed back in May.
10:55:31 *** fell__ is now known as fell
11:04:51 <lmat> let's see
11:05:30 <lmat> I think yesterday I was trying to build 2.6.3 (March 30), so that makes sense
11:12:13 *** lmat has quit IRC
11:16:04 *** lmat has joined #gnucash
11:16:32 <lmat> jralls: The error I'm getting now is "Could not locate module gnucash/app-utils interface v.0"
11:16:45 <lmat> Earlier I traced it to a scm kvp ...thing
11:17:25 *** wol has quit IRC
11:19:31 <jralls> lmat: That's not enough for me to understand the problem. Could you put the last couple of pages of output somewhere?
11:20:22 <lmat> yup
11:20:54 <lmat> here's cd src/app-utils; make check 2>&1; http://sprunge.us/jVhH
11:20:54 <lmat> brb
11:20:55 *** lmat has quit IRC
11:22:14 *** wol has joined #gnucash
11:22:21 *** lmat has joined #gnucash
11:25:07 <lmat> If you want to reproduce, I'll be happy to send you a patch representing my current work, too.
11:34:37 <jralls> lmat: OK. gnc_option_db_lookup_boolean_option is one of the horrid bits where we bounce back-and-forth between C and Scheme. As a first guess you changed the C API somewhere and didn't change the requisite '.i' file to tell SWIG about it.
11:36:35 *** lwells has quit IRC
11:36:55 *** gjanssens has quit IRC
11:37:02 <lmat> jralls: Ah, I'll take a look at that! Thanks for the hint!
11:37:41 <jralls> I guess the bit about "could not load module" came when you tried to debug it, and it's because you didn't set up the environment right. Look at the GNC_TEST_DEPS in app-utils/test/Makefile.am for a list of what you need to set.
11:38:58 <lmat> jralls: I haven't run a debugger on gnucash. The error comes when I cd src/app-utils/test; ./test-app-utils; (or one of the files in test/.libs/)
11:39:25 <jralls> Same deal. You still need to set up the environment.
11:39:39 <lmat> jralls: Ahh.
11:39:50 *** gjanssens has joined #gnucash
11:39:50 *** gncbot sets mode: +o gjanssens
12:02:49 *** mlncn-agaric has quit IRC
12:03:20 *** mlncn-agaric has joined #gnucash
12:05:17 <lmat> I'm trying to get the app-utils-test to run with a bit more verbosity. make check; doesn't put out much, so I decided I would run the test "directly" (test/test-app-utils). I modified the file (test/test-app-utils) around line 220 by adding the following: http://sprunge.us/PBSW
12:06:15 <lmat> I receive the error "... lt-'test-app-utils':5272): gnc.module-WARNING **: Could not locate module gnucash/app-utils interface v.0\nTrace/breakpoint trap (core dumped)"
12:06:56 <lmat> Oh yeah, I got those --gnc-module-dir (and othe directives) from app-utils/test/Makefile.am in GNC_TEST_DEPS.
12:11:23 *** linas__ has quit IRC
12:11:25 <lmat> I just added some traces to the Makefile (itself) and echoed a few things...I'll try using some of that. It looks a good deal different than what I did.
12:11:41 *** linas__ has joined #gnucash
12:13:00 *** ErKa has joined #gnucash
12:24:16 <jralls> 'func-exec-program'? The trick with the params in Makefile.am is to pass them to src/gnc-test-env and then export each of the variables that it displays. After that you can run the test programs directly from the command line or debug them.
12:25:52 <lmat> jralls: oh
12:26:47 <lmat> I found test-app-utils.c which segfaults on 'scm_boot_guile...'
12:31:23 *** MechtiIde has joined #gnucash
12:31:31 *** mlncn-agaric has quit IRC
12:33:26 *** mlncn-agaric has joined #gnucash
12:34:08 *** ErKa has quit IRC
12:34:52 <lmat> hey, there's a better message. I followed that advice and get "qof-Message: ... libgncmod-backend-dbi.dylib: cannot open shared object file: no such..."
12:34:56 <lmat> That's something I can investigate :)
12:35:38 <lmat> oh, it's looking in the build directory for that libgncmod-backend-dbi... I guess I'll make install; ?
12:36:58 <jralls> lmat: You probably don't want to install. The test is supposed to use the build dir so that it's testing the current build, not the GC you use for your own accounting.
12:37:28 <jralls> That said, you did build *all* of GnuCash, right?
12:37:53 <lmat> jralls: I think so, but I'll check again.
12:38:12 <lmat> yup, cd gnucash; make; did very little
12:39:12 <jralls> So what shlib was it not able to find?
12:39:44 <lmat> hmmm, let's see
12:40:23 <lmat> jralls: This is the error I got... http://sprunge.us/TKOe
12:40:48 <lmat> This I achieved by "setting up the environment" then calling test/.libs/lt-test-app-utils;
12:41:01 <lmat> I've modified the test .c file by adding some printf()s.
12:45:57 <jralls> That's an installed path. Since you're on a Mac you need to `export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH` in your test setup.
12:47:49 <jralls> Oops, make that `export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DYLD_LIBRARY_PATH`.
12:48:57 <lmat> jralls: I'm using GNU/Linux. After doing make install;, the expected library files (*.la and *.so) are in place, and the error went back to the old segfault.
12:49:48 <jralls> If you're on Linux something's messed up: dylib is only for Macs.
12:49:56 <lmat> jralls: yeah...
12:51:30 <jralls> The segfault means that you're executing the test all the way. Try running it with the --verbose flag or in the debugger to get more details on the failure.
12:51:59 <lmat> aye
12:59:21 *** himaxx has joined #gnucash
13:01:51 *** MechtiIde has quit IRC
13:19:02 *** MechtiIde has joined #gnucash
13:22:28 *** skomorokh_ has quit IRC
13:23:53 <MechtiIde> For Translation: Where can I find the words for the buttons?
13:33:21 <fell> Mechtilde: which buttons?
13:33:54 <MechtiIde> "Forward" and "Back for example in the Dialogs
13:35:32 <fell> in https://github.com/Gnucash/gnucash/blob/maint/po/de.po ?
13:36:12 <fell> That should be our official translation.
13:36:22 <MechtiIde> There I can't find it
13:36:34 <MechtiIde> that's why I ask
13:36:36 <fell> Usually I run the program to see them
13:37:58 <fell> Ok, there might be a few standard buttons imported from gtk*
13:39:09 *** ErKa has joined #gnucash
13:47:07 *** wol has quit IRC
13:52:18 *** StuM has quit IRC
14:04:51 *** AndreeeCZ has quit IRC
14:54:32 <lmat> How do I disable optimization when compiling?
14:54:56 <lmat> I'm using a debugger and stepping through code, and I think I'm seeing a lot of branch prediction (?) so that I step here, then go back and step there...
15:13:52 *** MechtiIde has quit IRC
15:21:00 <lmat> okay, got it!
15:21:12 <lmat> Environment variable CFLAGS and CXXFLAGS
15:21:25 *** AndreeeCZ has joined #gnucash
15:42:55 <lmat> I was able to confirm that the error happens on gnucash/master as well if I try to run the application directly. Make check, however, works on gnucash/master. This tells me that I'm not reproducing the environment properly :(
15:59:39 <lmat> Okay, I can now run the test directly. I added an echo to the Makefile (to get the TEST_ENVIRONMENT), copy-pasted that into a script that runs the test.
16:00:44 *** fell has quit IRC
16:05:53 *** fell has joined #gnucash
16:05:53 *** gncbot sets mode: +o fell
16:18:59 *** jralls has quit IRC
16:20:20 <lmat> I figured out the problem: scheme code was trying to get the kvp_value type of a null pointer.
16:20:43 <lmat> I hadn't provided an appropriately padded little room...
16:41:01 *** cigarshark has joined #gnucash
16:45:23 *** jralls has joined #gnucash
16:45:23 *** gncbot sets mode: +o jralls
16:49:14 *** lmat has quit IRC
16:50:38 *** ErKa has quit IRC
16:57:23 *** ErKa has joined #gnucash
17:52:12 *** gjanssens has quit IRC
17:59:23 *** jralls has quit IRC
18:29:17 *** mlncn-agaric has quit IRC
18:29:31 *** mlncn-agaric has joined #gnucash
18:38:30 *** warlord has quit IRC
18:42:04 *** mlncn-agaric has quit IRC
18:45:38 *** AndreeeCZ has quit IRC
18:56:50 *** lmat has joined #gnucash
18:57:25 <lmat> whoa, gnome told me that warlord is gone, but I didn't believe it!
19:10:06 *** mlncn-agaric has joined #gnucash
19:11:09 *** lmat has quit IRC
19:19:35 *** linas__ has quit IRC
19:29:22 *** mlncn-agaric has quit IRC
19:41:24 *** ErKa has quit IRC
19:45:15 *** mlncn-agaric has joined #gnucash
20:05:43 <cigarshark> if gnucash forces me to do double-entry when i record a transaction, how is it possible that my trial balance doesn't match up?
20:06:13 <cigarshark> note: I have some stock accounts. is the floating value of the stocks causing this? is there any other possibility?
20:09:59 *** lmat has joined #gnucash
20:20:26 *** mlncn-agaric has quit IRC
20:30:48 *** warlord has joined #gnucash
20:30:48 *** gncbot sets mode: +o warlord
20:30:53 *** hhn10 has joined #gnucash
20:45:52 *** mlncn-agaric has joined #gnucash
20:54:44 *** ErKa has joined #gnucash
21:00:47 *** lmat has quit IRC
21:09:04 *** ErKa has quit IRC
21:21:08 *** StuM has joined #gnucash
21:29:01 *** jeremy has joined #gnucash
21:37:47 *** ErKa has joined #gnucash
21:47:39 *** cigarshark has quit IRC
21:59:28 *** jralls has joined #gnucash
21:59:28 *** gncbot sets mode: +o jralls
21:59:42 *** jralls has quit IRC
22:00:21 *** jralls has joined #gnucash
22:00:22 *** gncbot sets mode: +o jralls
22:01:54 *** O01eg has quit IRC
22:06:26 *** ErKa has quit IRC
22:18:09 *** O01eg has joined #gnucash
22:25:20 <jralls> @tell lmat I guess you figured it out, since you uploaded a new patch to BZ. I'll give it a look and a try in the morning (California's morning, not yours! ;-) )
22:25:20 <gncbot> jralls: The operation succeeded.
22:30:31 *** fell has quit IRC
22:46:04 *** jralls has quit IRC
23:14:04 *** O01eg has quit IRC
23:15:47 *** O01eg has joined #gnucash
23:20:29 *** fc101 has quit IRC
23:40:59 *** hhn10 has quit IRC
23:47:10 *** jralls has joined #gnucash
23:47:10 *** gncbot sets mode: +o jralls
23:57:22 *** jralls has quit IRC