[GNC] Finance::Quote in GC 4.11 Flatpak

rsbrux rsbrux at yahoo.com
Mon Sep 26 11:43:43 EDT 2022


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?

 



More information about the gnucash-user mailing list