Re: [GNC] "Inf" in stock data => cannot update prices

2025-03-15 Thread Fred Tydeman
I use Yahoo JSON as the price source for all of my investments. I run a command line with debug to get the quotes and capture the log. I just now tried running inside Gnucash and get: Price retrieval failed: Failed to parse result return by Finance::Quote. Error message: (1): expected value Resul

Re: [GNC] "Inf" in stock data => cannot update prices

2025-03-15 Thread John Ralls
Fred, It returned “Inf” for dividend yield, which isn’t a number GnuCash cares about, but perhaps the parser expected a number and complained. What error did you get? Did GnuCash crash? FWIW, I tried just now and yahoo_json returned > /Applications/Gnucash.app/Contents/MacOS/gnucash-cli -V -Q

[GNC] "Inf" in stock data => cannot update prices

2025-03-15 Thread Fred Tydeman
In trying to do my weekly stock price update in GnuCash 5.10 in Fedora Linux 41, one of my stocks returned "Inf" in one of the price fields. It is similar to the problem I had with this stock in the past where there was a "NaN" value. I understand "Inf" is short for infinity and results from non-