[GNC] Problems getting prices from Yahoo as JSON

Adrian Holbrook megagrumpy at hotmail.com
Mon Mar 3 02:21:48 EST 2025


Thank you
________________________________
From: Kalpesh Patel <kalpesh.patel at usa.net>
Sent: 02 March 2025 17:34
To: 'Adrian Holbrook' <megagrumpy at hotmail.com>; gnucash-user at gnucash.org <gnucash-user at gnucash.org>
Subject: RE: [GNC] Problems getting prices from Yahoo as JSON


If Strawberry Perl and F::Q are installed correctly then run following in a command prompt in Windows OS:



C:\Strawberry\perl\bin\cpan.bat https://www.cpan.org/authors/id/B/BP/BPSCHUCK/Finance-Quote-1.64_03.tar.gz



Note that there is a space between ‘.bat’ and ‘https:’ incase cut-&-paste munges is up.



From: Adrian Holbrook <megagrumpy at hotmail.com>
Sent: Sunday, March 02, 2025 3:03 AM
To: Kalpesh Patel <kalpesh.patel at usa.net>; gnucash-user at gnucash.org
Subject: Re: [GNC] Problems getting prices from Yahoo as JSON



I am using Windows 11 and have just Gnucash 5.10. I have downloaded the F::Q 1.64_03 file but not sure what to do with it. Is there an installation program or do I have to use the command prompts to manually install?



Best regards



Adrian





________________________________

From: Kalpesh Patel <kalpesh.patel at usa.net<mailto:kalpesh.patel at usa.net>>
Sent: 01 March 2025 14:06
To: 'Adrian Holbrook' <megagrumpy at hotmail.com<mailto:megagrumpy at hotmail.com>>; gnucash-user at gnucash.org<mailto:gnucash-user at gnucash.org> <gnucash-user at gnucash.org<mailto:gnucash-user at gnucash.org>>
Subject: RE: [GNC] Problems getting prices from Yahoo as JSON



If you have Unix/Linux then you can run following to get the official interim release (literally cut and paste each line when your prompt comes back after executing each one) as mentioned by another user on this distro:



cd ~
wget https://www.cpan.org/authors/id/B/BP/BPSCHUCK/Finance-Quote-1.64_03.tar.gz
tar -xvf ./Finance-Quote-1.64_03.tar.gz
cd Finance-Quote-1.64_03/
perl Makefile.PL
make
sudo make install





You haven’t mentioned the OS you are on so hard to get you past the finish line …











From: Adrian Holbrook <megagrumpy at hotmail.com<mailto:megagrumpy at hotmail.com>>
Sent: Saturday, March 01, 2025 4:41 AM
To: Kalpesh Patel <kalpesh.patel at usa.net<mailto:kalpesh.patel at usa.net>>; gnucash-user at gnucash.org<mailto:gnucash-user at gnucash.org>
Subject: Re: [GNC] Problems getting prices from Yahoo as JSON



Thanks. Not sure how to install a module from CPAN as suggested by Murugan so will attempt to modify the file.



Best regards



Adrian

________________________________

From: Kalpesh Patel <kalpesh.patel at usa.net<mailto:kalpesh.patel at usa.net>>
Sent: 28 February 2025 22:57
To: 'Adrian Holbrook' <megagrumpy at hotmail.com<mailto:megagrumpy at hotmail.com>>; gnucash-user at gnucash.org<mailto:gnucash-user at gnucash.org> <gnucash-user at gnucash.org<mailto:gnucash-user at gnucash.org>>
Subject: RE: [GNC] Problems getting prices from Yahoo as JSON



On Windows it should be:

 C:\Strawberry\perl\site\lib\Finance\Quote

On Unix/Linux it could be in many different places depending on how it was
installed. Try these:

/usr/share/perl5/Finance/Quote
/usr/local/share/perl/5.26.1/Finance/Quote

If not then use find utility to locate it on Unix/Linux or Mac OS'...

# find / -name YahooJSON.pm
/usr/share/perl5/Finance/Quote/YahooJSON.pm
/usr/local/share/perl/5.26.1/Finance/Quote/YahooJSON.pm

For flatpak, I am not sure how.

-----Original Message-----
From: Adrian Holbrook <megagrumpy at hotmail.com<mailto:megagrumpy at hotmail.com>>
Sent: Friday, February 28, 2025 2:38 PM
To: gnucash-user at gnucash.org<mailto:gnucash-user at gnucash.org>
Subject: [GNC] Problems getting prices from Yahoo as JSON

I am having the same problem as reported on a recent thread. I was not sure
how to respond on the thread as the reply arrow was grayed out. I am not
sure how to make the quick fix mentioned by Kalpesh Patel as I cannot find
the file YahooJSOM.pm. Can anyone help?

Thanks

Adrian


More information about the gnucash-user mailing list