2020-11-20 GnuCash IRC logs

00:14:02 *** CDB-PHONE_ has quit IRC
00:14:03 *** CDB-PHONE_ has joined #gnucash
01:04:49 *** Mechtilde has joined #gnucash
01:14:34 *** sbluhm has joined #gnucash
01:14:34 *** ChanServ sets mode: +v sbluhm
01:39:19 *** sbluhm has quit IRC
01:39:52 *** frakturfreak has quit IRC
01:42:48 *** fell has quit IRC
01:44:07 *** fell has joined #gnucash
01:44:07 *** ChanServ sets mode: +o fell
01:54:15 *** frakturfreak has joined #gnucash
01:56:23 *** suukim has joined #gnucash
02:26:14 *** sbluhm has joined #gnucash
02:26:14 *** ChanServ sets mode: +v sbluhm
02:33:31 *** suukim has quit IRC
03:15:19 *** User has joined #gnucash
04:04:56 *** gjanssens has joined #gnucash
04:04:56 *** ChanServ sets mode: +o gjanssens
04:22:44 <chris> jralls CDB ok we've established ACB is defined for Canadians so should be named as such
04:23:12 <chris> I'd still like to confirm the dialog-stock-editor is general enough for any country
04:25:36 <chris> Oz some weird methods https://www.ato.gov.au/General/Capital-gains-tax/Working-out-your-capital-gain-or-loss/Working-out-your-capital-gain/Choosing-the-indexation-or-discount-methods/
04:25:52 <chris> eg Indexation depends on CPI (gah)
04:26:30 <chris> I undertand dialog-stock-editor shouldn't suggest capgain amount
04:27:30 <chris> (it would be nice though if it could highlight completely invalid ones tho - eg buy 1 AAPL @ $1000, buy 1 AAPL @ 1500, sell 1 AAPL @ $1800 with capgains = $1000 must be wrong in any jurisdiction)
04:27:57 <chris> ^ a data-entry basic check is all I'm after
04:29:31 <chris> perhaps CDB can come up with a magic formula that can assist
04:31:46 <chris> this AAPL dance has FIFO capgain = $800, LIFO capgain = $300, avg-cost capgain $550 gives us an acceptable range
04:33:04 <chris> this is now converging towards combinatorics if lots are used
04:41:44 *** bertbob has quit IRC
04:47:42 *** bertbob has joined #gnucash
04:47:42 *** ChanServ sets mode: +v bertbob
05:23:24 <chris> no matter which method is used FIFO LIFO Average-Cost(aka ACB) I believe a formula is doable
05:25:14 *** ramontjunior has joined #gnucash
05:26:05 <chris> this rabbit hole has only 3 branches
06:13:47 *** storyjesse has joined #gnucash
06:17:12 *** Herbert has joined #gnucash
07:30:00 *** sbluhm has quit IRC
07:48:44 *** sbluhm has joined #gnucash
07:48:47 <warlord> fell, flatpak build of maint died last night.
08:20:14 *** sbluhm has quit IRC
08:42:55 *** Aussie_matt has quit IRC
08:46:15 *** CDB-PHONE_ has quit IRC
08:47:26 *** David has quit IRC
08:47:31 *** David has joined #gnucash
08:52:39 *** Jimraehl1 has joined #gnucash
08:53:31 *** Jimraehl1 has quit IRC
09:17:24 *** CDB-PHONE has joined #gnucash
09:17:24 *** ChanServ sets mode: +v CDB-PHONE
09:37:32 *** storyjesse has quit IRC
09:39:10 *** David has quit IRC
09:39:38 *** David has joined #gnucash
09:39:55 *** jervin has quit IRC
09:39:55 *** lmat has quit IRC
09:47:07 *** fell has quit IRC
09:47:29 *** fell has joined #gnucash
09:47:29 *** ChanServ sets mode: +o fell
09:54:17 *** lmat has joined #gnucash
10:13:41 <chris> warlord: must be amusing seeing us reinventing the wheel every few years... policy.c
10:15:09 <warlord> hahaha.
10:18:55 <fell> warlord, I cannot find any build-maint-2020-11-20-*.log, neither in https://code.gnucash.org/builds/flatpak/build-logs/maint/2020-11/ nor in https://code.gnucash.org/builds/flatpak/build-logs/?C=M;O=D
10:18:57 *** sbluhm has joined #gnucash
10:20:04 <warlord> my guess is it died early, like it did back on the 6th.
10:20:26 <fell> Can you restart it?
10:21:06 <warlord> Yep, same issue as last time:
10:21:06 <warlord> cat /home/gnucash-docs/flatpak/logs/build-maint-2020-11-20-01-00-02.log
10:21:07 <warlord> Starting flatpak build run for maint
10:21:07 <warlord> Uploading log file 'build-maint-2020-11-20-01-00-02.log'
10:21:07 <warlord> rsync: link_stat "/home/gnucash-docs/flatpak/logs/build-maint-2020-11-20-01-00-02.log" failed: No such file or directory (2)
10:21:08 <warlord> rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3]
10:21:33 *** ChanServ sets mode: +v ericdm
10:23:14 *** CDB-PHONE has quit IRC
10:23:24 <warlord> fell, I'm firing off a build by hand.
10:23:37 <fell> Thanks!
10:25:44 <fell> OTOH we are still on commit 4332c58 - no changes since 18.
10:26:53 <warlord> Then theoretically it shouldn't build anything.
10:26:57 <fell> Could that be related to the failure?
10:27:40 <fell> Our Flatpak build is not smart enough.
10:29:01 <warlord> Shouldn't be
10:29:26 <fell> There is no flatpakref for 18, because it was overwritten by 19.
10:31:49 <warlord> So weird. Not sure why it would do that..
10:31:55 <warlord> BUt I didn't write that code.
10:32:44 *** jervin has joined #gnucash
10:34:01 <fell> That is one of the slightly, bu confusing differences between the flatpak and the windows buils.
10:35:14 <warlord> Oh? How? Both are built out of git-based scripts.
10:40:06 <fell> perhaps gjanssens could adjust build_package.sh? I don't want to break something else.
10:45:32 <warlord> well, don't know why, but the builds are working now. Maint is done, and it's doing Master now.
10:50:04 <Robert847> Am I live?
10:50:45 <warlord> I dunno.. I hope so.
10:51:45 <Robert847> Anyone having problems with network residing data files in the last several hours or days, partivularly with Ubuntu 18.04?
10:53:50 <Robert847> Sorry, about the live question, maybe Pidgin was running minimized
10:54:58 <warlord> what kind of network-residing data service are you using?
10:56:55 <Robert847> My personal NAS
10:57:14 <warlord> NFS? CIFS? Something Else?
10:57:51 <Robert847> does Windows share make sense?
10:59:15 *** ArtGravity has joined #gnucash
10:59:15 *** ChanServ sets mode: +v ArtGravity
11:01:27 <Robert847> My Windows machine and Linux Lite machines and some programs on the Ubuntu 118.04 machinecan read and write withj no problem but GnuCash 2.6.19 just crashed while trying to write and Firefox can no longer find windows shares on that machine
11:06:11 <chris> fell: I have an upcoming date-utilities.scm and I'll need to ask you to verify the strings are translated properly. I'll create PR.
11:06:23 <chris> fell: I have an upcoming date-utilities.scm *cleanup and I'll need to ask you to verify the strings are translated properly. I'll create PR.
11:06:58 <Robert847> I forgot to say this is LAN, not internet
11:11:51 <Robert847> The last gnucash.trace indicates intermittent chown failures over the last several hours
11:12:17 <Robert847> also chmod
11:13:52 <Robert847> smb seem to have changed recently on that machine
11:20:27 <Robert847> I am slowly getting smarter. I just found that samba-libs and samba-common were upgraded on Nov 11, about when the Firefox problems started
11:20:55 <Robert847> no, Nov 6, not Nov 11
11:22:11 <chris> jralls: mac-tests: all jobs have failed
11:24:47 *** jcarl43 has joined #gnucash
11:24:48 *** ChanServ sets mode: +v jcarl43
11:24:57 *** sbluhm has quit IRC
11:26:38 <Robert847> If I decide the problem is GnuCash i will come back, first I will look at Ubuntu
11:31:56 <warlord> fell, builds done
11:32:56 <warlord> Robert847, it sounds like a filesystem issue to me.
11:45:37 *** o01eg has quit IRC
11:54:41 *** o01eg has joined #gnucash
12:03:59 <fell> warlord, thanks, both branches built again.
12:04:59 <warlord> yeah. Wish I knew why the overnight failed.
12:06:22 <fell> The name of the upload existed already?
12:07:21 <fell> But sometimes, it succeeds despite smane name.
12:07:33 <fell> same name
12:07:46 <warlord> Well, the error is "No such file or directory", so... unlikely?
12:13:17 <fell> Mom asked for her dinner …
12:13:36 <warlord> I am still hoping gjanssens can take a quick look.
12:13:47 <warlord> (or add some more debugging)
12:14:25 <warlord> I suppose I can change my build script to save the output and print it on error instead of sending all output to /dev/null
12:18:59 <warlord> Okay, I changed the build script so I might get more information on the failure if it happens again!
12:21:34 *** guak has joined #gnucash
12:43:16 <jralls> chris, Where? The last push on github was mine of the 17th that added the mac tests and it shows that it passed.
12:44:03 *** guak has quit IRC
12:45:18 <jralls> chris, CDB-Man, keep in mind that the average-cost function is primarily to make sure that the trial balance report can be balanced not for doing one's taxes.
12:52:01 <jralls> chris, US tax law offers an option, you can identify specific lots or cerificates at the time of sale to use as the basis: https://www.irs.gov/publications/p550#en_US_2019_publink100010385.
12:54:47 <jralls> chris, but don't worry about that, worry about getting the TB report to work in cases like CDB-Man's US brokerage account. I think we need to change the transaction currency to the root currency but maybe you can think of another way.
13:27:43 *** sbluhm has joined #gnucash
13:27:43 *** ChanServ sets mode: +v sbluhm
13:34:08 *** jervin has quit IRC
13:48:12 <fell> I usually go another: 1. buy foreign currency, 2. buy commodities in foreign currency. Then each time there is a flowout, convert back at relevant date, report inccome, prepay tax...
13:50:17 <fell> It conforms with that what involved institutions report to me.
13:50:46 *** halipaul has quit IRC
13:51:00 <jralls> If I understand that correctly it's what CDB-Man says is correct: All foreign-asset transactions should be immediately repriced in the home currency.
13:51:29 <jralls> With trading gains/losses accounted for.
13:52:26 *** halipaul has joined #gnucash
13:52:46 <jralls> OTOH prepaying taxes unless you have to is giving your government an interest free loan. They'd rather you'd buy their bonds and pay them interest on top of it!
14:24:19 <frakturfreak> not necessairly in regards to the interest free loan if you can wait long enough. At least in my jurisdiction.
14:27:26 *** jervin has joined #gnucash
14:39:25 <gjanssens> fell, warlord: I can probably look at the flatpak build script tomorrow
14:42:46 <fell> I do not pay, the government forces the banks to do it .
14:44:39 *** Mechtilde has quit IRC
14:49:14 *** Mechtilde has joined #gnucash
14:58:28 <warlord> gjanssens, okay. I changed my cron job script to save the output (instead of directing to /dev/null) and then it will echo it if there is an error. SO, I'll get more information, hopefully, if there is a failure.
15:02:47 *** ramontjunior has quit IRC
15:06:07 *** fell has quit IRC
15:08:37 *** fell has joined #gnucash
15:08:37 *** ChanServ sets mode: +o fell
15:38:29 *** jw4 has quit IRC
15:39:08 *** jw4 has joined #gnucash
15:42:31 *** jervin has quit IRC
15:45:28 *** ArtGravity has quit IRC
16:01:10 *** gjanssens has quit IRC
16:22:10 *** Agfarmer18 has joined #gnucash
16:24:13 *** Agfarmer18 has quit IRC
16:41:58 *** sbluhm has quit IRC
16:49:33 <fell> jralls, I found -fdebug-prefix-map=old=new in https://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html. Would it help to avoid build pathes in the logs of windows runs? [https://lists.gnucash.org/logs/2020/11/19.html#T11:39:31]
16:52:27 <jralls> fell, no. It changes only the paths in the debug information for gdb.
16:56:56 *** User has quit IRC
16:59:54 <jralls> fell -fmacro-prefix-map=c:/gcdev64/gnucash/maint/src/aqbanking-6.2.5=. would shorten the paths a bit but it wouldn't help Mr. Fischer-Claes, the files still wouldn't exist on his system. We don't include the source files.
17:03:30 <fell> But I think the flatpak logs look ways cleaner.
17:25:37 <jralls> That has nothing at all to do with the problem of aqbanking messages.
17:26:24 <jralls> Nor, I think, does it have to do with the compiler; I think the compilation logs are mostly emitted by ninja or make.
17:28:56 *** Mechtilde has quit IRC
17:31:30 <jralls> fell, can you point to a bit of a windows build log that you don't like? The messages emitted by ninja for building GnuCash look the same on both.
17:41:31 <fell> not in the build logs, in the trace files. Example frommflatpak: * 18:29:34 ERROR <aqbanking> provider_user.c: 110: Error creating user for backend [none], ignoring
17:45:24 <fell> There we have only the filename "provider_user.c" instead of the full path on the build server.
17:46:18 <jralls> OK. That would be -fmacro-prefix-map: It changes the __FILE__ substitution.
18:02:37 *** fell has quit IRC
18:07:32 *** fell has joined #gnucash
18:07:32 *** ChanServ sets mode: +o fell
18:18:41 *** storyjesse has joined #gnucash
18:27:16 *** storyjesse1 has joined #gnucash
18:27:41 *** storyjesse has quit IRC
18:27:41 *** storyjesse1 is now known as storyjesse
18:34:15 *** storyjesse has quit IRC
18:52:05 *** jervin has joined #gnucash
19:29:33 *** jcarl43 has quit IRC
20:03:07 *** jervin has quit IRC
20:05:37 *** Aussie_matt has joined #gnucash
20:26:09 <crossan007_> Is there a way to "reset" the "Last Occur" date on a scheduled transaction?
21:23:02 *** halipaul has quit IRC
21:29:23 <crossan007_> nvm. figured it out. update schedxactions set last_occur = NULL;
21:43:39 *** jervin has joined #gnucash
22:24:49 *** halipaul has joined #gnucash
22:28:09 *** jervin has quit IRC
22:29:25 *** Cuare has joined #gnucash
22:29:25 *** ChanServ sets mode: +v Cuare
23:48:07 *** Cuare has quit IRC