2019-04-16 GnuCash IRC logs

00:06:44 *** isn0gud has quit IRC
00:42:40 *** nimish2711 has quit IRC
00:48:12 *** warlord has quit IRC
01:02:44 *** nimish2711 has joined #gnucash
01:05:04 *** fell_laptop has joined #gnucash
01:05:05 *** ChanServ sets mode: +o fell_laptop
01:06:47 *** fell has quit IRC
01:17:34 *** nicoroumeau has joined #gnucash
01:19:15 *** Mechtilde has joined #gnucash
01:22:16 *** Mechtilde has quit IRC
01:25:49 *** nicoroumeau has quit IRC
01:27:28 *** Mechtilde has joined #gnucash
01:32:27 *** Mechtilde has quit IRC
01:56:07 *** Mechtilde has joined #gnucash
02:58:15 *** isn0gud has joined #gnucash
03:03:40 *** Aussie_matt has quit IRC
03:31:56 *** nimish2711 has quit IRC
04:03:41 *** CDB-Man_ has joined #gnucash
04:03:42 *** ChanServ sets mode: +v CDB-Man_
04:05:55 *** CDB-Man has quit IRC
04:06:19 *** CDB-Away_ has quit IRC
04:40:34 *** isn0gud has quit IRC
04:42:25 *** isn0gud has joined #gnucash
05:09:24 *** fell_laptop is now known as fell
05:51:59 *** fabior has joined #gnucash
05:54:01 *** fabior has quit IRC
06:08:52 *** monkeyjuice has joined #gnucash
06:18:23 *** nimish2711 has joined #gnucash
06:18:39 *** isn0gud has quit IRC
06:20:08 *** monkeyjuice has quit IRC
06:30:51 *** warlord has joined #gnucash
06:30:51 *** gncbot sets mode: +o warlord
06:31:13 <warlord> .
06:45:23 *** Jimraehl1 has joined #gnucash
06:45:55 *** Jimraehl1 has left #gnucash
06:48:06 *** isn0gud has joined #gnucash
06:49:12 *** chris has joined #gnucash
06:49:13 *** ChanServ sets mode: +v chris
06:49:33 <chris> .
07:25:32 *** User has joined #gnucash
07:31:05 *** nimish2711 has quit IRC
07:31:35 *** User has quit IRC
07:43:12 *** oozer has joined #gnucash
08:03:03 *** gnomey has quit IRC
08:10:30 *** gnomey has joined #gnucash
08:17:08 *** KaiForce has joined #gnucash
08:35:13 <warlord> *grumble* I upgraded to Fedora 29 (and GnuCash 3.x -- currently at 3.4)... and now Price Quotes don't work. I just get the dreaded "There was an unknown error while retrieving the price quotes". I know this was working before my upgrade. I am 99% sure I'm using Yahoo-JSON for all my equities. Of course there is nothing in the tracefile or terminal.
08:37:44 <warlord> Or, maybe not... :(
08:38:55 <fell> warlord: gnc-fq-check?
08:39:40 <warlord> fell, that works. But apparently my quote sources were set to Unknown: yahoo, and not Single: Yahoo as JSON
08:40:18 <warlord> Just changed them all (I wish there were a way to change them en-masse)
08:40:38 <warlord> And... still an unknown error..
08:40:54 <fell> If you are sure, you ha d set yahoo_json, then you have an old data file.
08:41:49 <warlord> It's not an old data file.
08:42:03 <warlord> But I'm not sure I set yahoo-json.
08:42:10 <warlord> I THOUGHT I had..
08:42:13 <fell> gnc-fq-dump -v <source> <symbol> oftne has a better error message.
08:42:14 <warlord> But maybe not.
08:42:32 <warlord> Why can't GnuCash tell me what the error is?
08:43:02 <fell> It is simply awaiting your patch. ;-)
08:44:03 <warlord> Yeah yeah yeah
08:44:12 <fell> It should not too hard to return one element more.
08:44:37 <chris> many thanks are 'not too hard' to implement in gnucash :)
08:44:40 <chris> *things
08:45:40 <chris> price-quotes.scm is not too big
08:46:10 <chris> refactor?
08:46:21 <warlord> Apparently the vanguard price source doesn't work anymore
08:46:43 <fell> It is the specfic mixture perl->scm->C which is confusing.
08:47:14 <fell> Vanguard was an alias of yahoo.
08:48:46 <fell> RTFM!: https://www.gnucash.org/docs/v3/C/gnucash-help/fq-sources.html#fq-sources-single
08:48:48 <warlord> Yeah, and "unknown error" is just a *so* helpful error message!!
08:49:14 <warlord> Well, if the quote sources are not valid at all perhaps they should be removed?
08:49:59 <warlord> Anyways, it's working again.. And now I get the "could not get quotes for ...." list. Which is fine and definitely more useful than "unknown error"
08:51:46 <fell> AFAIK: Former Yahoo aliases like vanguard, ... are now alphavantage aliases - with the usual alphavantage restrictions.
08:53:50 <warlord> Ah. Well, I don't have an AV key. But "unknown error" is still an unhelpful message ;)
08:53:54 <warlord> Anyways, it's all working now from Yahoo_Jso
08:53:55 <warlord> n
08:56:50 <fell> Currencies are also from alphavantage
08:58:41 <chris> I don't think price-quotes.scm is confusing -- it just needs polish
08:59:17 <chris> e.g. reindent, eradicate set! and begin, add more gnc:debug and we're done
08:59:37 <chris> e.g. unknown error means fq output should be dumped to gnc:debug
09:01:30 <fell> chris, libgnucash/scm/price-quotes.scm has a terrible "copy,paste&adjust" programming style.
09:02:40 <chris> so do we want cleanup?
09:03:20 <chris> it's not that bad tbh
09:03:57 <fell> i.e. some (report_error (N message)) would simplify the code.
09:06:28 <fell> with
09:06:29 <fell> if (gnucash-ui-is-running)
09:06:31 <fell> (gnc-error-dialog window (_
09:06:57 <fell> message))
09:07:11 <fell> (gnc:warn message)
10:17:21 *** jerryq has quit IRC
10:59:51 *** jerryq has joined #gnucash
11:08:24 *** guak has joined #gnucash
11:43:59 *** ArtGravity has joined #gnucash
11:43:59 *** ChanServ sets mode: +v ArtGravity
11:57:16 *** calvinct has joined #gnucash
12:30:54 *** nicoroumeau has joined #gnucash
12:57:30 *** calvinct has quit IRC
13:00:23 *** calvinct has joined #gnucash
13:14:38 *** jervin has joined #gnucash
13:20:09 *** calvinct has quit IRC
13:30:38 *** nicoroumeau has quit IRC
13:55:40 *** nicoroumeau has joined #gnucash
13:58:41 *** nicoroumeau has quit IRC
14:02:12 *** boldstripe_ has joined #gnucash
14:02:21 *** nimish2711 has joined #gnucash
14:02:25 *** boldstripe has quit IRC
14:02:25 *** boldstripe_ is now known as boldstripe
14:07:02 *** nicoroumeau has joined #gnucash
14:11:41 *** jervin has quit IRC
14:17:55 *** frakturfreak has joined #gnucash
14:20:52 <fell> jralls: Did you tell Benno about hr.po? I can not find it in https://translationproject.org/domain/gnucash.html
14:25:21 *** Mechtilde has quit IRC
14:40:42 <jralls> fell: I didn't, but I will.
14:41:09 <fell> thanks
14:45:59 <jralls> warlord, chris: The "unknown error" problem isn't in price-quotes.scm, it's in gnc-fq-helper. There's no code to handle or pass on F::Q errors, it just bails and returns non-zero.
14:53:57 *** nicoroumeau has quit IRC
14:54:28 <warlord> jralls, oh. that's really a shame!
14:54:50 <jralls> Why? You speak perl.
14:55:43 <jralls> It just means that chris can't work on it until he gets over his aversion to punctuation other than parentheses. ;-)
14:58:06 <warlord> LOL. I mean, it's a shame that it's the helper and that it doesn't supply a real error.
15:03:59 *** nicoroumeau has joined #gnucash
15:06:03 <jralls> It might be better called gnc-fq-translator: It takes a scheme form, converts it to perl to call F::Q and parses the returned text back into a scheme form for price-quotes.scm, which then creates a C struct to pass back to gnc-pricedb.cpp. Like all other uses of Scheme in libgnucash, it's excessively convoluted and unnecessary.
15:08:36 <warlord> Yeah, I know.
15:13:50 *** fell has quit IRC
15:14:10 *** fell has joined #gnucash
15:14:10 *** ChanServ sets mode: +o fell
15:18:56 *** fabior has joined #gnucash
15:20:32 *** nicoroumeau has quit IRC
15:35:53 *** nicoroumeau has joined #gnucash
15:42:24 *** nicoroumeau has quit IRC
15:45:03 *** nimish2711 has quit IRC
15:46:52 *** calvinct has joined #gnucash
16:13:49 *** calvinct has quit IRC
16:14:00 *** calvinct has joined #gnucash
16:15:41 *** nicoroumeau has joined #gnucash
16:28:12 *** KaiForce has quit IRC
16:40:59 *** nicoroumeau has quit IRC
16:42:00 *** calvinct has quit IRC
16:42:06 *** calvinct has joined #gnucash
16:53:44 *** calvinct has quit IRC
17:01:06 *** frakturfreak has quit IRC
17:30:06 *** raphaal has quit IRC
17:30:19 *** raphaal has joined #gnucash
17:30:43 *** Agfarmer18 has joined #gnucash
17:48:26 *** Agfarmer18 has quit IRC
17:55:49 *** fabior has quit IRC
18:06:20 *** raphaal has quit IRC
18:09:32 *** raphaal has joined #gnucash
18:12:09 *** jerryq has quit IRC
18:24:09 *** bertbob has quit IRC
18:26:46 *** bertbob has joined #gnucash
18:26:47 *** ChanServ sets mode: +v bertbob
18:38:30 *** Aussie_matt has joined #gnucash
19:20:58 *** jerryq has joined #gnucash
19:37:45 <chris> jralls http://lists.gnu.org/archive/html/guile-user/2019-04/msg00017.html
19:44:24 <chris> jralls warlord I've upgraded from curly braces to whitespaces to parentheses, it just took me 30 years :)
19:49:56 *** ArtGravity has quit IRC
20:19:12 <warlord> chris, LOL
21:16:41 *** oozer has quit IRC
21:19:13 *** Robert8471 has joined #gnucash
21:32:03 *** guak has quit IRC
22:26:50 *** storyjesse has joined #gnucash
22:41:12 *** isn0gud has quit IRC
22:54:58 *** nimish2711 has joined #gnucash
23:28:46 *** FoxT has quit IRC
23:35:14 *** FoxT has joined #gnucash