What you get is not an error but a warning. In your case it's superfluous 
because as you say 
you don't have currency rate quotes. So it adds some noise for you but should 
otherwise 
work (barring the other bugs we're fixing in the online quote retrieval area).

However for users that would have currency quotes but omitted to set an 
AlphaVantage key, 
not getting the warning would leave them puzzled.

I agree it's currently a bit of an all-or-nothing approach but that can be 
refined eventually. A 
good improvement would be to check whether currency quotes are requested and 
only then 
emit a warning for a missing AlphaVantage API key.

That would be an enhancement request for you to file though.

Regards,

Geert

Op zondag 9 april 2023 01:50:55 CEST schreef David G. Pickett via gnucash-user:
> I have no currency rate quotes, just US stocks in US dollars.
> 
> 
> -----Original Message-----
> From: Murugan Muruganandam <m.muruganan...@hotmail.com>
> To: hell...@gmail.com <hell...@gmail.com>; David G. Pickett
> <dgpick...@aol.com> Cc: gnucash-user@gnucash.org <gnucash-user@gnucash.org>
> Sent: Thu, Apr 6, 2023 5:08 pm
> Subject: Re: [GNC] Command line quotes still not fixed
> 
> #yiv0949692185 P {margin-top:0;margin-bottom:0;}Alphavantage is required for
> currency rates
> 
> 
> Saludos Cordiales
> Murugan
> From: gnucash-user
> <gnucash-user-bounces+m.muruganandam=hotmail....@gnucash.org> on behalf of
> David G. Pickett via gnucash-user <gnucash-user@gnucash.org> Sent:
> Thursday, April 6, 2023 4:41 PM
> To: hell...@gmail.com <hell...@gmail.com>
> Cc: gnucash-user@gnucash.org <gnucash-user@gnucash.org>
> Subject: Re: [GNC] Command line quotes still not fixed As I do not use
> Alphavantage, just 'Yahoo as json', why is it looking for an api key?
> 
> 
> -----Original Message-----
> From: David H <hell...@gmail.com>
> To: David G. Pickett <dgpick...@aol.com>
> Cc: geert.gnuc...@kobaltwit.be <geert.gnuc...@kobaltwit.be>;
> gnucash-user@gnucash.org <gnucash-user@gnucash.org>; jra...@ceridwen.us
> <jra...@ceridwen.us> Sent: Thu, Apr 6, 2023 4:21 pm
> Subject: Re: [GNC] Command line quotes still not fixed
> 
> I don't think the version difference is a mystery - remember that Flatpak is
> a sandbox so presumably brings along whatever perl version it was
> built/packaged with.  If you set your Alphavantage api key in the Gnucash
> application itself you'll probably also also get rid of the other error
> message. The following is all I get displayed using Geert's command format:
> flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get --
> '/home/h/Documents/GnuCash/Data Files/h.gnucash' Found Finance::Quote
> version 1.5301.
> 
> Cheers David H.
> 
> On Fri, 7 Apr 2023 at 05:08, David G. Pickett <dgpick...@aol.com> wrote:
> 
> I don't understand why, but "--" does also work, like "--namespace='.*'".
> 
> I still get a lot of errors that do not affect my quote fetch.
> It finds 1.5301 even though I installed 1.5401, a different mystery!
> 
> dgp@dgp-p6803w:~$ flatpak run --command=gnucash-cli org.gnucash.GnuCash
> --quotes get -- /home/dgp/GnuCash/ubuntu-DGPickett.gnucash* 15:05:17  WARN
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to