[GNC] v3.8
John Ralls
jralls at ceridwen.us
Tue Dec 31 15:34:55 EST 2019
> On Dec 31, 2019, at 10:34 AM, farleykj <farleykj at gmail.com> wrote:
>
> Hi John,
> Seems like I'm always dealing with Perl troubles on here.
> I found the utility script you described, and the results I get with it are
> as expected:
>
> < --- Begin Test --- >
> $VAR1 = {
> 'AMZNerrormsg' => 'Error retrieving quote for AMZN. Attempt to
> fetch the URL https://query1.finance.yahoo.com/v7/finance/quote?symbols=AMZN
> resulted in HTTP response 500 (Internal Server Error)',
> 'AMZNsymbol' => 'AMZN',
> 'AMZNsuccess' => 0
> };
> < --- End Test --- >
>
> Perl: V5.18.2
> Finance::Quote V1.49
> MacOS Sierra V10.12.6
>
> I'm kind of at a loss as to how to debug this given the above info. Could it
> be that the URL in the YahooJSON.pm I have is no longer valid?
>
Nope. If I paste that into my browser I get a nice JSON quote. Maybe you have other perl modules, LWP comes to mind, that are borked. Try `sudo cpan -i Finance::Quote` which should get F::Q and all of its dependencies up to date.
Regards,
John Ralls
More information about the gnucash-user
mailing list