[GNC] New Australian user questions

Geoff cleanoutmyshed at gmail.com
Tue Sep 10 08:07:19 EDT 2024


Hi Megan

Well, this must be frustrating for you.  I did a clean install on a new 
Windows 10 machine, can reproduce this problem, and have a fix for you 
to try.

When I ran the GnuCash powershell script "gnc-fq-update.ps1" to install 
Finance::Quote, it ran for a long time (approximately 1/2 an hour) and 
failed at the end with:

========================================================================
Building and testing Spreadsheet-XLSX-0.18 ... OK
Successfully installed Spreadsheet-XLSX-0.18
! Installing the dependencies failed: Module 'Test::Kwalitee' is not 
installed, Module 'Module::CPANTS::Analyse' is not installed
! Bailing out the installation for Finance-Quote-1.62.
29 distributions installed
========================================================================

To rectify this, open up a DOS Command prompt and run the following 
three commands:

cpanm install Module::CPANTS::Analyse --force
cpanm install Test::Kwalitee
cpanm install Finance::Quote

The output should look something like this:

========================================================================
 >cpanm install Module::CPANTS::Analyse --force
--> Working on install
Fetching 
http://www.cpan.org/authors/id/D/DA/DAGOLDEN/install-0.01.tar.gz ... OK
Configuring install-0.01 ... OK
Building and testing install-0.01 ... OK
Successfully reinstalled install-0.01
--> Working on Module::CPANTS::Analyse
Fetching 
http://www.cpan.org/authors/id/I/IS/ISHIGAKI/Module-CPANTS-Analyse-1.02.tar.gz 
... OK
Configuring Module-CPANTS-Analyse-1.02 ... OK
Building and testing Module-CPANTS-Analyse-1.02 ... FAIL
! Testing Module-CPANTS-Analyse-1.02 failed but installing it anyway.
Successfully installed Module-CPANTS-Analyse-1.02
2 distributions installed

 >cpanm install Test::Kwalitee
install is up to date. (0.01)
--> Working on Test::Kwalitee
Fetching 
http://www.cpan.org/authors/id/E/ET/ETHER/Test-Kwalitee-1.28.tar.gz ... OK
Configuring Test-Kwalitee-1.28 ... OK
Building and testing Test-Kwalitee-1.28 ... OK
Successfully installed Test-Kwalitee-1.28
1 distribution installed

cpanm install Finance::Quote
install is up to date. (0.01)
--> Working on Finance::Quote
Fetching 
http://www.cpan.org/authors/id/B/BP/BPSCHUCK/Finance-Quote-1.62.tar.gz 
... OK
Configuring Finance-Quote-1.62 ... OK
Building and testing Finance-Quote-1.62 ... OK
Successfully installed Finance-Quote-1.62
1 distribution installed
========================================================================

Then start up GnuCash and you should now be able to select "Get Online 
Quotes" when you set up a new security - see attached screenshot: 
gnc_fq_asx.jpg


Hope this works for you.

Regards

Geoff
=====

On 10/09/2024 3:29 pm, Megan Tilley wrote:
> Hi Geoff! Thank you so much for your response and between you and 
> Stephen, I can see that the majority of my questions have been answered.
> 
> I have uninstalled both GC and Strawberry Perl and downloaded the two 
> source files again from their respective sites.
> GC installed quite easily, as it did the first time around.
> This time, rather than go through the documentation to install SP, I did 
> the install from the Strawberry Perl site, which did go a lot faster 
> this time around.
> 
> However, on starting GC up again and moving to the Security Tools/Edit 
> Security to update one of my Stocks, the Warning message "Warning: 
> Finance::Quote not installed properly." and the Get Online Quotes is 
> undetectable.
> 
> In scouring the message threads for an inkling of how to install F::Q I 
> did find a lot of similar problems listed for Apple/Mac users which 
> sadly does not help me as a Windows user.
> 
> I tried a solution suggested on an August 2024 message
> https://lists.gnucash.org/pipermail/gnucash-user/2023-August/108274.html 
> <https://lists.gnucash.org/pipermail/gnucash-user/2023-August/108274.html>
> 
> which suggested trying *gnucash-cli* to check if there is an issue ---
> Powershell produced this
> PS C:\Users\kurri> gnucash-cli --quotes dump asx BHP
> Price retrieval failed: Failed to initialize Finance::Quote: 
> missing_modules Finance::Quote
> 
> So I am assuming I need to load F::Q as a separate upload as the 
> "Install Online Price Retrieval for GnuCash" process did not appear to 
> load it.
> It would be great if a search produced a succinct response that 
> addressed "how to install F::Q in a Windows environment" without 
> segueing into computer speech using greps and such.
> 
> Any pointers you can give me?
> 
> 
> -- 
> Regards,
> 
> 
> Megan Tilley
> megan.tilley at gmail.com <mailto:megan.tilley at gmail.com>
> 0409 949 717
> 
> -------
> "He who laughs last probably made a backup."
> -------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnc_fq_asx.jpg
Type: image/jpeg
Size: 183355 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20240910/2fd2b36b/attachment-0001.jpg>


More information about the gnucash-user mailing list