2017-11-22 GnuCash IRC logs

01:12:34 *** Mechtilde has joined #gnucash
01:13:29 *** jotrago has quit IRC
01:38:42 *** fell has quit IRC
01:39:04 *** fell has joined #gnucash
01:52:56 *** Mechtilde has quit IRC
02:25:47 *** bertbob has quit IRC
02:25:47 *** Cuare has quit IRC
02:25:47 *** Simon has quit IRC
02:25:47 *** chf has quit IRC
02:25:47 *** Cork has quit IRC
02:25:47 *** GabrieleV has quit IRC
02:25:47 *** Hirppa has quit IRC
02:25:47 *** opal has quit IRC
02:25:47 *** weasel has quit IRC
02:25:47 *** flips has quit IRC
02:25:47 *** g5pw has quit IRC
02:25:47 *** entreprnr has quit IRC
02:25:47 *** akv has quit IRC
02:25:47 *** ggherdov_ has quit IRC
02:25:47 *** seanh has quit IRC
02:25:47 *** fell has quit IRC
02:25:47 *** Trel has quit IRC
02:25:47 *** CDB-Man has quit IRC
02:25:47 *** jethrogb has quit IRC
02:25:47 *** Unhammer has quit IRC
02:25:47 *** lmat has quit IRC
02:25:47 *** yuriks has quit IRC
02:25:47 *** redarrow has quit IRC
02:25:47 *** fiddlerwoaroof has quit IRC
02:26:11 *** fell has joined #gnucash
02:26:11 *** bertbob has joined #gnucash
02:26:11 *** Cuare has joined #gnucash
02:26:11 *** Simon has joined #gnucash
02:26:11 *** Trel has joined #gnucash
02:26:11 *** chf has joined #gnucash
02:26:11 *** Cork has joined #gnucash
02:26:11 *** GabrieleV has joined #gnucash
02:26:11 *** CDB-Man has joined #gnucash
02:26:11 *** jethrogb has joined #gnucash
02:26:11 *** Hirppa has joined #gnucash
02:26:11 *** Unhammer has joined #gnucash
02:26:11 *** lmat has joined #gnucash
02:26:11 *** opal has joined #gnucash
02:26:11 *** weasel has joined #gnucash
02:26:11 *** yuriks has joined #gnucash
02:26:11 *** flips has joined #gnucash
02:26:11 *** g5pw has joined #gnucash
02:26:11 *** seanh has joined #gnucash
02:26:11 *** ggherdov_ has joined #gnucash
02:26:11 *** akv has joined #gnucash
02:26:11 *** entreprnr has joined #gnucash
02:26:11 *** fiddlerwoaroof has joined #gnucash
02:26:11 *** redarrow has joined #gnucash
02:29:29 *** gjanssens has joined #gnucash
02:29:29 *** ChanServ sets mode: +o gjanssens
02:29:32 <gjanssens> .
02:54:27 *** fabior has joined #gnucash
04:04:16 *** mikee has quit IRC
04:05:31 *** mikee has joined #gnucash
04:07:36 <mikee> @op
04:07:37 *** gncbot sets mode: +o mikee
04:20:59 *** pilotauto has quit IRC
05:07:26 *** storyjesse has joined #gnucash
05:30:27 *** fabior has quit IRC
05:39:34 *** ah has joined #gnucash
05:54:05 *** jotrago has joined #gnucash
06:11:38 <chris> lmat: I wonder if the option-util.c change is correct - the getter should produce a time64 but the changed code still processes a timepair, am I right?
06:56:35 *** storyjesse has quit IRC
07:16:42 <lmat> Oh bummer, indeed I forgot about time64_to_gdate
07:18:29 <lmat> chris: in option-util.c, it takes a time pair, but returns a time64. Right, we should change this to take a time64 only.
07:20:31 *** User has joined #gnucash
07:20:42 <lmat> chris: It would mean changing gnc_timepair2timespec to scm_to_int64 (and getting rid of .tv_sec
07:20:45 <lmat> )
07:22:32 *** Mechtilde has joined #gnucash
07:22:57 *** Simon has quit IRC
07:26:16 *** Simon has joined #gnucash
07:34:50 *** Mechtilde has quit IRC
07:37:12 <chris> lmat: go ahead, I've already committed time64_to_date; just need an improved option-util.c
07:37:18 *** DataWraith has joined #gnucash
07:40:20 <lmat> chris: Oh yeah, that also means that gnc:date-option-value-absolute needs to be ready to take a time64 rather than timepair (perhaps we've already talked about this one...)
07:40:35 *** Simon has quit IRC
07:41:05 <lmat> chris: Okay, I just pushed the change.
07:41:17 *** Simon has joined #gnucash
07:43:27 *** User has quit IRC
07:53:05 <chris> lmat: success :)
07:53:22 <chris> lmat: now I can continue and anticipate timepair will be banished to git history
07:54:04 <chris> date-utilities.scm's clock is also ticking
07:59:54 <chris> hmm there's still a timepair being pushed in options, perhaps the setter; I'll continue fixing others meanwhile
08:23:35 *** Jimraehl1 has joined #gnucash
08:30:20 *** Jimraehl1 has left #gnucash
08:39:28 *** MrKeuner has joined #gnucash
08:39:43 <MrKeuner> Has OIF support been dropped in recent releases?
08:40:37 *** Cuare has quit IRC
08:41:16 <MrKeuner> sorry, OFX
08:41:26 <MrKeuner> How can I import OFX?
08:41:42 *** fekepp has joined #gnucash
08:44:18 <lmat> MrKeuner: ofx has not been dropped.
08:44:20 *** Mechtilde has joined #gnucash
08:44:25 <lmat> MrKeuner: That's about all I can say; others can say more.
08:45:21 <lmat> chris: "there's still a timepair being pushed in options" can you be more specific?
08:47:10 <MrKeuner> in 2.6.18 I only see QIF and CSV as import options
08:47:45 <MrKeuner> Does QIF include OFX?
08:48:15 <MrKeuner> I built this from source, maybe it was a config option while building I omitted?
08:48:46 <MrKeuner> please help before I uninstall my build!
08:48:55 <chris> Not sure how to explain - until 6 hours ago, I could set an absolute date in Report Options, and run report, and the report run as expected, but the GUI would momentarily show 01/01/70 before closing, and the next time Report Options is open, the GUI would display 01/01/70. Thanks to the improved option-util.c, the GUI accepts the time64 absolute time and stores it correctly.
08:49:58 <chris> However the Linux terminal has my beacon stating (gnc:make-date-option) is still receiving a timepair through its setter, and being converted to time64. Functionality is still correct however
08:50:58 <chris> it means something is calling (gnc:make-date-option)'s setter with a timepair
08:52:54 <chris> MrKeuner: you can build with --enable-ofx in autotools
08:54:54 <MrKeuner> Thank you
08:55:18 <MrKeuner> is QIF preferred, though?
08:55:35 <MrKeuner> Judging by it's enabled by default
08:55:47 <chris> OFX is better IMHO
08:56:26 <MrKeuner> I would prefer open standards too but since it's the default I was puzzled
08:56:34 <chris> it's default because it's older
08:56:43 <chris> QIF only has dates, desc, amount
08:56:45 <MrKeuner> got it
08:56:54 <chris> OFX has transaction-ID or something
08:57:28 <MrKeuner> I think that's how subsequents imports show empty when importing OFX multiple times
08:57:39 <MrKeuner> which is really useful
09:06:32 *** Mechtilde has quit IRC
09:32:24 <fell> MrKeuner: Because OFX has its own library, you can disable it to reduce dependencies.
09:37:59 <chris> lmat: gnc-make-date-option will delegate the setter to (gnc:make-option) so whoever is calling the generic setter is sending the offending timepair
09:44:38 *** fekepp has quit IRC
10:05:33 *** bertbob has quit IRC
10:06:36 *** bertbob has joined #gnucash
10:15:26 <gjanssens> @tell jralls Your push from yesterday concerning the python build, does that suggest you're looking into enabling the python bindings on mac ?
10:15:26 <gncbot> gjanssens: The operation succeeded.
10:16:34 *** kael has joined #gnucash
10:20:55 *** Trel has quit IRC
10:21:05 *** Trel has joined #gnucash
10:27:46 <lmat> chris: Ah I see. I think even if you're sending a timepair the C code might "work"? If scheme is sending a pair of ints, and C grabs the first int...depending on how things are actually laid out in memory it may work anyway. Not a good way to go of course.
10:28:38 <chris> lol, jralls wouldn't approve
10:30:00 <lmat> chris: for sure! ^_^
10:35:20 *** kael has quit IRC
10:36:35 <chris> https://github.com/christopherlam/gnucash/blob/time64-ftw/libgnucash/app-utils/options.scm#L582 This is a piece that gets called by gnc:make-date-option setter - it accepts both timepair and time64 -- if timepair is received, it converts to time64 -- both will print appropriate beacon. Looks like the success message isn't sent because something in C is sending timepair (I think)
10:42:38 *** bertbob has quit IRC
10:43:40 *** bertbob has joined #gnucash
10:49:47 *** ArtGravity has joined #gnucash
10:55:34 <lmat> chris: I think gnc:make-date-option isn't directly being called at all by C.
10:56:14 <lmat> chris: I'm using grep make-date-option . -r; in the root of the project.
11:04:38 <chris> will put this on hold for now, and move onto other .scms
11:12:03 *** kael has joined #gnucash
11:16:27 *** kael has quit IRC
11:21:22 *** bertbob has quit IRC
11:24:36 *** ah has quit IRC
11:26:32 *** bertbob has joined #gnucash
11:47:44 *** bertbob has quit IRC
11:50:45 *** bertbob has joined #gnucash
12:24:17 <lmat> I got gnucash to run inside a docker container! There is a lot of trash to be talked about X, but it's really flexible.
12:31:11 *** ArtGravity has quit IRC
12:49:01 *** qCharm has joined #gnucash
12:51:10 <qCharm> can i make my opening balance ( Equity: Opening Balance) a negative (-ve) amount? (i.e. an overdraft? just seems to make it positive whatever i enter: -1000 or (1000) etc
13:03:49 <warlord> qCharm: sure
13:03:54 <warlord> it's just a standard transaction.
13:04:02 *** ArtGravity has joined #gnucash
13:05:09 *** Mechtilde has joined #gnucash
13:09:18 *** Mechtilde has quit IRC
13:23:51 *** Mechtilde has joined #gnucash
13:50:42 <lmat> qCharm: Usually Equity: Opening Balance isn't set; rather it's used to set the other accounts (e.g. chequing account, mortgage)
13:50:56 <lmat> qCharm: It will end up negative or positive based on the other balances it is used to populate.
14:11:03 *** carwynnelson has joined #gnucash
14:47:45 *** fekepp has joined #gnucash
15:11:22 *** Mechtilde has quit IRC
15:13:36 *** fekepp has quit IRC
15:13:38 *** fekepp has joined #gnucash
15:14:49 <lmat> It looks like this failure is a fluke: https://travis-ci.org/Gnucash/gnucash/jobs/305965087
15:14:52 <lmat> Would someone restart it for me?
15:18:52 *** frakturfreak has joined #gnucash
15:19:21 *** fekepp has quit IRC
15:19:30 *** fekepp has joined #gnucash
15:19:34 <frakturfreak> Is there no easy way to balance out foreign currency transactions
15:20:19 *** bertbob has quit IRC
15:22:17 <warlord> frakturfreak: trading accounts? Or just deal in your local currency
15:22:24 *** bertbob has joined #gnucash
15:22:35 *** fekepp has quit IRC
15:24:07 <frakturfreak> I’ve set it up in trading accounts. Allthough in the end I have just one expenditure in the foreign currency. The rest of the transactions are all in my currency.
15:25:34 *** bertbob has quit IRC
15:27:17 *** fekepp has joined #gnucash
15:30:26 *** fekepp has quit IRC
15:31:30 <gjanssens> lmat: done
15:32:12 *** gjanssens has quit IRC
15:32:38 *** fekepp has joined #gnucash
15:41:32 *** bertbob has joined #gnucash
15:41:32 *** fekepp1 has joined #gnucash
15:41:37 *** fekepp has quit IRC
15:41:37 *** fekepp1 is now known as fekepp
15:42:15 *** ArtGravity has quit IRC
15:49:33 *** fekepp has quit IRC
15:50:13 *** fekepp has joined #gnucash
16:05:15 *** fekepp has quit IRC
16:09:47 *** fekepp has joined #gnucash
16:35:25 <lmat> Again, pray? https://travis-ci.org/Gnucash/gnucash/jobs/305965087
16:39:53 *** jon has joined #gnucash
16:41:17 *** qCharm_ has joined #gnucash
16:42:08 *** qCharm_ has quit IRC
16:45:12 *** fekepp1 has joined #gnucash
16:45:27 *** fekepp has quit IRC
16:45:28 *** fekepp1 is now known as fekepp
16:46:20 *** pilotauto has joined #gnucash
16:46:25 *** frakturfreak has quit IRC
17:09:08 *** DataWraith has quit IRC
17:29:56 *** bertbob has quit IRC
17:30:59 *** bertbob has joined #gnucash
17:34:15 *** bertbob has quit IRC
17:42:28 *** puck has quit IRC
17:44:29 *** puck has joined #gnucash
17:50:11 *** bertbob has joined #gnucash
17:53:26 *** bertbob has quit IRC
18:03:19 *** qCharm has quit IRC
18:08:16 *** carwynnelson has quit IRC
18:09:20 *** bertbob has joined #gnucash
18:16:00 *** bertbob has quit IRC
18:17:49 *** bertbob has joined #gnucash
18:33:21 *** carwynnelson has joined #gnucash
18:42:08 *** carwynnelson has quit IRC
18:54:24 *** bertbob has quit IRC
18:55:25 *** bertbob has joined #gnucash
19:01:15 *** fekepp has quit IRC
19:01:16 *** fekepp has joined #gnucash
19:13:12 *** fekepp has quit IRC
19:13:14 *** fekepp has joined #gnucash
19:13:43 *** fekepp has quit IRC
20:51:07 *** bertbob has quit IRC
20:54:46 *** bertbob has joined #gnucash
21:27:09 *** shakes808 has joined #gnucash
22:40:24 *** shakes808 has quit IRC
23:00:51 *** marusich has joined #gnucash
23:05:59 *** bertbob has quit IRC
23:07:01 *** bertbob has joined #gnucash
23:53:07 *** jotrago has quit IRC