[GNC] getting Online_Quotes to work on MacOS

coolnodje coolnodje at gmail.com
Sat Feb 12 04:25:03 EST 2022


Cheers, this got me `gnc-fq-check` working.

Now I found the doc dealing with this type of problem :)
Sorry about it, one shouldn't ask for support for Friday night install 
attempts...

Regards,
-nodje

On 11/02/2022 23:14, John Ralls wrote:
>
>> On Feb 11, 2022, at 1:22 PM, coolnodje <coolnodje at gmail.com> wrote:
>>
>> Hi,
>>
>> I was just following the Online_Quotes doc,  installing Finance::Quote and trying to get some quotes.
>>
>> I've been doing:
>>
>> ➜  bin sudo ./gnc-fq-update
>>
>> [...]
>>
>> All tests successful.
>> Files=56, Tests=82,  4 wallclock secs ( 0.06 usr  0.06 sys + 3.38 cusr  0.51 csys =  4.01 CPU)
>> Result: PASS
>>    BPSCHUCK/Finance-Quote-1.51.tar.gz
>> Tests succeeded but one dependency not OK (Test::Perl::Critic)
>>    BPSCHUCK/Finance-Quote-1.51.tar.gz
>>    [dependencies] -- NA
>> ➜  bin ./gnc-fq-check
>>
>> You need to install the following Perl modules:
>>    Finance::Quote
>>
>> Use your system's package manager to install them,
>> or run 'gnc-fq-update' as root.
>> missing-lib
>> ➜  bin
>>
>> I'm not too sure why Finance::Quote isn't found after an install.
>> Relaunching my terminal trying in a fresh shell doesn't make any difference.
>>
>> I'm using zsh on latest MacOS, have setup ALPHAVANTAGE_API_KEYin Gnucash GUI preference and in .zshrc.
> Maybe because Finance::Quote's install failed, indicated by "Tests succeeded but one dependency not OK (Test::Perl::Critic)"
>
> The workaround is to run
>    sudo cpan -f -i B::Keywords
> then run gnc-fq-update again.
>
> Regards,
> John Ralls
>


More information about the gnucash-user mailing list