Re: [GNC] getting Online_Quotes to work on MacOS

2022-02-12 Thread coolnodje

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  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


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] getting Online_Quotes to work on MacOS

2022-02-11 Thread John Ralls


> On Feb 11, 2022, at 1:22 PM, coolnodje  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

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


[GNC] getting Online_Quotes to work on MacOS

2022-02-11 Thread coolnodje

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.


-nodje
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.