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

Fred Tydeman tydeman.fred at gmail.com
Sat Mar 15 10:52:02 EDT 2025


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?


More information about the gnucash-user mailing list