Re: [GNC-dev] Problem retrieving online quotes
John Ralls <[email protected]> Sat, 29 Apr 2023 13:11:37 -0700
| Newsgroups | gmane.comp.gnome.apps.gnucash.devel |
|---|---|
| Message-ID | <[email protected]> |
> On Apr 29, 2023, at 12:56 PM, Herbert Thoma <[email protected]> wrote: > > Hi! > > when I press the "get online quotes" button > finance-quote-wrapper gets called, but it runs forever (at least > a few hours, then I killed it). > > I patched libgnucash/app-utils/gnc-quotes.cpp to write the json > string to a file before it is passed to finance-quote-wrapper. > This string looks good to me. > > When I pass the string to finance-quote-wrapper on the command line, > it spawns a few error messages of the form > "Use of uninitialized value in sprintf at /usr/lib/perl5/site_perl/5.26.1/Finance/Quote/YahooJSON.pm line 168" > but it produces an output that looks good to me as well. > > There are about 60 different stocks/funds/currencies in the > request, the return string is about 20 kByte. > > Any idea how I could debug this further? > > Herbert. > > PS: Getting online quotes used to work with GnuCash 4.x for me. First, if you're not using a current git stable, do. Then attach a debugger to see what it's doing. Regards, John Ralls