Downloading Stock Prices - Finance::Quote Problems
Richard Lindgren
richard_lindgren at outlook.com
Mon Jun 30 03:42:02 EDT 2014
Fred,
In my frustrations in trying to make this work, I re-installed Windows 7
(again) to make sure I didn't mess anything up.
- I then downloaded and installed GnuCash 2.63
- I then Installed Activeperl 5.16.3.1603. This was installed in my
Strawberry folder.
- I then went into the Perl Package Manager and it went through a database
sync operation.
- I then opened up the command prompt and entered "perl -V". That worked ok.
- I then entered: perl -MFinance::Quote -e"print
""$Finance::Quote::VERSION\n""". That worked ok.
- I then went in as the Administrator to start the utility to Retrieve
Online Price Retrieval. That worked ok.
- 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.
I don't know what's happening hear but I am not a programmer and I keep
asking myself, why is this become such a chore and why isn't the updated
program setup with the correct codes to get these prices. I'm sure there
must be a good reason, not being a programmer, if I can't get this working
soon, I will either have to enter these prices manually or use some other
program or technique. I have attached my last command prompt activity for
your review. According to that, it is all installed and okay. Do I need to
make another change? I need help here. Thanks.
Richard
On Fri, Jun 27, 2014 at 12:32 PM, Fred Bone <Fred.Bone at dial.pipex.com>
wrote:
> On 27 June 2014 at 12:19, Richard Lindgren said:
>
> > Here is a copy of my last script that I entered. Not sure if this will
> > tell what Finance-Quote you need to know or not?
>
> Try
> perl -MFinance::Quote -e"print ""$Finance::Quote::VERSION\n"""
>
>
>
-------------- next part --------------
* Check Perl
* Check Perl version
* Determine which Perl flavour we have found
Access is denied.
* Install DateManip
Downloading ActiveState Package Repository packlist...done
Updating ActiveState Package Repository database...done
Syncing site PPM database with .packlists...done
Downloading Date-Manip-6.44...done
Unpacking Date-Manip-6.44...done
Generating HTML for Date-Manip-6.44...done
Updating files in site area...done
1039 files installed
* Install Crypt-SSLeay
Downloading Crypt-SSLeay-0.60...done
Unpacking Crypt-SSLeay-0.60...done
Generating HTML for Crypt-SSLeay-0.60...done
Updating files in site area...done
13 files installed
* Install Finance-Quote
Downloading Finance-Quote-1.18...done
Downloading HTML-TableExtract-2.11...done
Unpacking Finance-Quote-1.18...done
Unpacking HTML-TableExtract-2.11...done
Generating HTML for Finance-Quote-1.18...done
Generating HTML for HTML-TableExtract-2.11...done
Updating files in site area...done
98 files installed
* Run gnc-fq-check
("1.18" "vwd" "yahoo_nz" "australia" "amfiindia" "usfedbonds" "canada" "yahoo" "
adig" "bux" "aiahk" "bsero" "yahoo_australia" "unionfunds" "lerevenu" "asia" "ts
x" "sixfunds" "indiamutual" "bse" "hungary" "known_currencies" "fidelity_direct"
"goldmoney" "tdwaterhouse" "trustnet" "ftportfolios_direct" "cominvest" "mornin
gstar" "ftportfolios" "tdefunds" "hu" "za" "fundlibrary" "stockhousecanada_fund"
"yahoo_europe" "platinum" "maninv" "tsp" "financecanada" "usa" "france" "trowep
rice" "nasdaq" "bmonesbittburns" "yahoo_asia" "tiaacref" "troweprice_direct" "se
b_funds" "yahoo_brasil" "greece" "fidelity" "fetch_live_currencies" "romania" "d
wsfunds" "finland" "hex" "brasil" "asegr" "deka" "nyse" "canadamutual" "asx" "fi
nanzpartner" "fool" "dutch" "uk_unit_trusts" "sixshares" "nzx" "aex" "nz" "vangu
ard" "europe" "bourso")
* Run gnc-fq-helper
Use of uninitialized value within %info in string eq at C:/strawberry/site/lib/F
inance/Quote/Yahoo/Base.pm line 222, <> line 1.
Use of uninitialized value $info{"Missing Symbols List.\34p_change"} in substitu
tion (s///) at C:/strawberry/site/lib/Finance/Quote/Yahoo/Base.pm line 238, <> l
ine 1.
Use of uninitialized value within %info in pattern match (m//) at C:/strawberry/
site/lib/Finance/Quote/Yahoo/Base.pm line 243, <> line 1.
(#f)
* Installation succeeded
Press any key to continue . . .
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\RR Lindgren>perl -V
Summary of my perl5 (revision 5 version 16 subversion 3) configuration:
Platform:
osname=MSWin32, osvers=5.2, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cl', ccflags ='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -
DNO_STRICT -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -
DPERL_IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T',
optimize='-MD -Zi -DNDEBUG -O1',
cppflags='-DWIN32'
ccversion='12.00.8168', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksi
ze=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:
\strawberry\lib\CORE" -machine:x86'
libpth=\lib
libs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.l
ib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32
.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib comctl32.lib msvcrt.
lib
perllibs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg
32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws
2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib comctl32.lib msv
crt.lib
libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl516.lib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -
libpath:"C:\strawberry\lib\CORE" -machine:x86'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY
PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PL_OP_SLAB_ALLOC
USE_ITHREADS USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
USE_SITECUSTOMIZE
Locally applied patches:
ActivePerl Build 1603 [296746]
Built under MSWin32
Compiled at Mar 13 2013 11:29:21
@INC:
C:/strawberry/site/lib
C:/strawberry/lib
.
C:\Users\RR Lindgren>perl -MFinance::Quote -e"print ""$Finance::Quote::VERSION\n
"""
1.18
C:\Users\RR Lindgren>
More information about the gnucash-user
mailing list