2019-09-16 GnuCash IRC logs

00:11:39 *** Mechtilde has joined #gnucash
00:57:36 *** marusich has quit IRC
01:11:09 *** Agfarmer18 has joined #gnucash
01:53:28 *** gour has joined #gnucash
01:53:28 *** ChanServ sets mode: +v gour
02:10:51 *** Mechtilde has quit IRC
02:14:12 *** fabior has joined #gnucash
02:15:40 *** gour has quit IRC
02:29:29 *** Agfarmer18 has quit IRC
02:53:23 *** bertbob has quit IRC
02:57:39 *** CarwynNelson has joined #gnucash
02:57:40 *** ChanServ sets mode: +v CarwynNelson
02:57:52 *** Mechtilde has joined #gnucash
03:05:17 *** fabior has quit IRC
03:09:20 *** fell_laptop has joined #gnucash
03:09:20 *** ChanServ sets mode: +o fell_laptop
03:12:20 *** bertbob has joined #gnucash
03:12:20 *** ChanServ sets mode: +v bertbob
03:13:21 *** fell_laptop has quit IRC
03:16:12 *** fabior has joined #gnucash
03:22:29 *** bertbob has quit IRC
03:25:16 *** fell_laptop has joined #gnucash
03:25:16 *** ChanServ sets mode: +o fell_laptop
03:32:00 *** michielu has joined #gnucash
03:32:47 <michielu> quick question: how do I build maint using CMake and getting debugging symbols? I can't find the option and my CFLAGS seem to be ignored.
03:35:10 *** ChanServ sets mode: +v michielu
03:35:42 *** michielu has left #gnucash
03:35:46 *** michielu has joined #gnucash
03:35:46 *** ChanServ sets mode: +v michielu
03:35:58 <michielu> quick question: how do I build maint using CMake and getting debugging symbols? I can't find the option and my CFLAGS seem to be ignored.
03:40:15 *** fabior has joined #gnucash
03:43:00 *** bertbob has joined #gnucash
03:43:01 *** ChanServ sets mode: +v bertbob
03:49:35 *** bertbob has quit IRC
03:59:50 <CarwynNelson> michielu: -DCMAKE_BUILD_TYPE=Debug should do the trick
04:07:37 *** CarwynNelson has quit IRC
04:08:56 *** CarwynNelson has joined #gnucash
04:08:56 *** ChanServ sets mode: +v CarwynNelson
04:09:29 <CarwynNelson> let me know if that worked or not, I can't remember which exact command I used to get debug symbols, and I'm not on that machine right now
04:09:36 <CarwynNelson> so i'm curious to see if that was indeed the one
04:13:00 *** fabior has quit IRC
04:13:47 *** sbluhm has quit IRC
04:17:54 *** sbluhm has joined #gnucash
04:17:54 *** ChanServ sets mode: +v sbluhm
04:18:50 *** bertbob has joined #gnucash
04:18:51 *** ChanServ sets mode: +v bertbob
04:40:47 *** fabior has joined #gnucash
04:42:02 *** Aussie_matt has quit IRC
04:52:39 *** fabior has quit IRC
05:13:52 *** Aussie_matt has joined #gnucash
05:22:10 *** fell_laptop has quit IRC
05:22:18 *** fell_laptop has joined #gnucash
05:22:18 *** ChanServ sets mode: +o fell_laptop
05:30:30 *** fabior has joined #gnucash
05:32:53 *** CarwynNelson has quit IRC
05:35:37 *** fabior has quit IRC
05:40:16 *** CarwynNelson has joined #gnucash
05:40:16 *** ChanServ sets mode: +v CarwynNelson
05:48:57 *** GabrieleV has quit IRC
06:10:14 *** fabior has joined #gnucash
06:18:02 *** fabior has quit IRC
06:25:33 *** Aussie_matt has quit IRC
06:25:55 <CarwynNelson> Are there any screenshots of what cutecash looked like?
06:31:10 *** oozer has joined #gnucash
07:22:13 *** CarwynNelson has quit IRC
08:18:56 *** CarwynNelson has joined #gnucash
08:18:56 *** ChanServ sets mode: +v CarwynNelson
08:27:33 *** jervin has joined #gnucash
08:36:06 *** jervin has quit IRC
08:43:37 *** oozer has quit IRC
08:58:53 *** CarwynNelson has quit IRC
09:01:41 *** fabior has joined #gnucash
09:08:18 <warlord> .
09:22:48 *** MarkFirewhal has quit IRC
09:24:36 *** MarkFirewhal has joined #gnucash
09:30:18 *** Agfarmer18 has joined #gnucash
09:52:52 *** gour has joined #gnucash
09:52:52 *** ChanServ sets mode: +v gour
09:52:59 *** gour has quit IRC
09:53:35 *** gour has joined #gnucash
09:53:35 *** ChanServ sets mode: +v gour
10:05:26 *** kael has joined #gnucash
10:05:27 *** ChanServ sets mode: +v kael
10:07:06 *** fabior has quit IRC
10:12:33 *** kael has quit IRC
10:13:57 *** Agfarmer18 has quit IRC
10:21:21 *** omnireq_ has quit IRC
10:21:43 <michielu> @CarwynNelson -DCMAKE_BUILD_TYPE=Debug is accepted by CMake, but compilation fails on libgnucash/engine/qoflog.h line 262 with a cpp error: DEBUG redefined
10:21:43 <gncbot> michielu: Error: "CarwynNelson" is not a valid command.
10:21:58 <michielu> CarwynNelson: -DCMAKE_BUILD_TYPE=Debug is accepted by CMake, but compilation fails on libgnucash/engine/qoflog.h line 262 with a cpp error: DEBUG redefined
10:22:26 <chris> michielu: what's your cmake command?
10:22:37 <michielu> cmake .. -DCMAKE_BUILD_TYPE=Debug
10:23:18 <chris> mine is: cmake -GNinja -DWITH_PYTHON=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/path/to/install ../path/to/sources
10:24:09 <michielu> yeah, I skip inclusion of Python, don't want the Ninja files, I am not going to install it further and I refer to the sources relatively
10:24:11 *** kael has joined #gnucash
10:24:12 *** ChanServ sets mode: +v kael
10:24:38 <chris> you're using make?
10:24:48 <michielu> yes, after CMake generated make files
10:25:02 <michielu> the DEBUG macro is in a section of #ifdef _MSC_VER
10:25:12 <michielu> but I am using Gnu tools, not MSVC
10:25:43 *** tzhuang has quit IRC
10:26:49 * chris has not used make for ~2 years
10:27:22 <michielu> wiki doesn't say anything about the make build system being deprecated, does it?
10:27:35 <chris> true, but ninja can use multicore
10:27:41 <chris> most of us use it
10:28:37 <michielu> hmm, ubuntu 16 does not have an uptodate Ninja version apparently...
10:29:49 *** tzhuang has joined #gnucash
10:30:14 *** Mechtilde has quit IRC
10:30:17 <warlord> chris, I see no reason the cmake; make should fail to work. If it fails, that would be a bug.
10:31:06 <chris> got it. trying now, and need to learn patience!
10:31:38 <michielu> ninja build fails on the same error by the way
10:31:51 <michielu> ../libgnucash/engine/qoflog.h:262:0: error: "DEBUG" redefined [-Werror]
10:32:20 <michielu> Your branch is up-to-date with 'origin/maint'.
10:32:20 <michielu> nothing to commit, working directory clean
10:32:27 <warlord> michielu, are you using git or tarball? if git, which branch?
10:32:33 <michielu> clean sources from git apparently
10:33:01 <warlord> which branch?
10:33:07 <michielu> maint
10:33:16 <michielu> _MSC_VER is not defined on the command line apparently
10:33:19 <michielu> /usr/bin/c++ -DG_LOG_DOMAIN=\"gnc.engine\" -DHAVE_CONFIG_H -DHAVE_GUILE20 -D_GNU_SOURCE -Dgncmod_engine_EXPORTS -Ilibgnucash/engine -I../libgnucash/engine -Icommon -I../common -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I../borrowed/libc -Ilibgnucash/core-utils -I../libgnucash/core-utils -I/usr/include/guile/2.0 -I../libgnucash/gnc-module -Wno-error=deprecated-declarations -Wno-register -Werror -Wall -Wmissing-declar
10:33:27 <michielu> need to go, afk for an hour
10:33:36 <warlord> MSC_VER should not be defined on Linux
10:35:33 <chris> mine's compiling well
10:38:45 <chris> well mine runs perfectly
10:40:10 *** oozer has joined #gnucash
10:42:00 *** kael has quit IRC
10:44:34 <warlord> michielu, are you truly running ubuntu and not some ubuntu-on-windows thing?
11:01:38 *** gour has quit IRC
11:01:52 *** gour has joined #gnucash
11:01:52 *** ChanServ sets mode: +v gour
11:10:55 <michielu> back. Yeah, I am truly running ubuntu, no dockers, vms or whatever
11:11:00 *** jervin has joined #gnucash
11:11:52 <michielu> the compilation command does not include any MSV_VER definition and my grep on the sources does not indicate where this should've come from
11:13:46 *** warlord has quit IRC
11:15:08 *** fabior has joined #gnucash
11:16:54 *** Mechtilde has joined #gnucash
11:17:01 *** jervin has quit IRC
11:17:04 *** jervin has joined #gnucash
11:21:02 *** fabior has quit IRC
11:22:48 *** omnireq has joined #gnucash
11:22:48 *** ChanServ sets mode: +v omnireq
11:23:04 *** gour has quit IRC
11:24:05 <michielu> funny, if I change the #ifdef _MSC_VER to #ifdef complete_abracadabra, the same error occurs. As if the #ifdef is ignored
11:27:20 <michielu> ah, looking at this in the wrong way. The #define is on line 262, which is in the #else of the _MSC_VER
11:28:42 <michielu> and ofcourse my CFLAGS contain "-O0 -g -DDEBUG"
11:34:09 <michielu> build using make works fine now
11:37:03 *** jervin has quit IRC
11:38:02 <michielu> and I get less segfaults, but lucky me: still quite often
11:38:15 <michielu> Thread 1 "gnucash" received signal SIGSEGV, Segmentation fault.
11:38:15 <michielu> 0x00007ffff3b456a2 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
11:38:40 <michielu> (gdb) bt
11:38:40 <michielu> #0 0x00007ffff3b456a2 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
11:38:40 <michielu> #1 0x00007ffff3b7768e in gdk_x11_window_get_xid () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
11:38:40 <michielu> #2 0x00007fffc30e9f77 in () at /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-xim.so
11:38:40 <michielu> #3 0x00007ffff5d1c833 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
11:38:40 <michielu> #4 0x00007ffff44cd8dd in gnucash_sheet_key_press_event (widget=0x2f6a130 [GnucashSheet], event=0x32393b0)
11:38:42 <michielu> at gnucash/register/register-gnome/gnucash-sheet.c:1909
11:38:52 <michielu> if (gtk_im_context_filter_keypress (sheet->im_context, event))
11:39:02 <michielu> (gdb) p event
11:39:02 <michielu> $1 = (GdkEventKey *) 0x32393b0
11:39:02 <michielu> (gdb) p sheet->im_context
11:39:02 <michielu> $2 = 0x7fffd000feb0 [GtkIMMulticontext]
11:39:10 <michielu> if anyone can make sense of that...
11:40:00 <michielu> variables seem to be okay, no NULL dereference there (yet). gdk_x11_window_get_xid apparently tries to lookup something and fails, but I am no X11/GDK expert
11:46:24 *** michielu has left #gnucash
11:56:44 <jralls> @tell michielu That's https://bugs.gnucash.org/show_bug.cgi?id=795014, there's a workaround in the comments.
11:56:44 <gncbot> jralls: The operation succeeded.
12:32:42 *** Mechtilde has quit IRC
12:34:24 *** Mechtilde has joined #gnucash
12:47:17 *** guak has joined #gnucash
13:22:48 *** warlord has joined #gnucash
13:22:48 *** gncbot sets mode: +o warlord
13:27:33 *** kael has joined #gnucash
13:27:34 *** ChanServ sets mode: +v kael
13:38:23 *** jervin has joined #gnucash
13:55:21 *** phoenix has joined #gnucash
14:02:35 *** frakturfreak has joined #gnucash
14:02:35 *** ChanServ sets mode: +v frakturfreak
14:03:33 *** g5pw has quit IRC
14:03:44 *** g5pw has joined #gnucash
14:03:46 *** ChanServ sets mode: +v g5pw
14:17:57 *** warlord has quit IRC
14:25:15 *** fell_laptop is now known as fell
14:25:20 <fell> .
14:35:18 *** g5pw has quit IRC
14:36:53 *** g5pw has joined #gnucash
14:36:54 *** ChanServ sets mode: +v g5pw
14:54:05 *** JayC has joined #gnucash
14:54:05 *** ChanServ sets mode: +v JayC
14:55:07 *** phoenix has quit IRC
15:19:55 *** kael has quit IRC
15:20:45 *** jervin has quit IRC
15:42:10 *** JayC has quit IRC
15:43:48 *** calvinct has joined #gnucash
15:58:26 *** calvinct has quit IRC
16:04:12 *** grayhawk has joined #gnucash
16:04:47 <grayhawk> Hi need some input please
16:07:10 <grayhawk> I need to setup a set of books for a holding company.
16:07:23 <grayhawk> What chart of accounts do I need
16:08:50 <grayhawk> This is a simple holding company that just purchased one company and will be making payments once per month for the purchase
16:13:37 *** tzhuang has quit IRC
16:16:43 *** tzhuang has joined #gnucash
16:19:33 <jralls> grayhawk: You need to hire a local licensed accountant to tell you that. Once you have a CoA we can help you set it up in GnuCash if you can't figure it out from reading the Tutorial and Concepts Guide.
16:36:12 *** Mechtilde has quit IRC
16:38:30 *** Mechtilde has joined #gnucash
16:56:46 *** frakturfreak has quit IRC
16:58:12 *** Mechtilde has quit IRC
16:58:41 <grayhawk> The Tutorial and Concepts guide does not specifically discuss holding companies that is why I thought to ask the Gnu Pros who might have set one up. Sorry!
16:59:32 <jralls> I think you misunderstand: We're pros with GnuCash but we're not professional accountants. We can't give accounting advice.
16:59:51 <fell> and special not for all regions.
17:00:31 <jralls> By which fell means that even if he and I were licensed accountants it wouldn't necessarily be in your country.
17:07:12 <grayhawk> I did not think that asking for a list of chart of accounts was so specific as to warrant an accountant in my country Canada
17:08:37 <grayhawk> my apologies
17:11:18 <fell> In some regions the government or other orgs publish suggested CoAs. So you could at first search the net.
17:11:56 <grayhawk> Will do fell and thanks for all who responded
17:12:14 <fell> welcome
17:12:20 <grayhawk> Appreciate the help
17:12:35 <grayhawk> bye
17:12:55 *** grayhawk has quit IRC
17:46:13 *** CarwynNelson has joined #gnucash
17:46:13 *** ChanServ sets mode: +v CarwynNelson
17:47:59 *** CarwynNelson has quit IRC
18:02:22 *** fell has quit IRC
18:05:45 *** fell has joined #gnucash
18:05:45 *** ChanServ sets mode: +o fell
18:52:46 *** Aussie_matt has joined #gnucash
19:02:44 *** omnireq has quit IRC
19:04:56 *** oozer has quit IRC
19:15:26 *** guak has quit IRC
20:03:07 *** jralls has quit IRC
20:10:01 *** omnireq has joined #gnucash
20:20:18 *** jralls has joined #gnucash
20:20:18 *** ChanServ sets mode: +o jralls
20:49:41 *** badger92 has quit IRC
21:00:35 *** badger92 has joined #gnucash
21:08:52 *** jervin has joined #gnucash
21:19:19 *** jervin has quit IRC
21:28:40 *** oozer has joined #gnucash
23:34:00 *** ECDHE_RSA_AES256 has quit IRC
23:34:33 *** ecdhe has joined #gnucash
23:52:43 *** omnireq_ has joined #gnucash
23:53:55 *** omnireq has quit IRC