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: <unspecified file>(1): expected value Result: .... a very long string (about f57,000 characters) with all the stock data ... That same error message is in the log I get from running the command line to get the stock prices. On Sat, Mar 15, 2025 at 1:55 PM John Ralls <jra...@ceridwen.us> wrote: > 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 dump > yahoo_json ACLLF > Application Path /Applications/Gnucash.app/Contents/MacOS/gnucash-cli > ACLLF: > year_range => 25.82 - 36.1 > exchange => OTC Markets OTCPK > close => 0 > last => 33.28 > high => 33.36 > symbol => ACLLF > method => yahoo_json > div_yield => 0 > success => 1 > name => ACLLF (Atco Ltd.) > volume => 200 > open => 33.31 > pe => 12.464418 > low => 33.31 > type => EQUITY > isodate => 2025-03-14 > date => 03/14/2025 > currency => USD > eps => 2.67 > > Regards, > John Ralls > > On Mar 15, 2025, at 07:52, Fred Tydeman <tydeman.f...@gmail.com> wrote: > > 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-zero/zero. > Whereas "NaN" (meaning Not-a-Number) results from zero/zero. > > Below is the relevant data from the log/debug file. > > "ACLLF":{"div_yield":Inf,"high":33.36,"exchange":"OTC Markets > > OTCPK","eps":2.67,"open":33.31,"low":33.31,"symbol":"ACLLF","volume":200,"method":"yahoo_json","success":1,"type":"EQUITY","name":"ACLLF > (Atco > > Ltd.)","date":"03/14/2025","close":0,"currency":"USD","last":33.28,"year_range":" > 25.82 - 36.1","pe":12.464418,"isodate":"2025-03-14"}, > > Is this a known bug? > Or, should I open a new bug? > _______________________________________________ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > ----- > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. > > > _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.