Hi Megan

Glad to hear you had a successful outcome.

The difference in results is explained by the fact that I ran the powershell installation script first - even though it failed at the end, it did successfully install most of the necessary modules. Hence your 24 vs my 1.

So you are good to go - happy GnuCashing!

Geoff
=====

On 11/09/2024 7:56 am, Megan Tilley wrote:
Geoff - you little beauty bottler!!! YAY! it worked.

I assume you edited the results to the bare minimum in your instructions?

I am glad that my issue could be reproduced but sad that it requires a fix!


I could not decide whether I had to add all 3 installation commands at once or one at a time and tried first off all 3 at once...

====>>> >cpanm install Module::CPANTS::Analyse --force
2 distributions installed

====>>> >cpanm install Test::Kwalitee
1 distribution installed

====>>> cpanm install Finance::Quote     [which I had to start with an 'enter'
24 distributions installed


So, "install Finance::Quote" was different to your results as your example indicated "1 distribution installed" rather than the  24 distributions I had.


I used Tools/Security Edit to check that I could select the investments.
No errors reported this time around and the 'Get Online Quotes' was selectable, which I did, and then Multiple/ASX.
I ran the Get Quotes and there they were!
However, I did receive some error messages as though the stock was not available on the ASX list to be updated, but that is an issue for another thread!



Many thanks to you, and to Stephen, as I am now more comfortable using GnuCash... No doubt you will see me back on the threads with another curly Australian-based query!
And to R.Losey for their comments.

I am finding it easier to navigate through the morass of memories of Quicken and translating those memories to my efforts of learning the many benefits of GnuCash! Not having to do that currency translation through PayPal is helping immensely!



Megan in Sydney



On Tue, 10 Sept 2024 at 22:07, Geoff <cleanoutmys...@gmail.com <mailto:cleanoutmys...@gmail.com>> wrote:

    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
    <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 
<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
    <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 
<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>
     >
    <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.til...@gmail.com <mailto:megan.til...@gmail.com>
    <mailto:megan.til...@gmail.com <mailto:megan.til...@gmail.com>>
     > 0409 949 717
     >
     > -------
     > "He who laughs last probably made a backup."
     > -------

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to