Downloading Stock Prices - Finance::Quote Problems

Richard Lindgren richard_lindgren at outlook.com
Mon Jun 30 05:48:15 EDT 2014


I think I'm getting closer. I have attached the command Prompt script. It
says I need to install the following Perl modules:
  Date::Manip. I'm not sure how to do this. Please help me here.

Richard


On Mon, Jun 30, 2014 at 4:36 AM, Erik Colson <eco at ecocode.net> wrote:

> On 30 Jun 2014, at 09:42, Richard Lindgren <richard_lindgren at outlook.com>
> wrote:
>
> > - I then opened up up GnuCash and went to the Advanced Portfolio to get
> my
> > download of the prices. STILL, no luck. It comes back and says unable to
> > retrieve qoutes for these items.
>
> richard,
>
> you installed Finance::Quote 1.18 which isn’t the last version (1.35 is).
> this is due to ActivePerl glitch which I asked ActiveState to correct some
> months ago. Activestate currently has some other stuff to fix and has no
> time for this for now. As for now they still offer Finance::Quote 1.18 as a
> package, which is pretty outdated now.
>
> Basically, I recommend to _not_ use ActivePerl, but Strawberry Perl (
> http://strawberryperl.com). Version 5.20 is OK.
>
> Then open the command prompt and install Finance::Quote from cpan with
>
>    cpanm Finance::Quote
>
> This will install some dependencies and the last version of Finance::Quote.
>
> You can then update to future versions by issuing the same command again.
>
> best
> --
> erik colson
>
-------------- next part --------------
t/f003.t .. ok
t/f004.t .. ok
t/f005.t .. ok
t/f006.t .. ok
t/f007.t .. ok
t/f008.t .. ok
t/f009.t .. ok
t/f010.t .. ok
t/f011.t .. ok
t/f012.t .. ok
t/f013.t .. ok
t/f014.t .. ok
t/f015.t .. ok
t/f016.t .. ok
t/f017.t .. ok
t/f018.t .. ok
t/f019.t .. ok
t/f020.t .. ok
t/f021.t .. ok
t/f022.t .. ok
t/f023.t .. ok
t/f024.t .. ok
t/f025.t .. ok
t/f026.t .. ok
t/f027.t .. ok
t/f028.t .. ok
t/f029.t .. ok
t/f030.t .. ok
t/f031.t .. ok
t/f032.t .. ok
t/f033.t .. ok
t/f034.t .. ok
t/f035.t .. ok
t/f036.t .. ok
t/f037.t .. ok
t/m001.t .. ok
t/m002.t .. ok
t/m003.t .. ok
t/m004.t .. ok
t/m005.t .. ok
t/m006.t .. ok
t/m007.t .. ok
t/m008.t .. ok
t/m009.t .. ok
t/m010.t .. ok
t/m011.t .. ok
t/m012.t .. ok
t/m013.t .. ok
All tests successful.
Files=51, Tests=3381,  8 wallclock secs ( 0.47 usr +  0.27 sys =  0.73 CPU)
Result: PASS
  STBEY/Date-Calc-6.3.tar.gz
  C:\strawberry\c\bin\dmake.exe test -- OK
Running make install
Installing C:\strawberry\perl\site\lib\Date\Calc.pm
Installing C:\strawberry\perl\site\lib\Date\Calc.pod
Installing C:\strawberry\perl\site\lib\Date\Calendar.pm
Installing C:\strawberry\perl\site\lib\Date\Calendar.pod
Installing C:\strawberry\perl\site\lib\Date\Calc\Object.pm
Installing C:\strawberry\perl\site\lib\Date\Calc\Object.pod
Installing C:\strawberry\perl\site\lib\Date\Calc\PP.pm
Installing C:\strawberry\perl\site\lib\Date\Calc\PP.pod
Installing C:\strawberry\perl\site\lib\Date\Calendar\Profiles.pm
Installing C:\strawberry\perl\site\lib\Date\Calendar\Profiles.pod
Installing C:\strawberry\perl\site\lib\Date\Calendar\Year.pm
Installing C:\strawberry\perl\site\lib\Date\Calendar\Year.pod
Appending installation info to C:\strawberry\perl\lib/perllocal.pod
  STBEY/Date-Calc-6.3.tar.gz
  C:\strawberry\c\bin\dmake.exe install UNINST=1 -- OK
  ECOCODE/Finance-Quote-1.35.tar.gz
  Has already been unwrapped into directory C:\strawberry\cpan\build\Finance-Quo
te-1.35-pBGS6A
  ECOCODE/Finance-Quote-1.35.tar.gz
  Has already been prepared
Running make for E/EC/ECOCODE/Finance-Quote-1.35.tar.gz
cp lib/Finance/Quote/FinanceCanada.pm blib\lib\Finance\Quote\FinanceCanada.pm
cp lib/Finance/Quote/BSERO.pm blib\lib\Finance\Quote\BSERO.pm
cp lib/Finance/Quote/FTPortfolios.pm blib\lib\Finance\Quote\FTPortfolios.pm
cp lib/Finance/Quote/Bourso.pm blib\lib\Finance\Quote\Bourso.pm
cp lib/Finance/Quote/Deka.pm blib\lib\Finance\Quote\Deka.pm
cp lib/Finance/Quote/BMONesbittBurns.pm blib\lib\Finance\Quote\BMONesbittBurns.p
m
cp lib/Finance/Quote/Fidelity.pm blib\lib\Finance\Quote\Fidelity.pm
cp lib/Finance/Quote/CSE.pm blib\lib\Finance\Quote\CSE.pm
cp lib/Finance/Quote/AIAHK.pm blib\lib\Finance\Quote\AIAHK.pm
cp lib/Finance/Quote/Cominvest.pm blib\lib\Finance\Quote\Cominvest.pm
cp lib/Finance/Quote/AEX.pm blib\lib\Finance\Quote\AEX.pm
cp lib/Finance/Quote/FTfunds.pm blib\lib\Finance\Quote\FTfunds.pm
cp lib/Finance/Quote/Currencies.pm blib\lib\Finance\Quote\Currencies.pm
cp lib/Finance/Quote/ASEGR.pm blib\lib\Finance\Quote\ASEGR.pm
cp lib/Finance/Quote/DWS.pm blib\lib\Finance\Quote\DWS.pm
cp lib/Finance/Quote/Cdnfundlibrary.pm blib\lib\Finance\Quote\Cdnfundlibrary.pm
cp lib/Finance/Quote.pm blib\lib\Finance\Quote.pm
cp lib/Finance/Quote/Citywire.pm blib\lib\Finance\Quote\Citywire.pm
cp lib/Finance/Quote/ASX.pm blib\lib\Finance\Quote\ASX.pm
cp lib/Finance/Quote/MorningstarJP.pm blib\lib\Finance\Quote\MorningstarJP.pm
cp lib/Finance/Quote/TNetuk.pm blib\lib\Finance\Quote\TNetuk.pm
cp lib/Finance/Quote/Platinum.pm blib\lib\Finance\Quote\Platinum.pm
cp lib/Finance/Quote/ManInvestments.pm blib\lib\Finance\Quote\ManInvestments.pm
cp lib/Finance/Quote/Morningstar.pm blib\lib\Finance\Quote\Morningstar.pm
cp lib/Finance/Quote/HEX.pm blib\lib\Finance\Quote\HEX.pm
cp lib/Finance/Quote/HU.pm blib\lib\Finance\Quote\HU.pm
cp lib/Finance/Quote/StockHouseCanada.pm blib\lib\Finance\Quote\StockHouseCanada
.pm
cp lib/Finance/Quote/IndiaMutual.pm blib\lib\Finance\Quote\IndiaMutual.pm
cp lib/Finance/Quote/Finanzpartner.pm blib\lib\Finance\Quote\Finanzpartner.pm
cp lib/Finance/Quote/NZX.pm blib\lib\Finance\Quote\NZX.pm
cp lib/Finance/Quote/GoldMoney.pm blib\lib\Finance\Quote\GoldMoney.pm
cp lib/Finance/Quote/SIXshares.pm blib\lib\Finance\Quote\SIXshares.pm
cp lib/Finance/Quote/Fool.pm blib\lib\Finance\Quote\Fool.pm
cp lib/Finance/Quote/MStaruk.pm blib\lib\Finance\Quote\MStaruk.pm
cp lib/Finance/Quote/SIXfunds.pm blib\lib\Finance\Quote\SIXfunds.pm
cp lib/Finance/Quote/LeRevenu.pm blib\lib\Finance\Quote\LeRevenu.pm
cp lib/Finance/Quote/MtGox.pm blib\lib\Finance\Quote\MtGox.pm
cp lib/Finance/Quote/SEB.pm blib\lib\Finance\Quote\SEB.pm
cp lib/Finance/Quote/UserAgent.pm blib\lib\Finance\Quote\UserAgent.pm
cp lib/Finance/Quote/TSX.pm blib\lib\Finance\Quote\TSX.pm
cp lib/Finance/Quote/Troweprice.pm blib\lib\Finance\Quote\Troweprice.pm
cp lib/Finance/Quote/TSP.pm blib\lib\Finance\Quote\TSP.pm
cp lib/Finance/Quote/Tiaacref.pm blib\lib\Finance\Quote\Tiaacref.pm
cp lib/Finance/Quote/Yahoo/Asia.pm blib\lib\Finance\Quote\Yahoo\Asia.pm
cp lib/Finance/Quote/Tdefunds.pm blib\lib\Finance\Quote\Tdefunds.pm
cp lib/Finance/Quote/VWD.pm blib\lib\Finance\Quote\VWD.pm
cp lib/Finance/Quote/Yahoo/Europe.pm blib\lib\Finance\Quote\Yahoo\Europe.pm
cp lib/Finance/Quote/USFedBonds.pm blib\lib\Finance\Quote\USFedBonds.pm
cp lib/Finance/Quote/Trustnet.pm blib\lib\Finance\Quote\Trustnet.pm
cp lib/Finance/Quote/Yahoo/Australia.pm blib\lib\Finance\Quote\Yahoo\Australia.p
m
cp lib/Finance/Quote/Union.pm blib\lib\Finance\Quote\Union.pm
cp lib/Finance/Quote/Yahoo/USA.pm blib\lib\Finance\Quote\Yahoo\USA.pm
cp lib/Finance/Quote/Yahoo/NZ.pm blib\lib\Finance\Quote\Yahoo\NZ.pm
cp lib/Finance/Quote/Yahoo/Brasil.pm blib\lib\Finance\Quote\Yahoo\Brasil.pm
cp lib/Finance/Quote/Yahoo/Base.pm blib\lib\Finance\Quote\Yahoo\Base.pm
cp lib/Finance/Quote/Tdwaterhouse.pm blib\lib\Finance\Quote\Tdwaterhouse.pm
cp lib/Finance/Quote/YahooJSON.pm blib\lib\Finance\Quote\YahooJSON.pm
cp lib/Finance/Quote/ZA_UnitTrusts.pm blib\lib\Finance\Quote\ZA_UnitTrusts.pm
cp lib/Finance/Quote/ZA.pm blib\lib\Finance\Quote\ZA.pm
  ECOCODE/Finance-Quote-1.35.tar.gz
  C:\strawberry\c\bin\dmake.exe -- OK
Running make test
C:\Strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e"
 "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.
t
t/00-use.t .............. ok
t/01-pod.t .............. skipped: Author test.  Set $ENV{TEST_AUTHOR} to true t
o run.
t/02-pod-coverage.t ..... skipped: Author test.  Set $ENV{TEST_AUTHOR} to true t
o run.
t/03-kwalitee.t ......... skipped: Author test.  Set $ENV{TEST_AUTHOR} to true t
o run.
t/04-critic.t ........... skipped: Author test.  Set $ENV{TEST_AUTHOR} to true t
o run.
t/05-data-dumper.t ...... skipped: Author test.  Set $ENV{TEST_AUTHOR} to true t
o run.
t/aex.t ................. skipped: Set $ENV{ONLINE_TEST} to run this test
t/aiahk.t ............... skipped: Set $ENV{ONLINE_TEST} to run this test
t/asegr.t ............... skipped: Set $ENV{ONLINE_TEST} to run this test
t/asx.t ................. skipped: Set $ENV{ONLINE_TEST} to run this test
t/bmonesbittburns.t ..... skipped: Set $ENV{ONLINE_TEST} to run this test
t/bourso.t .............. skipped: Set $ENV{ONLINE_TEST} to run this test
t/bsero.t ............... skipped: Set $ENV{ONLINE_TEST} to run this test
t/cdnfundlibrary.t ...... skipped: Set $ENV{ONLINE_TEST} to run this test
t/citywire.t ............ skipped: Set $ENV{ONLINE_TEST} to run this test
t/cominvest.t ........... skipped: Set $ENV{ONLINE_TEST} to run this test
t/cse.t ................. skipped: Set $ENV{ONLINE_TEST} to run this test
t/currencies.t .......... skipped: Set $ENV{ONLINE_TEST} to run this test
t/currency.t ............ skipped: Set $ENV{ONLINE_TEST} to run this test
t/currency_lookup.t ..... 1/12 Invalid parameter: invalid_param at C:\strawberry
\cpan\build\Finance-Quote-1.35-pBGS6A\blib\lib/Finance/Quote.pm line 305.
t/currency_lookup.t ..... ok
t/deka.t ................ skipped: Set $ENV{ONLINE_TEST} to run this test
t/dws.t ................. skipped: Set $ENV{ONLINE_TEST} to run this test
t/fidelity.t ............ skipped: Set $ENV{ONLINE_TEST} to run this test
t/financecanada.t ....... skipped: Set $ENV{ONLINE_TEST} to run this test
t/finanzpartner.t ....... skipped: Set $ENV{ONLINE_TEST} to run this test
t/ftfunds.t ............. skipped: Set $ENV{ONLINE_TEST} to run this test
t/ftportfolios.t ........ skipped: Set $ENV{ONLINE_TEST} to run this test
t/goldmoney.t ........... skipped: Set $ENV{ONLINE_TEST} to run this test
t/hex.t ................. skipped: Set $ENV{ONLINE_TEST} to run this test
t/hu.t .................. skipped: Set $ENV{ONLINE_TEST} to run this test
t/indiamutual.t ......... skipped: Set $ENV{ONLINE_TEST} to run this test
t/lerevenu.t ............ skipped: Set $ENV{ONLINE_TEST} to run this test
t/maninvestments.t ...... skipped: Set $ENV{ONLINE_TEST} to run this test
t/morningstar.t ......... skipped: Set $ENV{ONLINE_TEST} to run this test
t/morningstarJP.t ....... skipped: Set $ENV{ONLINE_TEST} to run this test
t/mstaruk.t ............. skipped: Set $ENV{ONLINE_TEST} to run this test
t/mtgox.t ............... skipped: Set $ENV{ONLINE_TEST} to run this test
t/nzx.t ................. skipped: Set $ENV{ONLINE_TEST} to run this test
t/platinum.t ............ skipped: Set $ENV{ONLINE_TEST} to run this test
t/quote.t ............... ok
t/release-pod-syntax.t .. skipped: these tests are for release candidate testing

t/seb.t ................. skipped: Set $ENV{ONLINE_TEST} to run this test
t/sixfunds.t ............ skipped: Set $ENV{ONLINE_TEST} to run this test
t/sixshares.t ........... skipped: Set $ENV{ONLINE_TEST} to run this test
t/stockhousecanada.t .... skipped: Set $ENV{ONLINE_TEST} to run this test
t/tdefunds.t ............ skipped: Set $ENV{ONLINE_TEST} to run this test
t/tdwaterhouse.t ........ skipped: Set $ENV{ONLINE_TEST} to run this test
t/tiaacref.t ............ skipped: Set $ENV{ONLINE_TEST} to run this test
t/tnetuk.t .............. skipped: Set $ENV{ONLINE_TEST} to run this test
t/troweprice.t .......... skipped: Set $ENV{ONLINE_TEST} to run this test
t/trustnet.t ............ skipped: Set $ENV{ONLINE_TEST} to run this test
t/tsp.t ................. skipped: Set $ENV{ONLINE_TEST} to run this test
t/tsx.t ................. skipped: Set $ENV{ONLINE_TEST} to run this test
t/ukfunds.t ............. skipped: Set $ENV{ONLINE_TEST} to run this test
t/union.t ............... skipped: Set $ENV{ONLINE_TEST} to run this test
t/usfedbonds.t .......... skipped: Set $ENV{ONLINE_TEST} to run this test
t/vanguard.t ............ skipped: Set $ENV{ONLINE_TEST} to run this test
t/vwd.t ................. skipped: Set $ENV{ONLINE_TEST} to run this test
t/yahoo.t ............... skipped: Set $ENV{ONLINE_TEST} to run this test
t/yahoo_asia.t .......... skipped: Set $ENV{ONLINE_TEST} to run this test
t/yahoo_australia.t ..... skipped: Set $ENV{ONLINE_TEST} to run this test
t/yahoo_brasil.t ........ skipped: Set $ENV{ONLINE_TEST} to run this test
t/yahoo_europe.t ........ skipped: Set $ENV{ONLINE_TEST} to run this test
t/yahoo_nz.t ............ skipped: Set $ENV{ONLINE_TEST} to run this test
t/yahoojson.t ........... skipped: Set $ENV{ONLINE_TEST} to run this test
t/za.t .................. skipped: Set $ENV{ONLINE_TEST} to run this test
t/za_unittrusts.t ....... skipped: Set $ENV{ONLINE_TEST} to run this test
All tests successful.
Files=67, Tests=59, 16 wallclock secs ( 0.30 usr +  0.38 sys =  0.67 CPU)
Result: PASS
  ECOCODE/Finance-Quote-1.35.tar.gz
  C:\strawberry\c\bin\dmake.exe test -- OK
Running make install
Installing C:\strawberry\perl\site\lib\Finance\Quote.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\AEX.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\AIAHK.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\ASEGR.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\ASX.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\BMONesbittBurns.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Bourso.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\BSERO.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Cdnfundlibrary.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Citywire.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Cominvest.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\CSE.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Currencies.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Deka.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\DWS.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Fidelity.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\FinanceCanada.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Finanzpartner.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Fool.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\FTfunds.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\FTPortfolios.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\GoldMoney.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\HEX.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\HU.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\IndiaMutual.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\LeRevenu.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\ManInvestments.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Morningstar.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\MorningstarJP.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\MStaruk.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\MtGox.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\NZX.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Platinum.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\SEB.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\SIXfunds.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\SIXshares.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\StockHouseCanada.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Tdefunds.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Tdwaterhouse.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Tiaacref.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\TNetuk.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Troweprice.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Trustnet.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\TSP.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\TSX.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Union.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\UserAgent.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\USFedBonds.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\VWD.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\YahooJSON.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\ZA.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\ZA_UnitTrusts.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Yahoo\Asia.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Yahoo\Australia.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Yahoo\Base.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Yahoo\Brasil.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Yahoo\Europe.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Yahoo\NZ.pm
Installing C:\strawberry\perl\site\lib\Finance\Quote\Yahoo\USA.pm
Appending installation info to C:\strawberry\perl\lib/perllocal.pod
  ECOCODE/Finance-Quote-1.35.tar.gz
  C:\strawberry\c\bin\dmake.exe install UNINST=1 -- OK

* Run gnc-fq-check


You need to install the following Perl modules:
  Date::Manip

Use your system's package manager to install them,
or run 'gnc-fq-update' as root.
missing-lib

An error occurred, see above.

Press any key to continue . . .


More information about the gnucash-user mailing list