Geoff

thanks so much, it works perfectly for me in windows, i replaced the 
AlphaVantage.pm file with the FX_Daily code




Saludos Cordiales


Murugan

________________________________
From: gnucash-user 
<gnucash-user-bounces+m.muruganandam=hotmail....@gnucash.org> on behalf of 
Geoff <cleanoutmys...@gmail.com>
Sent: Monday, September 26, 2022 9:48 PM
To: rsbrux <rsb...@yahoo.com>; gnucash-user@gnucash.org 
<gnucash-user@gnucash.org>
Subject: Re: [GNC] Finance::Quote in GC 4.11 Flatpak

CAVEAT:- I am not familiar with FlatPak.

1. See 3b.

2. I personally have no idea, but discussion on the pull request you
cited says YES.

3a.
https://raw.githubusercontent.com/shirayu/finance-quote/9aee4b6d06da8a0e689b751d0e926160fb99d71b/lib/Finance/Quote/CurrencyRates/AlphaVantage.pm

3b.  Follow these steps to locate and replace your current
AlphaVantage.pm file:-

3b.1  Save the file from 3a (plain text) as AlphaVantage.pm in a
temporary location.

3b.2  Find the current copy of AlphaVantage.pm on your machine - run
something like this command:
   sudo find / -name AlphaVantage.pm -print

3b.3  Rename the current copy of AlphaVantage.pm in that location to
something like AlphaVantage.pm.BACKUP

3b.4   Copy the AlphaVantage.pm file from 3b.1 to that location.

4.  If the above makes things worse, simply delete the new file and
rename the backup file.

Good luck!

Geoff
=====


On 27/09/2022 1:43 am, rsbrux via gnucash-user wrote:
> I have installed my free AlphaVantage API key in /etc/environment, but when I 
> try to "Get Quotes", I get the well-known message "Unable to retrieve quotes 
> for these items:, CURRENCY:  ...".  I presume that this is due to the problem 
> reported on the page 
> https://wiki.gnucash.org/wiki/Online_Quotes#Source_Alphavantage.2C_US:
>
>>>
> GnuCash stopped being able to retrieve currency exchange rates using a free 
> AlphaVantage API key from about Aug 15 2022 because AlphaVantage made the 
> method F::Q used to obtain exchange rates unavailable for free API keys.
>
> F::Q has been modified to work with free API keys and the fix should be 
> available in the next F::Q version (1.53).
> <<
>
> By running "gnc-fq-check" in a console running "flatpak run --command=sh 
> org.gnucash.GnuCash" I found that the F::Q version in my Flatpak installation 
> is 1.49.  Obviously, I would like to update F::Q to version 1.53.   I tried 
> running "gnc-fq-update" from within "flatpak run --command=sh 
> org.gnucash.GnuCash", but it fails from a normal account (presumably due to 
> inadequate priveleges), and "sudo flatpak run --command=sh 
> org.gnucash.GnuCash" doesn't work either, nor does running "flatpak run 
> --command=sh org.gnucash.GnuCash" after having used "su <adminname>" to 
> invoke it with higher privileges.
>
> 1. How can I update F::Q in my Flatpak installation?
>
> 2. Will this solve the problem? V1.53 isn't listed in either SourceForge or 
> metacpan.
>
> 3. I looked at the workaround 
> (https://github.com/finance-quote/finance-quote/pull/230), but it isn't clear 
> to me:
>
> a. How to obtain the updated AlphaVantage.pm from github pull #230?
>
> b. How to apply it to the flatpak environment?
>
>
>
> _______________________________________________
> 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.
_______________________________________________
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.
_______________________________________________
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