[GNC] On line quote debugging help

john jralls at ceridwen.us
Mon Dec 27 11:41:32 EST 2021



> On Dec 27, 2021, at 7:41 AM, Kalpesh Patel <kalpesh.patel at usa.net> wrote:
> 
> Hi All -
> 
> 
> 
> Few days back when I upgraded to GNC 4.9 on Windows 10, I also ran the
> 'Install Online Price Retrieval for GnuCash' which updated some of the Perl
> modules. Now I am getting 'Unable to retrieve quotes for these items:'
> window with a random listing of securities intermittently, which never
> reared before in that fashion. I wanted to debug the issue to see what might
> be happening in Perl. So is there a quick doc that I can review that could
> allow me to put together debugging environment that would use identical
> calls being done to Perl without deep dive into GNC code base?
> 
> 
> 
> I am using Strawberry Perl 5.28.1 but I reckon It shouldn't matter which
> Perl I am using: This is Perl 5, version 28, subversion 1 (v5.28.1) built
> for MSWin32-x86-multi-thread-64int
> 
> 
> 
> Pointers are appreciated.

We have https://wiki.gnucash.org/wiki/Online_Quotes#Trouble_Shooting, and the perl in question isn't deeply embedded in the codebase. It's a single script, gnc-fq-helper, found in C:\Program Files (x86)\gnucash\bin. There's a companion script gnc-fq-dump that is a little more human-friendly; gnc-fq-helper expects scheme-like strings for input and emits the same because it's called from a Scheme module in GnuCash.

Most likely the problem is down to one or more of your quote sources being offline over the weekend and there's nothing wrong with your F::Q setup.

Regards,
John Ralls



More information about the gnucash-user mailing list