2020-12-27 GnuCash IRC logs

01:16:34 *** sbluhm has joined #gnucash
01:16:34 *** ChanServ sets mode: +v sbluhm
01:17:50 <CDB-Man_> anyone else notice on windows that the account split auto complete is acting wonky?
01:18:13 <CDB-Man_> if I type more than 3 letters, the field blanks and will not acept another input, until a finish editin the transactioion, go to another tab, then go back
01:21:16 <CDB-Man_> Build ID: git 4.2-198-ge9a117b21+(2020-11-13)
01:21:23 <CDB-Man_> I will grab the next nightly to see if tha resolves
01:25:28 *** storyjesse has joined #gnucash
01:38:47 <CDB-Man_> ===
01:39:09 <CDB-Man_> unrelated, the new nightly opens all invoices each in a new window, rather than in the same window.. where is the settting to change this preference?
01:39:23 *** fell has quit IRC
01:40:42 *** fell has joined #gnucash
01:40:42 *** ChanServ sets mode: +o fell
01:40:51 *** frakturfreak has quit IRC
01:42:04 *** sbluhm has quit IRC
01:45:01 *** David has quit IRC
01:48:12 *** giuseppef-PHONE has quit IRC
01:48:44 *** giuseppef-PHONE has joined #gnucash
01:48:44 *** ChanServ sets mode: +v giuseppef-PHONE
01:55:06 *** frakturfreak has joined #gnucash
01:55:06 *** ChanServ sets mode: +v frakturfreak
02:09:10 *** Mechtilde has joined #gnucash
02:15:56 *** sbluhm has joined #gnucash
02:18:56 *** sbluhm has quit IRC
02:48:03 *** sbluhm has joined #gnucash
02:48:03 *** ChanServ sets mode: +v sbluhm
03:38:28 *** Mechtilde has quit IRC
04:10:33 *** sbluhm has quit IRC
04:45:37 <CDB-Man_> is there a way to increase the precision on stock accounts? i need more fractional decimals for BTC
04:50:43 *** sbluhm has joined #gnucash
04:50:43 *** ChanServ sets mode: +v sbluhm
05:05:16 <CDB-PHONE_> need at least 10 decimal places
05:05:25 <CDB-PHONE_> to account for a Satoshi
05:05:42 *** sbluhm has quit IRC
05:05:49 <CDB-PHONE_> which is either 10^-8 or -10, don't remember
05:09:26 <CDB-PHONE_> a more practical benchmark: 5000 Satoshi ~= $1.00 USD
05:09:34 <CDB-PHONE_> at least at current prices
05:10:44 <CDB-PHONE_> A satoshi is the smallest unit of a bitcoin, equivalent to 100 millionth of a bitcoin.
05:10:54 <CDB-PHONE_> https://www.investopedia.com/terms/s/satoshi.asp
05:11:10 <CDB-PHONE_> I can file a feature request for this in the morning if that's what's needed
05:26:56 <chris> don't think jralls is keen for it; there are 128-bit limits for the numerator/denominator calculators. my suggestion is to store mBTC instead.
05:35:14 <CDB-PHONE_> unfortunately, sources like yahoo quote full BTC for price db purposes
05:35:27 <CDB-PHONE_> I can't think of a source that quotes in mbtc
05:35:36 <CDB-PHONE_> and is also finance quote friendly
05:46:18 *** giuseppef-PHONE has quit IRC
05:46:37 *** giuseppef-PHONE has joined #gnucash
05:46:37 *** ChanServ sets mode: +v giuseppef-PHONE
05:48:07 *** giuseppef-PHONE has quit IRC
05:48:28 *** giuseppef-PHONE has joined #gnucash
05:48:28 *** ChanServ sets mode: +v giuseppef-PHONE
05:50:57 *** o01eg has joined #gnucash
05:54:02 *** giuseppef-PHONE has quit IRC
05:54:29 *** giuseppef-PHONE has joined #gnucash
05:54:29 *** ChanServ sets mode: +v giuseppef-PHONE
06:33:27 *** User_ has joined #gnucash
06:36:45 *** field^Mop has joined #gnucash
06:47:43 *** sbluhm has joined #gnucash
06:47:43 *** ChanServ sets mode: +v sbluhm
07:06:47 *** giuseppef-PHONE has quit IRC
07:07:23 *** giuseppef-PHONE has joined #gnucash
07:07:23 *** ChanServ sets mode: +v giuseppef-PHONE
07:22:13 *** sbluhm has quit IRC
07:31:04 *** qwer has joined #gnucash
07:52:45 *** field^Mop has quit IRC
08:02:20 *** giuseppef-PHONE has quit IRC
08:02:38 *** giuseppef-PHONE has joined #gnucash
08:02:38 *** ChanServ sets mode: +v giuseppef-PHONE
09:22:09 *** sbluhm has joined #gnucash
09:22:09 *** ChanServ sets mode: +v sbluhm
09:26:21 *** giuseppef-PHONE has quit IRC
09:26:27 *** giuseppef-PHONE has joined #gnucash
09:26:27 *** ChanServ sets mode: +v giuseppef-PHONE
09:58:02 *** Agfarmer18 has joined #gnucash
09:58:26 *** sbluhm has quit IRC
10:03:25 *** gjanssens has joined #gnucash
10:03:26 *** ChanServ sets mode: +o gjanssens
10:04:57 <chris> Hi gjanssens!
10:05:10 <gjanssens> Hey chris!
10:05:28 <gjanssens> Merry Christmas to all :)
10:05:32 *** ericdm has quit IRC
10:07:25 *** Agfarmer18 has quit IRC
10:10:30 *** field^Mop has joined #gnucash
10:10:49 *** sbluhm has joined #gnucash
10:17:33 *** sbluhm has quit IRC
10:20:47 <giuseppef-PHONE> What are the steps now for new release?
10:35:51 *** sbluhm has joined #gnucash
10:35:51 *** ChanServ sets mode: +v sbluhm
10:43:58 <fell> giuseppef-PHONE: https://wiki.gnucash.org/wiki/Release_Process
11:06:06 <jralls> fell, We can if they still exist in C/figures. The it docs translation hasn't been materially changed from 2.6 and might refer to figures that no longer exist.
11:08:06 *** sbluhm has quit IRC
11:08:13 <fell> ISTR symlinks were discouraged (in svn?). It's no problem now?
11:08:45 <fell> AFAIK nobody removed images.
11:09:34 <jralls> CDB-PHONE_ A satoshi is 10**-9 BTC so you want 1/10**9 for the max fraction in the security editor. That's been the min since 3.0; my rewrite of gnc-numeric was specifically to create enough headroom to make that possible.
11:09:40 *** sbluhm has joined #gnucash
11:09:41 *** ChanServ sets mode: +v sbluhm
11:10:16 <jralls> Where I'm not willing to go is Etherium's ridiculous 10**-16.
11:10:44 <jralls> Symlinks are still a bad idea in the repo, but the build system can make them.
11:11:11 <jralls> Merry Christmas, gjanssens!
11:13:14 <fell> Merry Christmas, gjanssens! and all, who came later.
11:16:41 *** bertbob has quit IRC
11:25:49 *** bertbob has joined #gnucash
11:25:49 *** ChanServ sets mode: +v bertbob
11:37:07 *** qwer has quit IRC
11:39:46 *** qwer has joined #gnucash
11:58:46 *** ericdm has joined #gnucash
11:59:28 *** jervin has joined #gnucash
12:01:46 *** ericdm has quit IRC
12:05:44 *** ericdm has joined #gnucash
12:10:25 *** sbluhm has quit IRC
12:14:23 *** qwer has quit IRC
12:26:30 *** field^Mop has quit IRC
12:31:14 *** squidly has joined #gnucash
12:31:14 *** ChanServ sets mode: +v squidly
12:39:55 <Robert847> Hi I just got a new kitten and it stepped on the keyboard, probably lowest row maybe right arrow. Now GnuCash is behaving weird. I can move the highlight from one transaction to another and type in places that I should be able to but the menu buttons are greyed out except for Close and if I right click tney are all greyed out except Rename Page and assign as payment. There is no asterisk in front of the filename at the top of the pa
12:39:55 <Robert847> ge
12:41:09 <Robert847> Should I try to save a transaction edit to see what happens?
12:43:19 <CDB-PHONE_> jralls: is that currently configurable somewhere and I'm just blind and not seeing it?
12:48:48 <jralls> CDB-PHONE_ It should just work. Where are you having trouble?
12:48:53 <Robert847> Looks like the edit was entered when I predded the Enter key. The asterisk appeared by the filename and the Save button in no longer greyed out. All the other things that were greyed out still are.
12:50:28 *** jervin has quit IRC
12:50:30 <jralls> Robert847 Any open dialog boxes? Don't forget to look behind windows.
12:50:53 *** jervin has joined #gnucash
12:52:20 <CDB-PHONE_> in the register itself, the digits round
12:52:35 <Robert847> No open dialog boxes. Luckily this is all by itself in it's own workspace in Ubuntu.
12:53:07 <CDB-PHONE_> stock type register setup for "BTC-USD" pull from Yahoo JSON
12:53:08 *** storyjesse has quit IRC
12:53:23 *** sbluhm has joined #gnucash
12:53:50 <CDB-PHONE_> I key in 0.00014673 units and it rounds the decimals
12:54:54 <jralls> CDB-PHONE_ Did you set the Smallest Fraction in the Account config to Use Commodity Value?
12:56:01 <CDB-PHONE_> Hmm, I will check that
12:56:36 <Robert847> However it seems that the right windows key is non-functional in the virtualbox and the enter key by the numeric keypad doesn't work in Pidgin which is running in the host OS
12:56:54 <CDB-PHONE_> if the default setting is as per commodity value, does that mean in security editor I can globally define smallest fraction for BTC?
12:56:56 <Robert847> oh, The enter key does work now
12:57:29 <Robert847> It just needed some text to send
12:57:54 <CDB-PHONE_> unrelated issue, see also my even earlier comments on the auto completion. if that is not a currently known bug, I will file a ticket
12:59:46 <jralls> CDB-PHONE_, you need to set the smallest fraction in the security editor too. GnuCash will not use a smaller value than that no matter what you put in the Account editor.
13:00:00 <CDB-PHONE_> got it
13:00:08 <CDB-PHONE_> will try that after lunch
13:02:18 <Robert847> About half of the menu actions above the menu buttons seem to be active. Example, I was able to open the Price editor and security editor, and then close them with the X button
13:05:07 <Robert847> Since I know that all my desired edits are likely already committed at this time, I would be willing to try closing the program and re-opening it.
13:06:54 <Robert847> However, I would like to have a way to re-activate the greyed out buttons without closing the program.
13:07:01 <jralls> CDB-PHONE_, about quickfill in the account fill, try 4.3 which will release shortly. If that misbehaves file a bug.
13:07:38 <jralls> Robert847, are you on Windows or Linux today?
13:08:11 <Robert847> This is Ubuntu 18.04 in Virtualbox
13:08:17 <CDB-PHONE_> okay. 4.3 nightly on maint, or this is a full global release?
13:08:50 <jralls> This is a release. The setup.exe is already in the releases folder on code.
13:08:54 <CDB-PHONE_> (the issue was still there on the most recent maint nightly dated 26th
13:10:03 <jralls> Then it's probably on the release too, the last register change was December 3.
13:10:41 <CDB-PHONE_> I will file a bug report then
13:12:46 <Robert847> Since that test transaction edit activated the Save button, I will try to save that test transaction edit, simce I should be able to easily find it again.
13:15:15 <Robert847> Saving the file did re-activate the greyed out buttons
13:16:06 <jralls> Just doing the save? That's weird.
13:17:16 <Robert847> I am now deleting the test text and saving again. This year there are so many weird things happening that I am becoming numb....
13:20:25 <Robert847> If standing on a rrow key for several seconds can cause some buffer overflow, that is about the only thing I can tink of that may have happened.
13:21:49 <Robert847> arrow key and think. This keyboard also drops keystrokes.
13:26:48 <Robert847> In this case this was release 2.6.19 which I am currently running in parallel with 3.8 in a different virtual machine. I expect to close out that release at the end of the month.
13:27:36 <Robert847> Then I will try 4.3 in parallel with 3.8
13:37:37 *** sbluhm has quit IRC
13:42:19 <Robert847> I guess the US stock markets are having a very long weekend this year
13:43:42 <jralls> They closed at noon on Thursday.
13:44:07 <jralls> Noon New York time, that is.
13:44:44 <jralls> I believe they'll do the same this coming week.
13:50:00 *** sbluhm has joined #gnucash
13:50:00 *** ChanServ sets mode: +v sbluhm
13:53:50 *** jervin has quit IRC
13:55:51 *** Mechtilde has joined #gnucash
14:35:02 *** jralls changes topic to "Free GPL Personal and Small Business Accounting || Please don't ask to ask, just ask and wait! (Possibly a few hours!!) || publicly-logged channel: https://code.gnucash.org/logs || latest stable: 4.3 || www.gnucash.org/ || wiki.gnucash.org/wiki/"
15:06:03 *** field^Mop has joined #gnucash
15:19:05 *** giuseppef-PHONE has quit IRC
15:19:09 *** jervin has joined #gnucash
15:24:01 <fell> jralls, why do you not merge master with beta in htdocs?
15:26:04 <jralls> fell, because I'd left beta checked out so the commit started there. It should have been an ff merge anyway, no merge commit.
15:27:29 <fell> Now I see 2 different branches.
15:30:56 <jralls> Odd that the 4.3 release commit has different hashes in master and beta since I cherry-picked it from beta -> master and the previous commits in each have the same hash.
15:39:58 <jralls> Interesting. git cherry-pick creates a different hash but an ff merge doesn't. I thought that they were equivalent.
15:42:42 *** jw4 has quit IRC
15:43:08 *** jw4 has joined #gnucash
15:43:08 *** ChanServ sets mode: +v jw4
15:47:14 *** gjanssens has quit IRC
15:53:44 *** sbluhm has quit IRC
15:54:10 *** Mechtilde has quit IRC
15:54:50 *** Mechtilde has joined #gnucash
16:00:02 *** sbluhm has joined #gnucash
16:00:02 *** ChanServ sets mode: +v sbluhm
16:07:09 <CDB-Man_> downloading the installer now
16:07:15 <CDB-Man_> the 4.3 installer*
16:07:48 *** giuseppef-PHONE has joined #gnucash
16:07:48 *** ChanServ sets mode: +v giuseppef-PHONE
16:20:01 <CDB-Man_> modifying the secutiry editor to add more zeros to BTC works like a charm
16:20:04 <mauritslamers> hey all, coming back at my question from two days ago: is there a way in which I can override the default print report setting in config-user.scm?
16:20:40 *** User_ has quit IRC
16:23:27 <CDB-Man_> jralls: confirmed, the quickfill for account split issue exists in 4.3, I will be filing a bug
16:23:46 <jralls> CDB-Man_ OK, thanks.
16:23:48 <CDB-Man_> mauritslamers: (not ignoring you... just I dont know the answer)
16:24:44 <mauritslamers> CDB-Man_: thanks :) I didn't think you were ignoring me :) I know that it sometimes can take a while before an answer comes :-)
16:24:55 <mauritslamers> I also know this isn't the easiest of questions neither :)
16:25:28 <jralls> mauritslamers do you mean is there a way to change some print report default using config-user.scm?
16:25:35 <mauritslamers> yes
16:25:52 <jralls> And what default exactly?
16:26:56 <mauritslamers> jralls: let me explain a bit, that makes it easier: I made a custom tax report to be used as invoice format. I would like to set that report as default print report.
16:27:51 <mauritslamers> I figured from the code that it might be compiled in...
16:28:12 <mauritslamers> as the current preference checks against the compiled static array with report ids
16:28:14 <CDB-Man_> bug filed: https://bugs.gnucash.org/show_bug.cgi?id=798061
16:29:27 <mauritslamers> jrails: https://github.com/Gnucash/gnucash/blob/maint/gnucash/gnome/gnc-plugin-business.c#L1112
16:30:05 <mauritslamers> jrails: and the function below at line 1126
16:31:26 *** jervin has quit IRC
16:32:08 <mauritslamers> Technically, I can replace the taxreport as it is in the .app (on Mac here) and use the same id, but I would have to do that for every update
16:33:27 *** yyoshino has quit IRC
16:33:43 *** yyoshino has joined #gnucash
16:33:44 <jralls> Ah. No, that's hard-coded in C, there's no way to alter it from Scheme.
16:34:33 <mauritslamers> jralls: is there a rationale to do it that way? As in: why would that selection be limited to these four reports?
16:37:36 <jralls> Rationale? Probably not. cstim wrote it, design isn't one of his strengths.
16:39:06 <jralls> OTOH, users writing their own reports is pretty rare, and calling an invoice a tax report is kind of weird.
16:40:26 <mauritslamers> jralls: the default print report is a taxreport
16:40:55 <mauritslamers> or perhaps I am messing up the terms
16:41:33 <jralls> Or maybe looking at the wrong code? That code is about invoices, not reports in general.
16:42:21 <jralls> That's why the function name is gnc_plugin_business_get_invoice_printreport.
16:43:20 <mauritslamers> ok, got my things straight: it is called a tax invoice, but it is a report
16:43:39 <mauritslamers> it is part of the business reports
16:44:00 <mauritslamers> I made a custom version of it, instead of trying to change the original with styling...
16:45:23 <mauritslamers> so, I want to use that custom version of the tax invoice as the default print report, but that is not a simple thing
16:47:06 <mauritslamers> I load it through config-user.scm, but I have to use a different id as it conflicts with the built in taxinvoice
16:47:55 <mauritslamers> but because of that different id I cannot override the stylistically rather limited built-in tax invoice
16:50:30 <jralls> Yes, I understand now. As written there's no way to do what you want. Sorry.
16:50:31 <mauritslamers> Ah, let me be even more clear: the reason why I went with making it a report with different id was that for some reason I don't seem to be able to override the default taxinvoice.eguile.scm and taxinvoice.css file settings
16:52:09 <mauritslamers> every time that I save the settings, and even if these settings are the only settings available for the tax invoice, it will load the defaults instead, which forces me for every invoice to load different settings
16:52:13 *** Mechtilde has quit IRC
16:52:24 <jralls> The stylesheet drop-down in tax invoice report options doesn't work, or taxinvoice.css gets read after the stylesheet?
16:53:54 <jralls> Ah, it isn't that you can't override them, it's that saving them creates a customized report that's available only through Reports>Saved Report Configurations.
16:53:54 <mauritslamers> What I mean: I change the settings for the template and css file in the tax invoice report, and I can save them
16:54:06 <mauritslamers> I cannot have these updated settings as a default though
16:54:22 <mauritslamers> so, every time I try to print a new invoice, I get the default template and css instead of my custom one
16:55:12 <mauritslamers> What I want is that I override the default settings for the tax invoice to use my template and css, instead of the built-in one.
16:56:03 <jralls> Yeah, I understand what you want. You can't do that. What you have to do instead is run your custom report or your saved report config and select the invoice in report options.
16:56:45 <mauritslamers> What should I do to change this? :-)
16:56:58 <jralls> Write a PR.
16:57:25 <mauritslamers> Of course... but what do you think would be the best approach there?
16:58:33 <mauritslamers> just a simple boolean addition "use as default"?
17:01:33 <mauritslamers> an addition like that affects all reports, but might also deliver a lot of improved UX
17:03:30 <jralls> That won't work. You'll have to change invoice_pritreport_values to a dynamic array and arrange for it to be loaded from the static values plus others inserted in config-user.scm. You'll remove the choices from dialog-invoice.glade (that was wrong in the first place as evidenced by the FIXME comment) and load the drop-down from the dynamic array.
17:03:46 *** sbluhm has quit IRC
17:04:35 <mauritslamers> jralls: that is when I would go for the full custom report route... I only tried that route because of not being able to set a saved report option set as a default, because that would also work for me
17:05:01 <jralls> For extra credit add code that searches saved report configs for variants of any of the invoice reports and adds them to the list too.
17:05:23 <mauritslamers> My problem would also be solved by being able to indicate that a certain report configuration should be used as default
17:06:44 <jralls> But that would open a different can of worms, because it would allow setting a non-invoice report.
17:07:03 <mauritslamers> jralls: exactly
17:07:38 <mauritslamers> So, being able to set a custom report configuration as default seems to be a much safer route
17:08:22 <jralls> Like I said, for extra credit look through the saved configs and add any that are based on the invoice reports.
17:09:55 <jralls> In fact, if that can solve your problem it would be much better than making it possible for config-user.scm to change the list.
17:10:20 <mauritslamers> yep, will have a look at it
17:18:37 <mauritslamers> jralls: thanks for the feedback!
17:22:53 <jralls> np.
17:35:16 *** yyoshino has quit IRC
17:35:25 *** yyoshino has joined #gnucash
18:39:32 *** giuseppef-PHONE has quit IRC
18:47:44 <fell> jralls, still no announce mail?
18:48:13 <jralls> fell, I sent it but it's probably stuck in moderation for being too long.
18:49:13 <fell> Lets
18:49:30 *** Agfarmer18 has joined #gnucash
18:49:37 <fell> hope Liz is not on holyday
18:53:38 *** Agfarmer18 has quit IRC
18:55:03 *** frakturfreak has quit IRC
18:56:11 <chris> jralls: agree to deprecate xaccAccountCountSplits in 4.4?
18:56:35 <chris> currently only used by new-ish code for equity accounts
18:56:43 *** jervin has joined #gnucash
18:56:51 <chris> hope all's having a great holiday at home
18:59:44 <jralls> chris, I thought that I saw commits that you had already.
19:00:16 <jralls> It just needs to be deprecated in Guile, there's no stability guarantee for C.
19:03:17 <fell> Warlord, still hope, Namazu will be revived?
19:04:11 <fell> Most source text errors in weblate point there.
19:05:41 <fell> like https://github.com/Gnucash/gnucash-htdocs/blob/master/search/templates/NMZ.tips.php_tmpl (/n not escaped).
19:11:40 *** jervin has quit IRC
19:17:42 <chris> jralls: I did deprecate; but Raph Habacker's new code uses it
19:17:49 <chris> jralls: I did *remove; but Raph Habacker's new code uses it
19:19:34 <jralls> Oh, so merging his PR put it back? Just take it back out again and replace his call with your has_splits func.
19:20:26 <chris> Will do
19:21:02 *** field^Mop has quit IRC
19:21:04 *** giuseppef-PHONE has joined #gnucash
19:21:04 *** ChanServ sets mode: +v giuseppef-PHONE
19:26:00 <warlord> fell, LOL. I doubt it.
19:27:06 *** jervin has joined #gnucash
19:27:23 <jralls> warlord, can you see what's hung up the release announcement from where you are?
19:29:22 <jralls> fell, shouldn't we just remove all of the stuff about namazu from the website? It's kinda rude to ask people to translate useless stuff.
19:29:40 <warlord> Website claims it is up to date
19:30:37 <jralls> warlord, ?
19:32:59 <warlord> jralls, I presume you were asking what's holding up an update to the website?
19:34:05 <warlord> So I was saying that code says the website is up to date.
19:35:42 <jralls> warlord, sorry, no, I meant the email announcement to gnucash-announce, gnucash-devel, and gnucash-user. I sent it 5 hours ago and it hasn't showed up anywhere.
19:42:00 <jralls> Oh, maybe it's hung up on my end. Comcrap forced a password update on me today.
19:42:43 <warlord> I am looking and don't see anything in the moderator queue. I see the git emails about all the updates from ~2:20pm ET
19:44:54 <jralls> Comcrap reported accepted for delivery, and my email to gnucash-devel just now went through. Shall I resend it?
19:45:12 <jralls> (resend the announcement, that is)
19:47:40 <warlord> Up to you.
19:55:29 <jralls> Sent, and... nothing.
19:55:39 <jralls> Very strange.
19:56:23 <jralls> Now I've gtg.
20:03:56 *** jervin has quit IRC
20:13:04 *** jervin has joined #gnucash
20:48:12 <CDB-Man_> chris: tomorrow, i plan to get back to my todo list to tackle some of those questions on cost basis tool on the differencies that i identified
20:53:40 *** chris_ has joined #gnucash
20:53:40 *** gncbot sets mode: +o chris_
20:55:17 *** chris has quit IRC
20:58:58 <chris_> cdb: cool
20:59:31 <CDB-Man_> in tangentially related news, speaking of cost basis, 2020 is shaping up to be a very good year for the portfolio
21:01:28 <CDB-Man_> shaping up to be 40%+ return YTD
21:49:21 *** marusich has joined #gnucash
21:49:21 *** ChanServ sets mode: +v marusich