[GNC] GNUCash Finance Quote Error with YahooWeb
Mike Alexander
mta at umich.edu
Fri Jan 12 02:33:13 EST 2024
This is in code that I added in V1.59 so it's probably my fault, but I
can't see how it could happen. It would imply that yahoo web returned a
page with a price history table in it but there was no first price
history table in the page. I.e., it had a table, but then it didn't have
a first table.
Try running gnucash-cli on each of your symbols until you find the one
that fails. Then switch that one to some other quote method. If you
let me know which one failed I can try to figure out why. Or, if you're
up to applying a patch to finance-quote, I can send you a patch that
should report the problem and keep going.
Mike
On 8 Jan 2024, at 19:20, Fross, Michael wrote:
> Hello. A few days ago I started to get the attached error when I
> attempted
> to download quotes with GNUCash with YahooWeb as a source.
>
> Running direct from the command line seems to work fine:
>
> "C:\Program Files (x86)\gnucash\bin\gnucash-cli.exe" --verbose -Q dump
> YahooWeb AAPL
> aapl:
> high => 185.59
> low => 181.50
> success => 1
> date => 01/08/2024
> name => Apple Inc.
> method => yahooweb
> last => 185.56
> currency => USD
> isodate => 2024-01-08
> symbol => aapl
> open => 181.99
> volume => 58101744
> exchange => NasdaqGS - NasdaqGS Real Time Price
>
> I'm using the latest gnucash version (v5.5), running on Windows 11Pro,
> and
> have F:Q 1.59 installed, and I'm using YahooWeb as the source.
>
> I have not heard anything about this on the list, so there is a good
> chance
> it's me. I have changed to other sources, and MarketWatch worked for
> most
> of my symbols, but not all. AlphaVantage also worked until it hit its
> limit. Seems like something with YahooWeb specifically. I'd like to
> keep
> using it as it seems fast and all of my symbols work with it.
>
> Happy to help figure this out. I'll take a look at the YahooWeb.pm
> file
> tomorrow and see what I can find.
>
> Michael
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at 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.
More information about the gnucash-user
mailing list