2018-06-18 GnuCash IRC logs

00:09:09 *** windboy has quit IRC
00:16:05 *** windboy has joined #gnucash
00:20:55 *** b3niup has quit IRC
00:22:12 *** windboy has quit IRC
00:22:46 *** windboy has joined #gnucash
00:26:59 *** windboy has quit IRC
00:28:05 *** windboy has joined #gnucash
00:53:20 *** windboy has quit IRC
00:54:00 *** windboy has joined #gnucash
01:15:52 *** boldstripe has quit IRC
01:41:02 *** windboy has quit IRC
01:49:17 *** fell_laptop has joined #gnucash
01:51:03 *** fell has quit IRC
01:51:07 *** fell_afk has quit IRC
01:52:09 *** fell_afk has joined #gnucash
01:53:29 *** frakturfreak has quit IRC
02:00:04 *** fabior has joined #gnucash
02:08:20 *** frakturfreak has joined #gnucash
02:29:11 *** fekepp has quit IRC
03:01:54 *** gour has joined #gnucash
03:06:38 *** fekepp has joined #gnucash
03:09:15 *** fabior has quit IRC
03:20:12 *** Mechtilde has joined #gnucash
03:40:41 *** fell_laptop has quit IRC
03:44:29 *** Mechtilde has quit IRC
03:57:47 *** fabior has joined #gnucash
04:01:49 *** Mechtilde has joined #gnucash
04:06:44 *** Mechtilde has quit IRC
04:20:50 *** jotrago has joined #gnucash
04:44:53 *** eagles0513875 has quit IRC
04:45:44 *** eagles0513875 has joined #gnucash
04:46:00 *** ncv has joined #gnucash
04:53:42 *** Mechtilde has joined #gnucash
05:07:33 *** Mechtilde has quit IRC
05:09:07 *** windboy has joined #gnucash
05:22:39 *** windboy has quit IRC
05:23:15 *** windboy has joined #gnucash
05:42:53 *** ncv has quit IRC
05:43:05 *** ncv has joined #gnucash
05:46:06 *** ncv_ has joined #gnucash
05:47:26 *** ncv has quit IRC
05:48:49 *** fabior has quit IRC
06:03:01 *** pilotauto has quit IRC
06:22:22 *** fekepp has quit IRC
06:24:28 *** fekepp has joined #gnucash
06:29:34 *** Jimraehl1 has joined #gnucash
06:30:47 *** Jimraehl1 has left #gnucash
06:40:42 *** Mechtilde has joined #gnucash
07:03:02 *** chris has joined #gnucash
07:09:13 *** gncbot sets mode: +o fell_afk
07:09:22 *** fell_afk is now known as fell
07:21:23 *** jotrago has quit IRC
07:21:56 *** Sebastian has joined #gnucash
07:25:24 *** jotrago has joined #gnucash
07:44:10 *** Sebastian has quit IRC
07:44:51 *** Sebastian has joined #gnucash
07:45:48 *** flips has quit IRC
07:47:09 *** jotrago has quit IRC
07:47:47 *** boldstripe has joined #gnucash
07:48:47 *** Sebastian has quit IRC
07:49:25 *** Sebastian has joined #gnucash
07:50:08 *** ncv__ has joined #gnucash
07:51:25 *** ncv_ has quit IRC
07:59:12 *** Sebastian has quit IRC
07:59:52 *** Sebastian has joined #gnucash
08:03:47 *** Sebastian has quit IRC
08:04:27 *** Sebastian has joined #gnucash
08:05:10 *** Mechtilde has quit IRC
08:05:24 *** Mechtilde has joined #gnucash
08:05:47 *** miqrogroove has joined #gnucash
08:06:21 <miqrogroove> Need a wiki admin to add upload permission to my account.
08:06:21 <gncbot> miqrogroove: Sent 32 weeks, 6 days, 20 hours, and 52 minutes ago: <jralls> I closed your Uservoice item because it simply duplicated a bug report.
08:07:38 <miqrogroove> "The action you have requested is limited to users in one of the groups: Administrators, uploadaccess."
08:12:20 *** miqrogroove has quit IRC
08:18:41 *** Mechtilde has quit IRC
08:27:00 *** Mechtilde has joined #gnucash
08:30:06 *** Mechtilde has quit IRC
08:41:33 *** harshitaneja has joined #gnucash
08:45:06 *** oozer has joined #gnucash
08:47:38 *** harshitaneja has quit IRC
09:00:06 *** chf1 has quit IRC
09:03:53 *** Sebastian has quit IRC
09:04:44 *** Sebastian has joined #gnucash
09:05:45 *** storyjesse has joined #gnucash
09:08:49 *** Sebastian has quit IRC
09:09:33 *** Sebastian has joined #gnucash
09:11:04 *** chf has joined #gnucash
09:24:33 *** windboy has quit IRC
09:35:34 *** miqrogroove has joined #gnucash
09:38:02 *** miqrogroove has quit IRC
09:42:35 *** Sebastian has quit IRC
09:46:37 *** Sebastian has joined #gnucash
09:50:53 *** harshitaneja has joined #gnucash
09:53:48 *** Sebastian has quit IRC
09:54:22 *** harshitaneja has quit IRC
09:54:33 *** Sebastian has joined #gnucash
09:58:31 *** fabior has joined #gnucash
10:09:09 *** Dee has joined #gnucash
10:15:40 *** User_ has joined #gnucash
10:20:00 *** storyjesse has quit IRC
10:22:03 *** User_ has quit IRC
10:22:08 <fell> miqrogroove, can you tell me, what you are planning? Still on https://wiki.gnucash.org/wiki/Void_Transactions?
10:24:09 <fell> @tell miqrogroove Can you tell us, what you are planning, where you need upload rights?
10:24:09 <gncbot> fell: The operation succeeded.
10:26:42 <fell> He did not contribute very much until now: https://wiki.gnucash.org/wiki/Special:Contributions/Miqrogroove
10:32:51 *** fekepp has quit IRC
10:33:58 *** fekepp has joined #gnucash
10:49:14 *** Sebastian has quit IRC
10:52:06 *** Sebastian has joined #gnucash
10:53:48 *** Sebastian has quit IRC
10:54:32 *** Sebastian has joined #gnucash
11:02:51 *** ArtGravity has joined #gnucash
11:12:56 *** Dee has quit IRC
11:14:05 *** Dee has joined #gnucash
11:16:06 *** jotrago has joined #gnucash
11:20:55 <chris> rebuilding a much simpler balsheet from scratch :) https://imgur.com/SjJeA1E
11:24:16 <chris> I won't be refactoring old code; I'll slowly augment basic balsheet until majority existing options are featured
11:31:18 *** Dee has quit IRC
11:32:23 *** Dee has joined #gnucash
11:51:30 *** windboy has joined #gnucash
12:22:50 *** eagles0513875 has quit IRC
12:24:07 *** eagles0513875 has joined #gnucash
12:27:08 *** Mechtilde has joined #gnucash
12:30:02 *** Sebastian has quit IRC
13:09:49 *** windboy has quit IRC
13:10:22 *** windboy has joined #gnucash
13:25:22 *** lmat has joined #gnucash
13:26:58 *** boldstripe_ has joined #gnucash
13:27:20 *** boldstripe has quit IRC
13:27:21 *** boldstripe_ is now known as boldstripe
13:45:51 *** fabior has quit IRC
14:20:42 *** fabior has joined #gnucash
14:25:01 *** calvinct has joined #gnucash
14:25:53 *** fabior has quit IRC
14:36:49 *** calvinct has quit IRC
14:53:01 *** fabior has joined #gnucash
14:59:46 *** ArtGravity has quit IRC
15:04:49 *** windboy has quit IRC
15:05:22 *** windboy has joined #gnucash
15:28:26 *** Sebastian has joined #gnucash
15:32:29 *** User_ has joined #gnucash
15:37:14 *** ArtGravity has joined #gnucash
15:40:21 *** User_ has quit IRC
15:43:21 *** Sebastian has quit IRC
15:46:51 *** ncv__ has quit IRC
16:09:51 *** calvinct has joined #gnucash
16:16:13 *** Mechtilde has quit IRC
16:18:50 *** fekepp has quit IRC
16:19:28 *** fekepp has joined #gnucash
16:26:35 *** bertbob has quit IRC
16:37:15 *** fekepp has quit IRC
16:39:48 *** fekepp has joined #gnucash
16:51:27 *** boldstripe has quit IRC
16:52:21 *** bertbob has joined #gnucash
16:55:45 *** calvinct has quit IRC
17:00:09 <jralls> fell: IMO he should email the images he wants. He doesn't yet have enough history for expanded privs.
17:00:57 <jralls> chris: A good start.
17:10:51 *** fekepp has quit IRC
17:14:18 *** chf has quit IRC
17:14:41 *** chf has joined #gnucash
17:16:50 *** fabior has quit IRC
17:29:51 *** jeffpc has joined #gnucash
17:32:13 <jeffpc> I share a .gnucash file between two systems and they don't agree on the timezone in <ts:date> - one likes to use +0000, while the other uses -0500/-0400
17:32:30 <jeffpc> (they are different version gnucash binaries)
17:32:39 <jeffpc> is there a way to make them agree?
17:33:18 <jeffpc> (I'm storing the .gnucash file in a mercurial repository, and this "fighting" over timezone generates unnecessary changes which make it hard to see what changed)
17:34:01 <jeffpc> (I do *not* compress the .gnucash files, so 'hg diff' produces a diff of the XML file)
17:34:42 <jeffpc> fighting = when I save the file one one system, the opening the file on the other system rewrites all the timestamps
17:36:16 <fell> jralls: I sent him a mail.
18:08:03 *** wilson has joined #gnucash
18:08:24 *** wilson is now known as sinned
18:13:26 <luc14n0> fell: yeah, I saw it. The last rebuild of gnucash doesn't provide the file anymore.
18:14:50 *** gour_ has joined #gnucash
18:16:27 <fell> luc14n0: OK then, but last weeks update might have confused some users.
18:16:51 *** gour has quit IRC
18:17:49 <fell> BTW: could you fix the failed 3.1 build?
18:29:35 <jralls> jeffpc: Use the TZ environment variable.
18:30:48 <luc14n0> fell: what I know is that there were a boost version bump that messed things up a little bit and gnucash shouldn't have been released. The 3.1 build failure was fix, not by me though: https://progress.opensuse.org/issues/37450
18:34:20 <luc14n0> The 3.1 was actually due to that gcc parantheses error, and it was fixed. The boost mess was before it.
18:34:33 <luc14n0> s/3.1 failure
18:45:41 <jeffpc> jralls: the system which likes to use +0000 in the .gnucash file has TZ=US/Eastern
19:01:03 *** gour_ has quit IRC
19:04:33 *** Grav has joined #gnucash
19:04:37 *** ArtGravity has quit IRC
19:07:15 <jeffpc> (and explicitly setting it to EST or EDT doesn't change the behavior)
19:26:46 *** sinned has quit IRC
19:27:18 *** sinned has joined #gnucash
19:30:34 *** sinned has quit IRC
19:51:34 <jralls> jeffpc: Try "EST-5EDT".
19:51:47 * jeffpc tries
19:52:18 *** Grav has quit IRC
19:52:49 <jeffpc> still +0000
19:53:16 <jralls> How are you testing?
19:53:36 <jeffpc> TZ=foo gnucash blahg.gnucash ; edit a txn + click save; hg diff
19:53:51 <jralls> Are you on Linux?
19:54:06 <jeffpc> an illumos-based system, so Unix but not Linux
19:55:36 <jeffpc> the other system (that uses the -0400/-0500) is Linux
19:57:24 <jralls> And the illunos system's TZ is set to UTC?
19:58:35 <jeffpc> the hw clock on my laptop is UTC, but I set TZ=US/Eastern system-wide
19:59:44 <jeffpc> (fwiw, gnucash binary is build from pkgsrc)
20:00:08 <jralls> So it's only GnuCash that's having trouble getting TZ information. Does it have /usr/share/zoneinfo?
20:00:35 <jeffpc> yeah, there is zoneinfo and everything else on the system is happy with the timezone setting
20:01:30 <jeffpc> btw, what's the correct behavior here? should gnucash be using the local tz in the xml?
20:01:38 <jralls> Does /usr/share/zoneinfo/US/Eastern exist? Is it a regular file?
20:02:08 *** eagles0513875 has quit IRC
20:02:17 <jeffpc> the path is /usr/share/lib/zoneinfo/US/Eastern, but yes a regular file
20:02:30 <jeffpc> (illumos a bit quirky)
20:02:39 <jeffpc> (illumos is a bit quirky)
20:02:44 *** eagles0513875 has joined #gnucash
20:02:48 <jralls> Aha! Set TZDIR="/usr/share/lib/zoneinfo".
20:03:36 <jeffpc> that did it
20:03:49 <jeffpc> is gnucash trying to read TZ files directly?
20:05:04 <jralls> Yes, because boost::date_time doesn't know how to read them, so I lifted the GLib code for reading zone info from zonefiles on Unix and the registry on Windows.
20:05:19 <jeffpc> ah ok
20:06:05 <jeffpc> looks like /usr/share/lib/zoneinfo is the default from tzcode
20:06:11 <jeffpc> include/tzfile.h:#define TZDIR "/usr/share/lib/zoneinfo" /* Time zone object file directory */
20:06:42 <jeffpc> well, that might be the butched by illumos file
20:06:45 <jeffpc> anyway
20:06:49 <jeffpc> I'll add TZDIR to my environment
20:07:03 <jeffpc> thanks for your help!
20:07:50 <jralls> Actually the IANA-distributed tzfile.h defins it as /usr/local/etc/zoneinfo.
20:08:00 <jralls> s/defins/defines/
20:08:11 <jeffpc> ok, fair enough
20:10:12 <jralls> Linux and MacOS both put it at /usr/share/zoneinfo, so I set that as the default when TZDIR isn't defined. I don't think I can count on tzfile.h being available, but I'll look into that. It would be better to get the OS's value directly.
20:11:28 <jeffpc> FWIW, this is /usr/include/tzfile.h: http://src.illumos.org/source/xref/illumos-gate/usr/src/head/tzfile.h
20:11:47 <jeffpc> on illumos derived systems (openindiana, omnios, smartos, ...)
20:12:07 <jralls> That doesn't do me any good. It needs to be in /usr/include somewhere on the build system.
20:13:00 <jeffpc> it gets installed on all illumos systems, so the build host *will* have it
20:13:17 <jeffpc> so, you could add autoconf/whatever magic if you wanted to
20:13:33 <jeffpc> up to you, I have a reasonable workaround so I'm happy :)
20:14:18 <jralls> It would be CMake magic, but yeah, that's what I'm looking for.
20:14:52 <jeffpc> cool, I like cmake much more
20:16:51 <jeffpc> I guess alternatively you could just try to find the location of tz files during build and assume that build's location == target's location
20:24:35 <jralls> Looks like I'll have to. Debian distributes that file only in the glibc sources.
20:26:29 <jralls> Heehee. There's a note in it "Do NOT copy it to any system include directory." I'm reading the one from the MacOS SDK's .../usr/include/tzfile.h. Maybe only Debian took that seriously.
20:26:46 <jeffpc> heh
20:27:22 <jeffpc> another option: document this somewhere where a search engine will find it
20:28:45 <jralls> It already is: http://code.gnucash.org/logs/2018/06/18.html.
20:29:05 <jeffpc> ah :)
20:44:35 <jeffpc> interesting, I just made a new account and 'hg diff' says:
20:44:35 <jeffpc> - <ts:date>201-01-22 23:57:18 -0456</ts:date>
20:44:35 <jeffpc> + <ts:date>201-01-22 23:57:16 -0456</ts:date>
20:45:42 <jeffpc> oddly enough, that's in a <price> of a mutual fund, but I added a new expense (USD) account
20:46:54 <jralls> You also made a typo that's going to cause trouble: "201" instead of "2018". Since you didn't get an error I guess that you're still on 2.6.x.
20:46:56 <jeffpc> (it looks like this ts has been around for a while and it gets modified frequently
20:47:13 <jeffpc> 2.6.19
20:48:13 <jeffpc> ah, yep
20:48:17 <jeffpc> fixed it in the price editor
20:49:48 <jralls> That it's 2.6 means it's using GDateTime instead of Boost::date_time, so the code that I lifted rather than my C++ translation.
20:50:05 <jralls> Nothing I can do about GLib's default for the TZ file!
20:51:03 <jralls> *However* the fact that it's before timezones were invented in the 1880s may explain why the TZ is weird.
20:51:14 <jeffpc> :)
21:19:38 *** oozer has quit IRC
21:37:25 *** jralls has quit IRC
23:15:58 *** windboy has quit IRC
23:16:31 *** windboy has joined #gnucash
23:27:40 *** jethrogb has quit IRC
23:29:43 *** pilotauto has joined #gnucash
23:40:48 *** jethrogb has joined #gnucash
23:45:38 *** storyjesse has joined #gnucash
23:51:34 *** jethrogb has quit IRC
23:55:39 *** jethrogb has joined #gnucash