[Fwd: Re: Unable to get quotes]

Bobby Goins goins at iglou.com
Fri Dec 29 22:03:27 EST 2006


David, you are correct.

	gnc-fq-dump yahoo CSCO

Worked as expected.

Here is what I got from ->echo '(yahoo "CSCO")' | gnc-fq-helper

    $ echo '(yahoo "CSCO")' | gnc-fq-helper
    Can't locate Date/Manip.pm in @INC (@INC contains:
    /usr/lib/perl5/5.8.7/i486-linux /usr/lib/perl5/5.8.8/i486-linux
    /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i486-linux
    /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at
    /usr/bin/gnc-fq-helper line 35.
    BEGIN failed--compilation aborted at /usr/bin/gnc-fq-helper line 35.
    $

I hope this helps.

David Hampton wrote:
> On Thu, 2006-12-28 at 21:06 -0500, Bobby Goins wrote:
>   
>> David, I am running gnucash-2.0.1
>>
>> Here are the results of gnucash --debug --add-price-quotes
>>
>>     $ gnucash --debug --add-price-quotes gnucash_data/gnucashfile
>>     gnucash: [D] (results ("1.12" "tsp" "vwd" "financecanada" "yahoo_nz"
>>     "australia" "usa" "troweprice" "france" "amfiindia" "nasdaq"
>>     "usfedbonds" "bmonesbittburns" "aex_options" "yahoo_asia"
>>     "troweprice_direct" "tiaacref" "canada" "yahoo" "seb_funds"
>>     "yahoo_brasil" "fidelity" "greece" "dwsfunds" "yahoo_australia"
>>     "unionfunds" "finland" "lerevenu" "asia" "indiamutual" "hex"
>>     "brasil" "asegr" "deka" "nyse" "canadamutual" "fidelity_direct"
>>     "asx" "tdwaterhouse" "fool" "trustnet" "ftportfolios_direct"
>>     "uk_unit_trusts" "dutch" "ftportfolios" "tdefunds" "nzx" "za"
>>     "aex_futures" "fundlibrary" "aex" "yahoo_europe" "nz" "vanguard"
>>     "bourso" "europe" "platinum" "maninv"))
>>     gnucash: [M] "Found Finance::Quote version ""1.12"
>>     gnucash: [D] "in add-quotes-to-book-at-url"
>>     gnucash: [D] "about to call gnc:book-add-quotes"
>>     gnucash: [D] (handling-request ("fidelity" "CRIMX" "NIGRX" "OGGIX"
>>     "TEMFX" "FCNTX" "FMCSX" "JIEIX" "ANCFX" "NMCAX" "FEQTX" "FPURX"
>>     "AGTHX" "PMCFX" "GM"))
>>     gnucash: [D] (results #<eof>)
>>     gnucash: [W] "There was an unknown error while retrieving the price
>>     quotes.""
>>     "
>>     gnucash: [D] "done gnc:book-add-quotes:"#<unspecified>
>>     $
>>     
>
> I was afraid you'd say something like that.  Lets step back one and just
> test the utility scripts that gnucash uses to get quotes without
> actually running gnucash.  What do you get from:
>
> 	gnc-fq-dump yahoo CSCO
>
> and
>
> 	echo '(yahoo "CSCO")' | gnc-fq-helper
>
> I suspect the first one will succeed, and the second one will fail with
> complaints of a missing perl module.  That's what happened to me the
> other night while attempting to reproduce your program on another
> system.
>
> David
>
>
>
>
>   

-------------- next part --------------
An embedded message was scrubbed...
From: David Hampton <hampton-gnucash at rainbolthampton.net>
Subject: Re: Unable to get quotes
Date: Thu, 28 Dec 2006 21:54:10 -0500
Size: 3170
Url: http://lists.gnucash.org/pipermail/gnucash-user/attachments/20061229/f7531c16/attachment.mht 


More information about the gnucash-user mailing list