[GNC] Finance quote not working

Paras Desai desaiparas at outlook.com
Tue Aug 8 22:47:04 EDT 2023


Hello John,

Thanks for the diagnosis – spot on.

I disabled price update for the stock from BSE and finance quote works 
just fine. I will keep it that way for the time being.

It was amazing how you devoted your time in helping me and very 
logically reached to the root of the cause.

My much gratitude and profound thanks to you for your wonderful help.

Best regards

Paras

On 09-08-2023 01:27, John Ralls wrote:
> Paras,
>
> Thanks. With that I was able to diagnose the problem: It's from a source and symbol that hadn't been mentioned in the thread before. I've sent you a private reply with which stock it is.
>
> The problem was caused by the Finance::Quote BSEIndia.pm inserting an invalid string into the JSON return value, causing the parser to not parse anything. I've reported that to Finance::Quote ashttps://github.com/finance-quote/finance-quote/issues/335. I'll also make sure that GnuCash pops its "quotes not retrieved" message box when that happens.
>
> In the meantime you can disable quotes on that stock while you figure out how to reliably retrieve quotes for it.
>
> Regards,
> John Ralls
>
>> On Aug 8, 2023, at 10:55 AM, Paras Desai<desaiparas at outlook.com>  wrote:
>>
>> Hello John,
>>
>> Please find attached the regenerated Trace file
>>
>> Thanks
>>
>> Paras
>>
>> On 08-08-2023 23:10, john wrote:
>>> Prasad,
>>>
>>> Darn it, I told you the wrong log argument. It should be --log=gnc.price-quotes=debug. Sorry, please try again.
>>>
>>> Regards,
>>> John Ralls
>>>
>>>
>>>> On Aug 8, 2023, at 10:28, Paras Desai<desaiparas at outlook.com>
>>>>   wrote:
>>>>
>>>> <gnucash.trace.IXKH91.log>
>>>>
>> <gnucash.trace.389U91.log>


More information about the gnucash-user mailing list