2018-06-13 GnuCash IRC logs

01:02:10 *** gour has joined #gnucash
01:04:30 *** sbluhm has joined #gnucash
01:04:41 *** chf has quit IRC
01:05:26 *** chf has joined #gnucash
01:54:37 *** fell has joined #gnucash
01:57:00 *** fell_laptop has quit IRC
01:57:15 *** fell_afk has quit IRC
01:58:11 *** fell_afk has joined #gnucash
01:58:22 *** frakturfreak has quit IRC
02:09:36 *** puck has quit IRC
02:13:14 *** frakturfreak has joined #gnucash
02:13:47 *** lmat has joined #gnucash
02:21:53 *** puck has joined #gnucash
02:31:58 *** warlord has quit IRC
02:32:55 *** jotrago has joined #gnucash
03:39:07 *** gjanssens has joined #gnucash
03:39:07 *** ChanServ sets mode: +o gjanssens
03:39:11 <gjanssens> .
03:57:56 *** ncv_ has joined #gnucash
04:21:18 *** fekepp has joined #gnucash
04:28:29 *** Sebastian has joined #gnucash
05:24:53 *** gour_ has joined #gnucash
05:27:04 *** gour has quit IRC
05:29:47 *** pilotauto has quit IRC
06:15:57 *** Sebastian has quit IRC
06:17:21 *** Sebastian has joined #gnucash
06:24:38 *** fekepp1 has joined #gnucash
06:25:05 *** fekepp has quit IRC
06:25:05 *** fekepp1 is now known as fekepp
06:25:37 *** Sebastian has quit IRC
06:26:38 *** fekepp1 has joined #gnucash
06:28:05 *** fekepp has quit IRC
06:28:05 *** fekepp1 is now known as fekepp
06:32:38 *** fekepp has quit IRC
06:33:13 *** fekepp has joined #gnucash
06:37:52 *** fekepp has quit IRC
06:40:02 *** fekepp has joined #gnucash
06:46:46 *** Jimraehl1 has joined #gnucash
06:47:46 *** Jimraehl1 has left #gnucash
07:12:08 *** mipesom has quit IRC
07:28:41 *** mipesom has joined #gnucash
07:56:35 *** boldstripe has joined #gnucash
08:24:45 *** fekepp has quit IRC
08:27:11 *** Sebastian has joined #gnucash
08:40:46 *** oozer has joined #gnucash
08:40:57 *** chris has joined #gnucash
08:42:37 <chris> 1. I wished to create unit testing for net-charts, but the javascript doesn't parse because it is not encapsulated in CDATA. I add CDATA which allows report to be parsed but is not valid in webkit :(
09:37:15 *** ArtGravity has joined #gnucash
09:45:50 *** oozer has quit IRC
09:56:05 <chris> wall<-head. break from this
10:01:57 *** chris has quit IRC
10:05:40 *** warlord has joined #gnucash
10:05:55 <warlord> .
10:07:33 *** kael has joined #gnucash
10:23:37 *** fekepp has joined #gnucash
10:24:07 *** sbluhm has quit IRC
10:24:18 <boldstripe> Anyone know of a generic tutorial that would allow me to make gnucash 3.1 on Debian? The Gnucash Wiki instructions seem to be old, and are not working for me (I don't have a ./configure file, for example). https://wiki.gnucash.org/wiki/Debian#Alternatively_build_a_different_version_of_Gnucash_directly_from_source
10:28:03 *** hampton has left #gnucash
10:29:15 <boldstripe> Should I be looking for instructions for using cmake?
10:36:35 *** b3niup has joined #gnucash
10:38:10 <warlord> boldstripe: yes. it's very simple: cmake . ; make
10:39:54 <b3niup> o/ anyone can help me trace issue with extremly slow main (accounts) window performance on 3.1 build?
10:40:27 *** sbluhm has joined #gnucash
10:51:29 *** storyjesse has quit IRC
11:02:40 <b3niup> and HUGE virtual memory (vsz) use
11:04:00 <b3niup> bot issues are present regarding of used database
11:08:56 <boldstripe> warlord: CMake says I don't have libxslt package. My package manager (Synaptic) says I do have libxslt v 1.1.32-2
11:21:30 *** gncbot sets mode: +o fell_afk
11:22:53 *** User__ has joined #gnucash
11:28:16 <fell_afk> b3niup: see https://lists.gnucash.org/pipermail/gnucash-devel/2018-June/042193.html
11:28:46 *** fell_afk is now known as fell_desktop
11:30:39 *** User__ has quit IRC
11:31:23 *** nichevo has quit IRC
11:31:26 *** nichevo has joined #gnucash
11:36:33 <b3niup> fell_desktop: thanks, though I'm not sure if that's the case. I've been using 3.1 for some time now without any issue. Today I've rebuilt it because of boost version change in my OS and I've stumbled upon this issue. What differs me from mentioned case is that I'm experiencing it even with new, empty database. Also there's a lot of timeouts on some socket communication between threads, dbus and
11:36:34 <b3niup> something else
11:40:45 <fell_desktop> Are you using your distros GnuCash or did you build it self?
11:42:19 <b3niup> I'm building it myself (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gnucash-xbt-minimal)
11:43:01 <fell_desktop> Did you rebuild it after the boost update?
11:43:35 <b3niup> yep, that's when the issue appeared
11:44:39 <b3niup> thou to be precise other packages were upgraded too so I also had to add this patch https://aur.archlinux.org/cgit/aur.git/tree/gcc8.patch?h=gnucash-xbt-minimal to be able to build it
11:48:04 <fell_desktop> Perhaps gjanssens can help?
11:54:06 <fell_desktop> @tell chris Are you watching gnucash-reports-maint@gnome.bugs? See https://wiki.gnucash.org/wiki/Bugzilla#Configure_Notifications.
11:54:06 <gncbot> fell_desktop: The operation succeeded.
11:59:24 <gjanssens> boldstripe: you need to install the associated *-dev packages
11:59:42 <gjanssens> I presume on debian this is libsxlt-dev, but I'm not on debian
12:01:27 <gjanssens> b3niup: I have no idea where that slowness comes from... and not in a position to investigate either. Sorry.
12:03:49 <b3niup> gjanssens: any tips what should I do to pin-point the cause?
12:05:29 <fell_desktop> b3niup: valgrind/callgrind
12:10:09 <b3niup> thanks fell_desktop :)
12:10:39 *** gjanssens is now known as gjanssens_afk
12:15:50 *** oozer has joined #gnucash
12:19:07 *** Kaell has joined #gnucash
12:20:22 *** Sebastian has quit IRC
12:22:53 *** Mechtilde has joined #gnucash
12:52:38 *** CDB-Man has joined #gnucash
12:53:46 *** CDB-Away_ has joined #gnucash
12:55:12 *** CDB-Man_ has quit IRC
12:55:22 *** CDB-Away has quit IRC
12:57:09 *** Sebastian has joined #gnucash
12:59:42 *** Sebastian has quit IRC
13:03:58 *** kael has quit IRC
13:04:20 *** ncv_ has quit IRC
13:10:42 <boldstripe> gjanssens: thanks, after several cycles I apparently installed all the *-dev packages.
13:11:09 <boldstripe> Then I had the following error:
13:11:20 <boldstripe> https://paste.gnome.org/ptnxxzxux
13:13:46 <boldstripe> I ran warlord's cmake command in the directory ~/gnucash-source/gnucash-3.1 where I had uncompressed the original download.
13:14:57 *** Sebastian has joined #gnucash
13:25:24 <warlord> boldstripe: do you have libdbi-dev installed?
13:32:10 *** fell is now known as fell_laptop
13:32:25 *** fell_desktop is now known as fell
13:33:06 *** ncv_ has joined #gnucash
13:34:31 <fell> boldstripe, can you update https://wiki.gnucash.org/wiki/Debian after success?
13:46:28 *** User__ has joined #gnucash
13:49:33 *** User__ has quit IRC
14:04:09 <boldstripe> warlord: no, but have now fell: I will try, but not an expert
14:05:39 <boldstripe> I am getting closer to make this work (I hope). Is there a simple condition I can add to the cmake command to install this in ~/home/opt? I prefer not to have it in /opt for now.
14:06:31 <fell> CMAKE_INSTALL_PREFIX=
14:07:49 <fell> If you built also dependencies, you will need CMAKE_PREFIX_PATH= too.
14:08:06 <fell> All preceeded with -D
14:08:11 <boldstripe> fell: and that prefix instruction follows 'cmake . ; make' ?
14:08:33 <fell> cmake parametrs
14:09:17 <fell> https://wiki.gnucash.org/wiki/Building
14:11:31 *** oozer has quit IRC
14:11:44 <fell> just imagine the cmake call as configure in autotols
14:14:36 <fell> BTW using ninja instead of standard make would build much faster.
14:16:24 <boldstripe> So, I am thinking to run the following in the directory ~/gnucash-source/gnucash-3.1 --then do I need to specify a path to the source as well?
14:17:10 <boldstripe> cmake -D CMAKE_INSTALL_PREFIX=$HOME/michael/opt/ ?
14:17:58 <fell> Isn't $HOME=/home/mchael?
14:18:49 <boldstripe> Or is it cmake . ; make -D CMAKE_INSTALL_PREFIX=$HOME/michael/opt/ (run in that directory)?
14:19:09 <boldstripe> fell: yes
14:19:55 <fell> you configure your build system with cmake ...
14:20:52 <boldstripe> So, just like the 'Procedure' on the wiki page you referenced?
14:20:59 <fell> later you run make; make docs; make install ...
14:21:22 <fell> AFAIK ;-)
14:21:31 <boldstripe> I think I need to do some reading! thank you
14:23:01 <fell> I currently try to understand the cmake stuff and its impact on our other wiki pages, too. :-)
14:31:59 <boldstripe> I am back to warlord's simple recipe ('cmake . ; make' ). I needed to install libdbd-mysql for the benefit of some installation test, too.
14:32:53 <boldstripe> Now I am 32% through 'Building'. Seeing many lines of colored text in Terminal.
14:33:15 <fell> yes, the database drivers of the SQL backends you want to use.
14:34:18 <boldstripe> 46% ...
14:35:18 <fell> The cmake command should only be requred if a) you updated software, b) you want to change your build configuration.
14:36:02 <boldstripe> I purged gnucash 3.0.1 installed via package manager before starting this.
14:36:10 <fell> (ninja would use more cores of your CPU)
14:50:11 *** calvinct has joined #gnucash
14:52:23 *** Kaell has quit IRC
14:55:21 *** ncv_ has quit IRC
14:56:33 <boldstripe> Wish I had figured out how to set the install path: a lot of files got put in the directory I had the source in (and from which I ran the command).
14:57:08 <boldstripe> ... so now I am confused about what is what
14:57:52 <boldstripe> This directory appears to have the source files and new files made by the build, mixed together.
14:59:13 <boldstripe> ls
14:59:32 *** User__ has joined #gnucash
14:59:45 *** Sebastian has quit IRC
15:00:55 <fell> cmake prefers to have separate directories for source, build, ...
15:01:14 <boldstripe> Yes, me too :-)
15:02:00 <fell> gjanssens exlpained it me in https://wiki.gnucash.org/wiki/Eclipse#With_CMake_.26_Ninja
15:03:53 *** Mechtilde has quit IRC
15:03:59 *** fekepp has quit IRC
15:04:58 *** Sebastian has joined #gnucash
15:12:43 <boldstripe> Interestingly, if I cd into the directory with the stuff made by cmake, I can run 'make install' with no arguments. It runs and runs, then fails with this: CMake Error at cmake_install.cmake:41 (file):
15:12:46 <boldstripe> file cannot create directory: /usr/local/share/doc/gnucash. Maybe need administrative privileges.
15:13:32 <boldstripe> So if I ran that with sudo, it might get a bit further, but I don't want to put stuff in /usr/local etc
15:14:51 <fell> That's because you run cmake without -DCMAKE_INSTALL_PREFIX=$HOME/opt/
15:16:43 *** Dex has joined #gnucash
15:17:18 <Dex> Hi all, random question... how do I open multiple books at the same time. I.e. GNUcash for multiple entities?
15:17:41 <Dex> I click file open but it tends to uh... replace the one I'm currently working on
15:17:54 <Dex> So I tried new window...but again
15:18:20 <fell> cmake has many defaults, which can be overrridden with -D and the system standard is /usr/local for self built stuff
15:18:26 <boldstripe> If I type: 'make install -D CMAKE_INSTALL_PREFIX=$HOME/opt/' then I receive error message 'make: invalid option -- 'D''
15:18:50 <fell> Cmake, not make!
15:19:27 <fell> Think it as Configure MAKE.
15:19:49 <Dex> Oh building for source are we? G'luck
15:21:03 <fell> Dex, just start multiple instances from the command line.
15:21:07 *** User__ has quit IRC
15:21:32 <Dex> ...and just when I was getting back to grips with GUI too...
15:22:12 *** fekepp has joined #gnucash
15:23:00 <Dex> Cheers!
15:23:09 *** Dex has quit IRC
15:24:03 <fell> You can also add new menu items or desktop icons, e.g. "gnucash private", "gnucash business" with adjusted pathes to the respective files.
15:28:39 *** oozer has joined #gnucash
15:33:34 *** fekepp has quit IRC
15:42:39 *** oozer has quit IRC
15:44:23 *** calvinct has quit IRC
15:45:08 *** ncv_ has joined #gnucash
15:51:59 *** ncv_ has quit IRC
15:52:40 *** Sebastian has quit IRC
15:55:18 *** harshitaneja has joined #gnucash
16:06:56 *** oozer has joined #gnucash
16:14:29 *** fekepp has joined #gnucash
16:20:02 *** Sebastian has joined #gnucash
16:23:25 *** Sebastian has quit IRC
16:24:06 *** boldstripe has left #gnucash
16:24:11 *** Sebastian has joined #gnucash
16:34:17 *** boldstripe has joined #gnucash
16:37:23 *** boldstripe_ has joined #gnucash
16:40:41 *** gour_ has quit IRC
16:42:37 <boldstripe_> I don't understand what I did, but I have installed Gnucash 3.1 in Debian.
16:42:56 *** User_ has joined #gnucash
16:45:09 <boldstripe_> I restarted my computer because all my attempts to set prefixes only seemed to make cmake store them in a cache of settings, then my attempts to specify a directory were appended to that 'user set default'. I restarted my computer, went back to the folder which contains both the source and build files mingled together, and then ran 'make' followed by 'sudo make install'. I now have a gnuc
16:45:11 <boldstripe_> ash folder in /usr/local/ which I guess is OK if it is differentiated with installations that my package manager makes.
16:50:28 <boldstripe_> I now have help etc working from the help menu in Gnucash, even though I made no effort to separately install gnucash-docs. Is that normal?
16:53:27 <boldstripe_> I built it myself, with all the confusing mis-steps documented here. My distro (Debian) only has 3.0.1. I now have 3.1
16:54:11 <boldstripe_> Thanks for the help. I am going to try and document what I did.
16:54:45 *** boldstripe has quit IRC
16:54:46 *** boldstripe_ is now known as boldstripe
16:55:25 <boldstripe> I only used the simplest commands, no path prefixes, no choice of install directory.
16:59:49 *** User_ has quit IRC
17:28:39 <fell> You might still have gnucash-docs installed from your distribution.
17:29:30 <boldstripe> Yes, you mean is survived the 'purge'?
17:31:22 <boldstripe> I followed these instructions up to the point where it says to run the ./configure script, because I did not find one. Then I used warlord's command. With some missing dependencies and *-dev packages, it took a while to get that to run (the need to install an sql driver was confusing).
17:31:26 <boldstripe> https://wiki.gnucash.org/wiki/Debian#Alternatively_build_a_different_version_of_Gnucash_directly_from_source
17:32:29 <fell> Instead of autogen.sh and configure, you have run cmake
17:32:44 <boldstripe> I don't understand what warlord's command does, but it is possible that had I run it as sudo, and if I had pre-installed all the necessary packages, it might have worked in one step.
17:33:36 <boldstripe> It has to be run from the directory with the uncompressed source files.
17:33:40 <fell> then you make to build gnucash
17:34:21 <fell> then you sudo run make install to get it in /usr/local
17:34:39 <boldstripe> Yes, that is correct. But perhaps that is somehow included in the command 'cmake . ; make' ?
17:36:43 <fell> Ah, you have build from a tarball, not from git.
17:36:57 <boldstripe> Yes
17:39:10 <fell> The instructions there include the docs: tar -xf gnucash-source/gnucash-docs-2.2.0.tar.gz
17:39:35 <boldstripe> Ah yes, but I ignored that part :-)
17:40:54 <boldstripe> That is, I did not knowingly download docs and install them separately. So, perhaps the help files I see are from my original package installation.
17:42:06 <fell> If you did not uninstall them by apt or whatever your distro offers
17:43:00 <boldstripe> I did 'sudo aptitude purge gnucash' but not 'purge gnucash-docs'
17:43:38 <boldstripe> Obviously it would be better to install docs too, I was just taking a minimalist approach.
17:43:39 <fell> That' it
17:45:36 <fell> the recent changes: https://github.com/Gnucash/gnucash-docs/commits/maint
17:49:00 <boldstripe> I can see some images in my Tutorial and Concepts Guide
17:50:00 <fell> Which version did Debian offer to you?
17:53:06 <boldstripe> Synaptic is offering 3.0-1 for gnucash-common and 2.6.19-1 for gnucash-docs. This is what I had before today, although I installed using the gdebi package manager, before Synaptic/Debian(Buster) offered it. I used the deb file on this page: http://ftp.us.debian.org/debian/pool/main/g/gnucash/
17:54:02 <boldstripe> Shortly after I found 3.0-1 there, it became available in the package manager. But 3.1 has not appeared there, or in the package manager.
17:58:32 *** Sebastian has quit IRC
17:59:20 *** Sebastian has joined #gnucash
17:59:21 <fell> e.g 3.0 got a new transaction report inclusive documentation
18:03:24 *** Sebastian has quit IRC
18:04:41 <boldstripe> I may wait until my package gets the new documentation, or refer to online versions.
18:06:15 <boldstripe> Looking again at Synaptic, it says 3.0-1 is still installed. Yet when I launch gnucash and check the 'About' panel, it says I am using 3.1
18:11:29 *** boldstripe_ has joined #gnucash
18:15:38 <fell> I am rpm based, so I can not help you with *apt*/deb
18:17:18 *** boldstripe_ has quit IRC
18:17:38 <fell> echo "$PATH" says me /usr/local/bin is searched before /usr/bin
18:19:39 *** boldstripe_ has joined #gnucash
18:23:35 *** boldstripe_ has quit IRC
18:29:14 *** harshitaneja has quit IRC
18:31:29 *** harshitaneja has joined #gnucash
18:47:38 *** pilotauto has joined #gnucash
18:48:02 <boldstripe> echo "$PATH" same result on debian
19:13:48 *** User_ has joined #gnucash
19:18:30 *** User_ has quit IRC
20:09:18 *** Sebastian has joined #gnucash
20:15:14 *** Sebastian has quit IRC
20:24:41 *** Sebastian has joined #gnucash
20:38:23 *** Sebastian has quit IRC
20:49:55 *** Sebastian has joined #gnucash
20:50:22 *** Kaell has joined #gnucash
20:53:25 *** Kaell has quit IRC
20:53:40 *** Sebastian has quit IRC
20:58:55 *** boldstripe has quit IRC
21:07:48 *** ArtGravity has quit IRC
21:43:07 *** storyjesse has joined #gnucash
21:49:35 *** oozer has quit IRC
22:55:49 *** boldstripe has joined #gnucash
23:17:00 <chf> boldstripe: call "which gnucash" to reveal the path to the file which is actually called.
23:19:28 <chf> If it is in "/usr/local/bin", you've got a leftover self-compiled version, or a non-standard package installed; if it's in "/usr/bin", there might be a partially installed package: not yet configured, but already unpacked over the previous version.
23:32:20 *** Kaell has joined #gnucash
23:48:33 *** Kaell has quit IRC