2018-01-12 GnuCash IRC logs

00:32:19 *** harshitaneja has joined #gnucash
00:39:26 *** mpiechotka has joined #gnucash
00:42:32 *** mpiechotka has quit IRC
00:49:25 *** mpiechotka has joined #gnucash
00:51:02 *** mpiechotka has joined #gnucash
00:57:37 *** chris has quit IRC
01:14:16 *** fell has quit IRC
01:15:32 *** fell has joined #gnucash
01:15:55 *** gncbot sets mode: +o fell
01:31:49 *** mpiechotka has quit IRC
01:33:14 *** Mechtilde has joined #gnucash
01:33:53 <fell> Moin!
02:33:36 *** Mechtilde has quit IRC
02:38:01 *** jotrago has quit IRC
02:54:02 *** gjanssens has joined #gnucash
02:54:02 *** ChanServ sets mode: +o gjanssens
03:00:44 <gjanssens> .
03:00:44 <gncbot> gjanssens: Sent 8 hours and 45 minutes ago: <fell> Do you remember? At some point we talked about merging from goffice's po.files into ours to avoid duplicate work on all their strings.
03:54:41 *** Mechtilde has joined #gnucash
03:58:07 <gjanssens> fell: thanks for reminding me. I haven't found time to do that yet. But I better hurry, considering we asked our translators to start updating translations...
03:59:46 <fell> gjanssens: I am also on I18n, currently reviewing comments appearing in pot.
04:01:54 <fell> and specifying what you can see by grep "Fixme: Source" de.po.
04:04:15 *** jotrago has joined #gnucash
04:12:07 *** GabrieleV has quit IRC
04:31:35 *** chris has joined #gnucash
04:40:39 *** GabrieleV has joined #gnucash
04:48:20 *** Totalkrill has joined #gnucash
04:49:06 <Totalkrill> Hello! Is this a place to get help, I just downloaded the soure code for gnucash from git
04:49:28 <Totalkrill> Basically I want to add a column to the gnucash software
04:49:43 <Totalkrill> Looking for advice on where in the source to do that
05:01:55 *** chris has quit IRC
05:02:26 <Totalkrill> Well, to be more specific, when double clicking an account, I am taken to a window that contains all my transactions
05:03:17 <Totalkrill> for that account that is, what I want to do is add a new column to that window. Could someone point me down the rabbit hole for that?
05:09:17 *** fekepp has joined #gnucash
05:11:10 <fell> Totalkrill: in the register (account tab) or a (transaction) report?
05:11:28 <Totalkrill> Hey! I guess the account tab :)
05:11:34 <Totalkrill> Quite new to gnucash
05:12:33 <fell> Register is the most terrible code :-(
05:12:51 <Totalkrill> Oh god
05:14:25 <Totalkrill> That doesnt bode to well for me :P
05:14:59 <fell> Which column is missing for you?
05:15:28 <Totalkrill> I use gnucash to keep track of all my transactions, and I take pictures/pdfs of every receipt
05:15:41 <Totalkrill> I just want to see if i have missed attaching a file to anything
05:15:54 <Totalkrill> Because that would be a crucial error
05:16:04 <Totalkrill> For my specific use-case that is
05:16:37 <fell> IIRC there exists a bug report already.
05:17:12 <Totalkrill> What do i search for?
05:20:22 <fell> You could scan https://bugzilla.gnome.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&component=Register&list_id=280272&product=GnuCash
05:20:54 <fell> or find a more advaced search expression
05:22:05 <Totalkrill> https://bugzilla.gnome.org/show_bug.cgi?id=437016 This bodes ill :P
05:23:28 <Totalkrill> I am starting to wonder if it will not be faster to just create a one-off project for my specific use-case
05:23:49 <fell> There is also a stalled regist-2 component
05:26:26 <fell> IIRC gjanssens implemented the attach document feature. Perhaps he can tell you more.
05:27:19 <Totalkrill> That would be awesome
05:33:04 <Totalkrill> Thanks for your help anyway :)
05:38:32 <gjanssens> fell, Totalkrill: no I did not implement that feature, I merely accepted and merged the code
05:40:17 <gjanssens> But I seem to remember Robert Fewell already wrote some code to visualize attachements. This would be for gnucash 2.8 though
05:40:34 <gjanssens> If you want to verify you can try to build an run the current unstable branch
05:40:52 <gjanssens> I believe the extra info is only visible in multi-line view
05:50:03 <Totalkrill> Alright
05:50:30 <Totalkrill> Ill have a look at the unstable, but I would really need it to show for single line, so that I can glance it
06:01:46 *** pilotauto has quit IRC
06:03:29 <Totalkrill> I just did, autogen.sh, ./configure, make
06:03:36 <Totalkrill> where would I find the executable
06:09:24 <gjanssens> Totalkrill: a few things
06:10:11 <gjanssens> 1. We strongly advise never to build directly in the source directory when building gnucash. In theory you can but there are some gotcha's
06:10:36 <Totalkrill> Feels like I have missed reading some doc :)
06:10:45 <gjanssens> So instead, make a directory (preferably *outside* the source directory) and then from that directory run <path-to-source-dir>/configure.sh
06:11:12 <Totalkrill> alright
06:11:12 <Totalkrill> willdo
06:11:35 <gjanssens> 2. To get your executable, you also have to run make install. But - it looks you didn't specify an install prefix which means make install will attempt to install in /usr/local
06:11:48 <gjanssens> That also is not recommended.
06:12:23 <gjanssens> Instead run configure with the --prefix switch to specify a custom prefix (like $HOME/gnucash/inst, or whatever)
06:12:45 <gjanssens> Then the final make install will put the executable in $prefix/bin
06:13:32 <gjanssens> 3. Finally, we're about to drop the autotools build chain in favor of cmake (for 2.7 and later), so it would be good if you looked into that build system instead
06:14:25 <gjanssens> The executive summary is a. no need for autogen.sh any more, replace "configure.sh" with "cmake" and adjust the parameters (cmake takes a different invocation)
06:14:48 <gjanssens> you an continue from there with make/make install
06:14:51 <Totalkrill> good choice with cmake
06:15:32 <gjanssens> Oh, and I got the future version wrong. It will be 3.0, not 2.8 (there won't be 2.8)
06:16:25 <Totalkrill> Okay, so 1. ../gnucash/autogen.sh ?
06:16:54 <Totalkrill> cmake ../gnucash --prefix $HOME/projects/gnucash-install
06:17:01 <Totalkrill> make, make install?
06:19:38 <gjanssens> Totalkrill: no just skip autogen.sh.
06:19:44 <Totalkrill> aight
06:20:22 <Totalkrill> okay, so either i need a package or i need to disable python unit-test
06:20:32 <gjanssens> And "cmake -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=<install-prefix> <path-to-source-dir>
06:20:40 <Totalkrill> ah great
06:21:57 <Totalkrill> CMake Error at common/test-core/CMakeLists.txt:39 (FILE):
06:21:57 <Totalkrill> FILE COPY cannot find
06:21:57 <Totalkrill> "/home/krille/projects/gnucash/common/test-core/unittest_support.py".
06:22:52 <gjanssens> That looks like a bug we still have to fix. Try running cmake with "-DWITH_PYTHON=ON" and check if that helps ?
06:23:50 <Totalkrill> hmm, then other errors ensure
06:24:14 <Totalkrill> oh, because gnucash assumes I am running bash it seems
06:24:37 <gjanssens> What are you running ?
06:24:49 <Totalkrill> fish :P
06:24:54 <Totalkrill> and on arch
06:26:01 <gjanssens> We have travis script that continuously tests building gnucash on arch so it should be buildable
06:26:21 <gjanssens> But you may need to run from bash indeed.
06:26:49 <Totalkrill> hmm, yeah i ran from bash
06:27:02 <gjanssens> We never tested this another shell so we may depend on some specifics there...
06:27:04 <Totalkrill> but it seems since my default is fish, something is using that instead of fish
06:27:13 <Totalkrill> bash*
06:27:45 <gjanssens> Hmm, lmat is our arch guy
06:27:57 <gjanssens> Maybe he can chime in when he wakes up
06:28:37 <Totalkrill> Hahah, this is turning out to be a major project :P
06:28:59 <Totalkrill> I just wanted a cliboard to show if there was a file attached :P
06:29:32 <gjanssens> Ideally we shouldn't depend on any particular shell of course, but this is our first iteration of cmake. Perhaps we can improve this in future iterations
06:30:09 <Totalkrill> yeah, well someone needs to encounter this kind of error before it can be fixed i guess
06:30:13 <Totalkrill> sad that it is me :P
06:30:16 <gjanssens> As fell already suggested, you took one of the most difficult and complex parts of gnucash to work on as your first project :(
06:30:48 <Totalkrill> yeah, thats unfortunate
06:30:57 <Totalkrill> but hey, its the only feature I need atm
06:31:15 <Totalkrill> After that, I would probably find something else that needed fixing
06:31:55 <Totalkrill> or that i needed
06:34:37 <gjanssens> There always will be something :)
06:34:56 <Totalkrill> Usually is, the power of open source is that I can go in and have a look
06:38:05 <Totalkrill> although, now I cannot get it to build even, so Ill think Ill pass on this one for now, a bit steep starting curve :)
06:38:36 *** jotrago has quit IRC
06:45:09 <gjanssens> Totalkrill: I understand. Can I ask you to report the two issues as bugs though so we won't forget ?
06:50:31 <Totalkrill> I can do that, would you point me to where with a link?
06:56:45 <Totalkrill> I found
06:57:12 *** Jimraehl1 has joined #gnucash
06:57:57 *** Jimraehl1 has quit IRC
07:05:34 <Totalkrill> Seems i cannot publish a bug there
07:06:07 <Totalkrill> I get: The page you are trying to reach is unavailable at the moment.
07:06:15 <Totalkrill> When clicking submit bug
07:06:33 <Totalkrill> Anyway, thanks for all your help, I cannot spend any more time on this now unfortunately
07:10:01 *** storyjesse has joined #gnucash
07:16:10 *** jotrago has joined #gnucash
07:22:30 *** harshitaneja has quit IRC
07:22:35 *** harshitaneja_ has joined #gnucash
07:24:25 *** harshitaneja_ is now known as harshitaneja
07:26:55 *** Aussie_matt has joined #gnucash
07:28:55 <gjanssens> Totalkrill: I was out for lunch...
07:28:55 *** jotrago has quit IRC
07:29:25 <gjanssens> Perhaps there was a temporary failure on the bugzilla website
07:31:20 <Totalkrill> Still get it
07:32:38 *** User has joined #gnucash
07:37:23 <gjanssens> Ok, let me try to file a new bug for you to check what happens...
07:38:50 *** harshitaneja has quit IRC
07:39:51 <gjanssens> Totalkrill: https://bugzilla.gnome.org/show_bug.cgi?id=792467
07:40:03 <gjanssens> I don't know why that doesn't work for you :(
07:40:12 <gjanssens> Did you create a bugzilla account ?
07:40:14 *** harshitaneja has joined #gnucash
07:40:25 <Totalkrill> yeah
07:40:38 <Totalkrill> It says im logged in
07:40:40 <Totalkrill> hangon
07:41:25 <Totalkrill> https://imgur.com/aZ3rSHX
07:42:08 <Totalkrill> Thats what I am trying to report
07:43:35 *** harshitaneja has quit IRC
07:45:27 <gjanssens> I wonder if the black right-pointing triangle is confusing bugzilla. Can you try and add the command log as an attachment instead of as plain text ?
07:47:00 <gjanssens> Bug reporting issues aside, I wonder whether /bin/sh is aliased to fish on your system ?
07:47:37 <gjanssens> What happens if you change the first line of util/gnc-vcs-info.sh to "#! /bin/bash" ?
07:48:22 <Totalkrill> lrwxrwxrwx 1 root root 4 Oct 30 00:19 /bin/sh -> bash*
07:48:41 <gjanssens> And what about "alias" ?
07:48:47 *** jotrago has joined #gnucash
07:49:00 <Totalkrill> alias install 'sudo pacman -S'
07:49:00 <Totalkrill> alias uninstall 'sudo pacman -Rsc'
07:49:00 <Totalkrill> alias update 'sudo pacman -Syu'
07:49:00 <Totalkrill> alias vim nvim
07:49:09 <Totalkrill> ? :)
07:49:11 <gjanssens> Ok
07:49:40 <gjanssens> So this is something proper to the way cmake invokes the commands :(
07:49:54 <gjanssens> And hence needs more investigation
07:49:56 *** jotrago has quit IRC
07:53:49 <Totalkrill> cmakelist 818
07:54:48 <Totalkrill> you are using the $SHELL variable there
07:54:57 <Totalkrill> which is fish for me
07:57:27 *** User has quit IRC
08:08:29 *** oozer has joined #gnucash
08:08:30 <fell> IIRC bash behaves different if called as sh.
08:09:15 <gjanssens> Totalkrill: the toplevel CMakeLists.txt has some code to test and set SHELL
08:09:39 *** harshitaneja has joined #gnucash
08:09:53 <Totalkrill> I found if I changed the line on 113 to set /bin/bash always
08:10:00 <Totalkrill> it doesnt give the fish related error
08:11:19 <gjanssens> Totalkrill: I would have suggested to set SHELL to /bin/bash before calling cmake :)
08:11:36 <Totalkrill> would probably also have worked :P
08:12:34 <gjanssens> fell: that's true, though for this particular issue it would not have mattered
08:13:34 *** harshitaneja has quit IRC
08:14:29 <gjanssens> Totalkrill: or even unset the SHELL variable
08:14:45 <gjanssens> That would cause cmake to default to /bin/bash, which is what you'd want here
08:15:41 <gjanssens> I need to think this through and discuss with the other devs what's the best way out of this (particularly considering cmake on Windows doesn't run from a shell to start with)
08:16:26 <gjanssens> Totalkrill: Oh and you managed to file the bug :)
08:16:29 <gjanssens> Thanks
08:16:54 <Totalkrill> Yeah, It was probably the error with the arrow
08:16:56 <Totalkrill> :)
08:17:30 <Totalkrill> Well, crap
08:17:43 <Totalkrill> Seems I cannot even export my file associations
08:17:57 <Totalkrill> So i cannot check this with a python script either
08:19:22 *** fabior has joined #gnucash
08:21:44 *** marusich has quit IRC
08:22:02 *** marusich has joined #gnucash
08:25:06 <gjanssens> Totalkrill: but perhaps you can access them via the python bindings?
08:25:24 <gjanssens> Beware gnucash is still python 2.7, not 3.0
08:25:38 *** marusich has quit IRC
08:25:45 <Totalkrill> thats ok
08:25:53 <Totalkrill> You have any pointers to do that?
08:25:55 *** marusich has joined #gnucash
08:27:36 <fell> https://wiki.gnucash.org/wiki/Python_Bindings
08:30:34 *** jotrago has joined #gnucash
08:40:47 <Totalkrill> the aur package doesnt compile :P
08:41:24 <Totalkrill> so it seems my fine associations I have already made where all a waste of time, I will have to redo them anyway :P
08:50:59 *** harshitaneja has joined #gnucash
08:58:35 <Totalkrill> ah great, gnucash saves in xml if I choose not to use compression
09:00:49 <fell> you can rsync uncompressed xml files much faster than compressed ones. Yes xml is still the default.
09:02:15 *** harshitaneja has quit IRC
09:05:13 <Totalkrill> I can parse the xml files, and in there the transactions store their file association :D
09:05:15 <Totalkrill> yay
09:05:44 <Totalkrill> I rather not have to manually sync hundreds of poor quality cell phone photos to their transaction again :P
09:06:04 *** harshitaneja has joined #gnucash
09:19:00 *** Aussie_matt has quit IRC
09:23:18 <warlord> Totalkrill: even if you DO use compression it's still XML, just gzipped.
09:28:46 *** harshitaneja has quit IRC
09:30:47 *** harshitaneja has joined #gnucash
09:38:06 <fell> but much harder to read, warlord ;-)
09:39:17 <Totalkrill> akljehflasdhgjklasydgoihqewuigha esajeghadsgasc agsdg a < this is just data, but encrypted :P
09:40:12 <warlord> Totalkrill: zcat file | ....
09:40:29 <fell> only compressed, not encrypted!
09:40:31 <warlord> fell: not at all.
09:40:53 <warlord> exactly. Not encrypted, just compressed. Readable using zcat, or gunzip, or any other decompression tool.
09:46:24 *** crossan007 has quit IRC
09:47:10 *** crossan007 has joined #gnucash
09:49:06 *** warlord has quit IRC
09:55:26 *** warlord has joined #gnucash
09:55:26 *** gncbot sets mode: +o warlord
10:18:33 *** harshitaneja has quit IRC
10:27:26 *** harshitaneja has joined #gnucash
10:37:31 *** bob_ has joined #gnucash
10:37:41 *** ah has joined #gnucash
10:44:18 *** ah has quit IRC
10:51:48 *** warlord has quit IRC
11:00:05 *** ah has joined #gnucash
11:01:22 *** ah has quit IRC
11:09:16 *** warlord has joined #gnucash
11:09:17 *** gncbot sets mode: +o warlord
11:10:56 *** fabior has quit IRC
11:14:33 *** marusich has quit IRC
11:20:55 *** bob_ has quit IRC
11:25:53 *** harshitaneja has quit IRC
11:29:52 *** Mechtilde has quit IRC
11:40:14 *** ArtGravity has joined #gnucash
11:40:50 *** oozer has quit IRC
11:43:18 *** bob_ has joined #gnucash
11:44:17 *** fabior has joined #gnucash
11:56:30 *** chris has joined #gnucash
12:10:06 *** chris has quit IRC
12:41:09 *** oozer has joined #gnucash
12:48:32 *** storyjesse has quit IRC
12:48:35 *** Totalkrill has quit IRC
12:58:38 *** bob_ has quit IRC
12:58:51 *** bob__ has joined #gnucash
13:02:58 *** Mechtilde has joined #gnucash
13:06:02 <Mechtilde> .
13:14:32 *** fekepp1 has joined #gnucash
13:15:21 *** fekepp has quit IRC
13:17:35 *** fekepp1 has quit IRC
13:19:27 *** gjanssens has quit IRC
13:20:18 *** gjanssens has joined #gnucash
13:20:18 *** ChanServ sets mode: +o gjanssens
13:42:40 *** ArtGravity has quit IRC
13:43:54 *** ArtGravity has joined #gnucash
13:46:56 *** fabior has quit IRC
14:14:02 *** bob__ has quit IRC
14:14:18 *** fekepp has joined #gnucash
14:33:30 *** frakturfreak has joined #gnucash
14:41:16 *** jralls has quit IRC
15:01:07 *** jralls has joined #gnucash
15:01:07 *** ChanServ sets mode: +o jralls
15:02:31 *** fekepp has quit IRC
15:05:10 *** jralls has quit IRC
15:17:24 *** bertbob has quit IRC
15:19:59 *** Mechtilde has quit IRC
15:22:20 *** oozer has quit IRC
15:23:52 *** jralls has joined #gnucash
15:23:52 *** ChanServ sets mode: +o jralls
15:35:51 *** bertbob has joined #gnucash
16:08:38 *** KaiForce has quit IRC
16:22:10 *** kael has joined #gnucash
16:32:53 *** gjanssens has quit IRC
16:59:28 *** oozer has joined #gnucash
17:05:38 *** oozer has quit IRC
17:06:03 *** jotrago has quit IRC
17:15:37 *** kael has quit IRC
18:10:41 *** flips has quit IRC
18:11:12 *** wget has quit IRC
18:11:16 *** wget has joined #gnucash
18:13:12 *** flips has joined #gnucash
18:59:57 *** oozer has joined #gnucash
19:07:52 *** chris has joined #gnucash
19:38:28 *** chris has quit IRC
19:43:19 *** frakturfreak has quit IRC
20:16:16 *** chris has joined #gnucash
20:19:14 <chris> I have further TR ideas in the pipeline
20:38:38 <fell> chris: TR?
20:38:46 <chris> transaction report
20:39:03 <fell> Oh, nice!
20:43:42 <chris> this scm spelunking digital forensics is a time capsule into who's who of scheme 15 years ago lol
21:31:05 *** oozer has quit IRC
22:00:43 *** ArtGravity has quit IRC
22:19:41 *** storyjesse has joined #gnucash