[GNC] gnucash-cli doesn't retrieve quotes from "unknown" sources

john jralls at ceridwen.us
Sun Dec 10 19:30:12 EST 2023



> On Dec 10, 2023, at 03:40, Gustavo R. Montesino <grmontesino at gmail.com> wrote:
> 
> Hello,
> 
> I'm running gnucash 5.4 from Debian testing/sid repo and getting
> updated commodity quotes through "gnucash-cli --quotes get".
> 
> Recently I've noticed that gnucash-cli isn't getting quotes from
> "unkonwn" Finance::Quote sources; the same commodities get updated
> quotes correctly if run from the Price dialog.
> 
> Running gnucash-cli with "--debug", the affected commodities doesn't
> show up on the "Query JSON" posted on the console; running the gui
> with debug they show correctly on gnucash.trace, eg:
> 
> 8:23:47  INFO <gnc.price-quotes> [GncQuotesImpl::query_fq] Query JSON: {
>    "defaultcurrency": "BRL",
> (...)
>    "tesouro_direto": {
>        "Tesouro Prefixado 2026": "",
>        "Tesouro Selic 2027": "",
> (...)
> 
> Could someone please help me with this?


Does it work correctly if you request individual quotes from gnucash-cli, for example 
    bin/gnucash-cli -Q dump tesouro_direto "Tesouro Prefixado 2026"

Regards,
John Ralls



More information about the gnucash-user mailing list