2013-10-01 GnuCash IRC logs

00:27:32 *** fell has quit IRC
02:55:23 *** aqua___ has joined #gnucash
03:16:38 *** mishehu has quit IRC
03:26:29 *** aqua_ has joined #gnucash
03:33:16 *** aqua___ has quit IRC
03:38:54 *** Krzysiek_K has quit IRC
04:10:01 *** john has quit IRC
04:11:04 *** aqua__ has joined #gnucash
04:12:34 *** GabrieleV_ has joined #gnucash
04:13:20 *** aqua_ has quit IRC
04:15:12 *** GabrieleV has quit IRC
04:15:12 *** GabrieleV_ is now known as GabrieleV
04:19:42 *** fell has joined #gnucash
04:19:43 *** gncbot sets mode: +o fell
05:55:53 *** aqua__ has quit IRC
06:06:24 *** Topcat has joined #gnucash
06:08:20 *** Topcat has quit IRC
06:58:22 *** Jimraehl1 has left #gnucash
07:01:10 *** fell_ has joined #gnucash
07:01:10 *** gncbot sets mode: +o fell_
07:02:38 *** Jimraehl1 has joined #gnucash
07:06:21 *** fell has quit IRC
08:35:24 *** aqua___ has joined #gnucash
08:37:03 *** fell_ is now known as fell
08:53:00 *** fuzzybunny69y has quit IRC
09:18:59 *** fuzzybunny69y has joined #gnucash
09:36:09 *** gjanssens-afk is now known as gjanssens
10:09:18 *** aqua___ has quit IRC
10:20:24 *** benoitg has joined #gnucash
10:22:02 *** ggherdov has quit IRC
10:30:36 *** ErKa has joined #gnucash
10:45:58 *** ErKa has quit IRC
10:50:54 *** ggherdov has joined #gnucash
10:54:16 *** aqua___ has joined #gnucash
10:57:11 *** fuzzybunny69y has quit IRC
11:22:52 *** ErKa has joined #gnucash
11:33:36 *** aqua___ has quit IRC
11:44:00 *** aqua___ has joined #gnucash
11:46:08 *** ErKa has quit IRC
11:47:56 *** john has joined #gnucash
11:47:57 *** gncbot sets mode: +o john
11:55:50 <gjanssens> Hey John
11:56:05 <john> Hi, Geert.
11:56:07 <gjanssens> I got gnucash to build from git on OS X
11:56:16 <john> Yay!
11:56:20 <gjanssens> but the app seems pretty unstable :(
11:56:31 <gjanssens> And no sign of working preferences :(
11:56:52 <john> I was worried about the preferences.
11:57:00 <gjanssens> I really wonder if there's some undocumented extra steps to take
11:57:08 <john> Or rather about gsettings.
11:57:13 <gjanssens> The GSettings docs only mention there's a native backend for OS X
11:57:22 <gjanssens> But nothing else is mentioned
11:57:28 <john> What instability problems do you have?
11:57:40 <gjanssens> When I open a file, the app crashes
11:57:50 <gjanssens> New File... does nothing
11:58:02 <john> That could be a problem, yes.
11:58:58 <john> If you open Applications:Utilities:Console.app, you'll find crash reports with stack traces.
12:02:26 <gjanssens> I found those stack traces.
12:02:30 <john> You'll probably want to enable debugging and rebuild Gnucash and Glib so you can get a better read on what's wrong. Add a line to .jhbuildrc-custom "_debug='debug'" and start the shell.
12:03:02 <john> Note also that once you're inside the shell, you can do anything just like in Linux.
12:03:26 <gjanssens> Do you mean jhbuild shell ?
12:03:41 <john> Yes, sorry, jhbuild shell
12:04:50 <john> _debug='debug' changes the CFLAGS etc., so just visit each source dir that you want symbols for, rerun configure with the same args from config.log, make && make install.
12:06:27 <john> There's one thing about the debugger: If you try to initiate the Gnucash run from inside it, it eats characters and runs really slow. So start gnucash separately and attach the process in the debugger.
12:06:57 <gjanssens> Yes, I had run into that weird behaviour already...
12:07:07 <gjanssens> Currently rebuilding glib and gnucash
12:07:14 <john> OK.
12:08:13 *** ErKa has joined #gnucash
12:08:17 <john> I was about to reply to your git question in mail. I think you've got either a very old git or there's something else wrong with it. git clone foo -b trunk works fine for me with git 1.7.1 on OSX 10.6.
12:08:34 *** aqua___ has quit IRC
12:09:35 <gjanssens> The stack traces show gnucash dies on an Illegal Instruction.
12:09:47 <gjanssens> The last call in gnucash code is gnc_plugin_add_actions
12:10:01 <gjanssens> From there it goes off into gtk and never returns
12:10:16 <gjanssens> Yes, my git is apparently git 1.6.x
12:10:41 <gjanssens> I thought I installed git 1.8.x using the osx installer I referred to
12:10:52 <john> I thought you'd just gotten a new one from google code.
12:11:02 <gjanssens> But now I'm not so sure. Perhaps it didn't run because my system is too old
12:11:16 <gjanssens> The one on google requires snow leopard or lion
12:11:29 <gjanssens> I always forget which versions that are.
12:11:35 <john> I thought you were on Snow Leopard -- that's 10.6.
12:11:39 <gjanssens> I'm 10.6
12:11:48 <gjanssens> So, ok, snow leopard
12:12:02 <gjanssens> I'll try the installer again
12:12:35 <john> Maybe it's a path issue. I think the Google code installer puts it in /usr/local; maybe you have another one earlier in your path.
12:17:01 <warlord> I thought xcode installed an older git in /usr/bin?
12:17:01 <gjanssens> Definitly a path issue
12:17:15 <gjanssens> I have git 1.6.1 in /usr/local/bin
12:17:34 <gjanssens> and git 1.8.7 gets install in /usr/local/git/
12:17:37 <warlord> (on 10.8 I have git 1.7 in /usr/bin, installed from Apple XCode)
12:17:46 <john> Derek, that's only Xcode4 and later.
12:17:55 <gjanssens> There's no git installed in /usr/bin
12:18:12 <gjanssens> But where the heck did the git in /usr/local/bin come from ?
12:18:50 <john> You must have installed it at some point.
12:19:06 <gjanssens> In 2009 it seems
12:19:41 <gjanssens> What's the usual way to uninstall things in OS X ?
12:19:47 <gjanssens> I don't see an uninstaller
12:19:56 <gjanssens> (hi warlord btw)
12:21:02 <john> If it's in /usr/local, you'll probably have to do it the old fashioned way: rm /usr/local/bin/git* etc.
12:21:05 <warlord> Could be something from macports?
12:21:11 <warlord> (hi gjanssens)
12:21:41 <john> No, MacPorts installs everything in /opt/local (and Fink installs everything in /sw).
12:21:55 <warlord> To uninstall a Mac App you drag it to the trash bin. But /usr/local means it was installed some other way and therefore needs to be uninstalled via that same "other way"
12:22:04 <warlord> Hmm... Are you using homebrew, then?
12:22:25 <warlord> (which uses /usr/local/Cellar, but links into /usr/local)
12:22:47 <gjanssens> Nope, none of those...
12:23:02 <warlord> Maybe you installed it by hand-compiling? ;)
12:23:52 <gjanssens> LOL Given the trouble I already have recompiling gnucash with John's support I doubt I'd manage to build git on my own
12:24:00 <gjanssens> But no matter, I'll just rm it
12:24:12 <john> I don't think Homebrew was around in 2009.
12:24:30 <john> Oh come on. git is much easier to build that Gnucash.
12:24:48 <gjanssens> Ok, rm -fr /usr/local/libexec/git-core gives me permission denied
12:25:04 <gjanssens> Easier to build ? Perhaps, but I obviousle never tried
12:25:39 <gjanssens> sudo to the rescue ;)
12:25:56 <john> Oy, yeah, /usr/local belongs to root by default. I always change that. ;-). Use sudo.
12:28:19 <gjanssens> Done, git --version now gives me 1.8.3.2
12:30:00 <john> Yay.
12:30:27 <john> How are the glib and gnucash debug builds coming?
12:31:08 <gjanssens> Both have been rebuilt
12:31:25 <gjanssens> I just ran gnucash-launcher again and made it crash
12:31:44 <john> Since the crash is in gtk, you might want a debug build of that, too.
12:33:11 <gjanssens> At first sight the stack trace looks identical
12:33:18 <gjanssens> Should I see more details ?
12:33:39 <gjanssens> (Rebuilding gtk in the background)
12:34:17 <john> Yeah, you should get a line number in gnc-plugin.c.
12:35:35 <john> Though the major use would be the gtk call, which you probably already know.
12:37:51 *** Linuturk has quit IRC
12:41:27 <gjanssens> Just to be sure: here is an excerpt from the stack trace:
12:41:30 <gjanssens> 24 libgtk-quartz-2.0.0.dylib 0x026d15de gtk_ui_manager_ensure_update + 47
12:41:32 <gjanssens> 25 libgncmod-gnome-utils.dylib 0x002ff0ae gnc_plugin_add_actions + 610
12:41:53 <gjanssens> The +610 doesn't seem to correspond to a line number
12:42:04 <gjanssens> Should I be looking elsewhere ?
12:42:57 <warlord> the +610 means "610 bytes into the function".. Meaning the pc register points to 610 bytes past the symbol start address.
12:43:26 <john> No, it should be on that line, right after the IP offset.
12:43:43 <john> (IP == instruction pointer)
12:44:15 <warlord> (PC == Program Counter -- I think I'm using it in the same way you're using IP)
12:44:29 <john> Yeah.
12:44:42 <gjanssens> Then it looks to me the debug addition didn't do it
12:45:07 <gjanssens> I had just added this to the end of the .jhbuildrc-custom file, is that ok ?
12:45:16 <john> Right. It didn't find the symbols.
12:46:16 <john> Should be. Run `echo $CFLAGS` and make sure that it's -o0 -ggdb3 instead of -o2.
12:46:52 <john> Also, check the output from compiling and make sure that it actually rebuilt everything. You might have to make clean.
12:47:15 <warlord> is it -o and not -O?
12:47:25 <john> Yeah, O.
12:47:29 <gjanssens> $ echo $CFLAGS
12:47:30 <gjanssens> -arch i386 -I/Developer/SDKs/MacOSX10.5.sdk/usr/include -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
12:47:47 <gjanssens> There is no debug option at all
12:47:49 <warlord> Yeah, I don't see -O0 -ggdb3 in there.
12:48:10 <john> What's really strange is that there's no optimization flag at all.
12:48:45 <john> But put the _debug='debug' before the call to setup_sdk().
12:49:20 <john> And check CFLAGS before trying to compile again.
12:53:56 <gjanssens> No change
12:55:34 *** aqua___ has joined #gnucash
12:55:46 <gjanssens> I mean, I put _debug='debug' inbetween the modules line and the setup_sdk line
12:56:13 <gjanssens> but after jhbuild shell the CFLAGS are still the same
12:56:27 <john> Sorry, my fault. _debug='debug' is just in my overly-complex .jhbuildrc-custom. What you need is setup_debug() *after* setup_sdk().
12:57:02 <john> The underscore in _debug should have told me that.
12:58:39 <gjanssens> Better :) I'll start rebuilding glib, gtk and gnucash again
13:01:57 <gjanssens> Ok, I messed up when trying to rebuild gtk (used the configure line from glib)
13:02:14 <gjanssens> What's the easiest way to recompile that package from scratch
13:02:33 <gjanssens> IIRC there's something as jhbuild buildone ?
13:04:11 <john> Yes, jhbuild buildone --force --clean gtk+. You can do the same with glib and gnucash. Just remember to quit the shell, or the results can be weird.
13:05:06 <gjanssens> Hmm, my time is up for tonight. Our guests have arrived.
13:05:14 <gjanssens> I'll pick it up tomorrow
13:05:42 <john> OK, but I won't be around tomorrow. It's Habitat day.
13:08:47 *** aqua_ has joined #gnucash
13:12:13 *** aqua__ has joined #gnucash
13:13:25 *** aqua___ has quit IRC
13:19:55 *** aqua_ has quit IRC
13:40:10 *** mishehu has joined #gnucash
13:41:29 <PaulFertser> Tried CSV import, worked almost fine. Funny thing is that here banks use dot as a decimal separator but normal locale setting is comma, hence Gnucash can't parse numbers unless started in a foreign locale. I'd say having an option to force decimal separator to be dot would be nice in the CSV import window.
13:51:37 <john> OK, but that won't happen from a posting here. Please file a bug.
13:56:36 <warlord> It's too bad the code didn't effectively duplicate the work done in the QIF importer to figure out the format..
14:09:53 *** aqua__ has quit IRC
14:12:21 *** Krzysiek_K has joined #gnucash
14:14:05 *** KaiForce has joined #gnucash
14:14:55 *** foo has joined #gnucash
14:15:01 *** foo is now known as Gokee2
14:17:14 <Gokee2> Hey guys, I am printing checks and awhile ago I noticed my check started getting printed with the stuff in the wrong place. I took a look at my .chk files and my auto-save copy is much different then whats currently in place. For example its got long numbers and an extra section called [Check Positions]. Is this something that gnucash auto-adds or something?
14:17:31 *** Krzysiek_K has left #gnucash
14:29:56 <PaulFertser> john: sure, https://bugzilla.gnome.org/show_bug.cgi?id=709220 , thank you in advance
14:32:24 <john> PaulFerster: You're welcome, except don't get your hopes up. We have an immensely long queue of bugs and enhancements and few developer hours… and the guy who wrote the CSV importer hasn't been around much.
14:36:18 <Gokee2> Also anyone happen to know why 50mm on the grid does not match 5cm on my ruler?
14:37:27 <john> Gokee2: Probably not here. Try the users-list.
14:41:28 <gjanssens> Got some unexpected time free to work on the gnucash/os X thing...
14:41:46 <gjanssens> john, you mentioned attaching gdb after gnucash is running
14:41:52 <gjanssens> How do I do that exactly ?
14:44:11 <john> 'gnucash-launcher &', note the pid, './libtool --mode=execute gdb src/bin/gnucash-bin', once you have the prompt 'attach <pid>'
14:46:09 <gjanssens> Ok
14:46:47 <gjanssens> This way I can only start debugging once gnucash is in its main loop, right ?
14:47:16 <john> Depends on how quick you are at starting gdb. ;-)
14:47:54 <john> It actually takes gnucash a long time to get all of its modules loaded.
14:48:37 <john> You can also save some time by starting gdb in the background first, then you only have to say %1 instead of ./libtool...
14:51:13 <Gokee2> john, Ah I figured it out. Its all done in points on the grid, I have to convert everything.
14:51:32 <john> Gokee2: Cool.
14:56:16 <gjanssens> 0 libobjc.A.dylib 0x979e84fd _objc_error + 116
14:56:18 <gjanssens> 1 libobjc.A.dylib 0x979e8533 __objc_error + 52
14:56:19 <gjanssens> 2 libobjc.A.dylib 0x979e683a _freedHandler + 58
14:56:21 <gjanssens> 3 libgtkmacintegration.2.dylib 0x0238d9eb cocoa_menu_item_add_submenu + 1460
14:56:22 <gjanssens> 4 libgtkmacintegration.2.dylib 0x0238ee66 parent_set_emission_hook + 867
14:57:05 <gjanssens> That's the head of the stack trace. So it seems the gkt mac integration is freeing memory in the wrong spot
14:57:37 <john> Poop.
14:58:09 <john> Bet ot
15:00:43 <gjanssens> Well to rule out my code is causing this, I'm rebuilding current trunk now
15:00:45 <john> Oops. I'm still working on the patch for bloody ORBit.
15:01:28 <gjanssens> *IF* I can get gsettings to work, you can drop ORBit. It's a gconf requirement
15:01:37 <gjanssens> Not there yet though...
15:02:02 <john> Yeah, I know. That's not going to help for releasing 2.5.6 this weekend.
15:02:21 <john> Nor for eventually releasing 2.4.14, for that matter.
15:02:47 <john> Nor even for fixing whatever memory problem is blowing up.
15:03:27 <john> And it's time to take my wife to lunch. Back in an hour or so.
15:09:28 <gjanssens> Ok, enjoy your meal
15:09:45 <gjanssens> The trunk build finished, but is totally useless
15:10:12 <gjanssens> Obviously my quick hacks to get ORBit building are bad
15:10:26 <gjanssens> GConf constantly crashes...
15:11:27 <gjanssens> Unless you depend on new features in recent glib, you may consider working from glib 2.28 for 2.4.14...
15:22:20 *** KaiForce has quit IRC
15:22:20 *** ggherdov has quit IRC
15:22:20 *** Jimraehl1 has quit IRC
15:22:20 *** GabrieleV has quit IRC
15:22:20 *** mikee_ has quit IRC
15:22:20 *** stl has quit IRC
15:22:20 *** johey has quit IRC
15:22:20 *** xnox has quit IRC
15:22:20 *** Gokee2 has quit IRC
15:22:20 *** john has quit IRC
15:22:20 *** benoitg has quit IRC
15:22:20 *** fell has quit IRC
15:22:20 *** ryanakca has quit IRC
15:22:20 *** gjanssens has quit IRC
15:22:20 *** kpreid has quit IRC
15:22:20 *** wizkid238 has quit IRC
15:22:20 *** uXus has quit IRC
15:22:20 *** Sk1d has quit IRC
15:22:20 *** talso has quit IRC
15:22:20 *** kim27 has quit IRC
15:22:20 *** warlord has quit IRC
15:22:20 *** Mer|in has quit IRC
15:22:20 *** kenyon has quit IRC
15:22:20 *** blathijs has quit IRC
15:26:39 *** warlord has joined #gnucash
15:26:39 *** gjanssens has joined #gnucash
15:26:39 *** kpreid has joined #gnucash
15:26:39 *** KaiForce has joined #gnucash
15:26:39 *** ggherdov has joined #gnucash
15:26:39 *** benoitg has joined #gnucash
15:26:39 *** Jimraehl1 has joined #gnucash
15:26:39 *** GabrieleV has joined #gnucash
15:26:39 *** wizkid238 has joined #gnucash
15:26:39 *** uXus has joined #gnucash
15:26:39 *** mikee_ has joined #gnucash
15:26:39 *** Sk1d has joined #gnucash
15:26:39 *** stl has joined #gnucash
15:26:39 *** xnox has joined #gnucash
15:26:39 *** johey has joined #gnucash
15:26:39 *** irc.eagle.y.se sets mode: +o warlord
15:26:39 *** gncbot sets mode: +o warlord
15:26:40 *** gncbot sets mode: +o gjanssens
15:27:23 *** wizkid238 has quit IRC
15:27:32 *** benoitg has quit IRC
15:27:34 *** warlord has quit IRC
15:29:13 *** Sk1d has quit IRC
15:41:05 *** kenyon has joined #gnucash
16:00:36 *** ryanakca has joined #gnucash
16:07:10 *** blathijs has joined #gnucash
16:07:21 *** ryanakca has quit IRC
16:08:17 *** talso has joined #gnucash
16:18:42 *** Mer|in has joined #GnuCash
16:19:02 *** ryanakca has joined #gnucash
16:19:42 *** wizkid238 has joined #gnucash
16:31:25 *** kim27 has joined #gnucash
17:03:57 *** john has joined #gnucash
17:03:58 *** gncbot sets mode: +o john
17:04:35 <john> OK, I'm back. Sounds like I need to finish up the somewhat more comprehensive patch to ORBit2. ;-)
17:12:13 *** KaiForce has quit IRC
17:16:52 <gjanssens> :)
17:17:19 <gjanssens> I talked on the gtk irc channel about gsettings on Windows
17:17:33 <gjanssens> They gave me some useful tests to run
17:17:51 <gjanssens> But not today anymore. It's bedtime here
17:17:54 <gjanssens> Good night
17:18:01 *** gjanssens is now known as gjanssens-afk
17:31:58 *** mishehu has quit IRC
18:03:28 *** fuzzybunny69y has joined #gnucash
18:33:01 *** mklassen has joined #gnucash
19:21:10 *** warlord has joined #gnucash
19:21:10 *** gncbot sets mode: +o warlord
20:27:01 *** ErKa has quit IRC
20:50:27 *** ErKa has joined #gnucash
21:23:10 *** mishehu has joined #gnucash
21:27:32 *** ErKa has quit IRC
22:16:23 *** twunder has joined #gnucash
22:18:00 *** twunder has quit IRC
22:19:32 *** twunder has joined #gnucash
22:36:39 *** twunder has quit IRC
22:37:46 *** twunder has joined #gnucash
22:43:05 *** twunder has quit IRC