On Dienstag, 18. Juni 2024 17:58:14 CEST Jack via KMyMoney-devel wrote:

> I just tried again with both libalkimia and kmymoney freshly compiled  
> from master branch.
> 
> Now, all price updates fail with failure to retrieve ULR, and if I look  
> at Online Sources in configure KMyMoney, there are NO sources, except  
> for three local ones (all three apparently local copies from Install,  
> but all three have blank URLs.  Am I caught with something out of sync  
> between alkimia and KMM?

Not really. I identified this as a bug in alkimia and just fixed it:

    https://invent.kde.org/office/alkimia/-/commit/6f033d37

The problem only shows up if you Cancel out of the KMyMoney settings dialog.
The three local ones are actually remote ones, but due to the above
mentioned bug they are shown as local but do not contain any data.

The only way to fix this is opening the GHNS dialog via the install button,
uninstall the source and re-install it.  Seems you have done that.

Technical reason: they still have an entry in the index file

    ~/.local/share/knewstuff3/kmymoney-quotes.knsregistry

but the corresponding data file in

    ~/.local/share/kmymoney/quotes/

was removed as part of the cancel of the dialog. 

The fix mentioned above keeps the data file when canceling the dialog.

Thomas



> If I try a new Install, I choose "Yahoo.com [Stock]" (the current local  
> is "Yahoo.com [Equities]" is lets me "update" but that has no apparent  
> effect.  If I uninstall and then install, I see no change in the Online  
> Quotes window, and closing the Intall window crashes KMM.  I'm out of  
> time right now, but I'll play some more later.
> 
> Jack
> 
> On 2024.06.11 19:44, Jack via KMyMoney-devel wrote:
> > I just tried to update stock prices, and all failed.  I only captured  
> > one error
> > 
> > (Debug) symbol=C id=E000054...
> > Fetching URL https://query1.finance.yahoo.com/v8/finance/chart/C...
> > URL found: https://query1.finance.yahoo.com/v8/finance/chart/C...
> > Unable to parse symbol for C
> > Price found: '59.14' (59.14)
> > Date found: '1718136002'
> > Date format found: '1718136002' -> ''
> > Received an invalid price for C, unable to update.
> > 
> > (That date is 2024-06-11 16:00:02 -0400: so it is current.)
> > 
> > I note that "Update All" ran through all the securities putting an  
> > error for each one.
> > 
> > This is with newly compiled KMM and libalkimia both from git head.
> > 
> > I then looked at Configure/KMyMoney... Online Quotes, and everything  
> > has disappeared.  I only see fx.rate.net [historical], Yahoo.com  
> > [Equities]. and Yahoo.com [Currency].
> > 
> > It also seems that if I edit any of my securites, it does NOT have a  
> > source set for prices.  Explicitly setting one to Yahoo equities, it  
> > then fails with
> > 
> > (Debug) symbol=PFE id=E000002...
> > Fetching URL ...
> > Unable to fetch url for PFE
> > 
> > Also, when I now try to Update All, if fails for each one, and gives  
> > me the old choice of Y/N to remove that source or not.  I really  
> > don't know what I did differently only minutes ago to have it not  
> > stop for each error.
> > 
> > Looking at all prices, it seems I updated many yesterday from the  
> > Statement Importer (irrelelvant here?) but on 1 May from Yahoo  
> > Finance for most of them.
> > 
> > I suppose I should have been testing more frequently with the recent  
> > changes.
> > 
> > Anything else I can do to help troubleshoot?
> > 
> > Jack
> 

-- 

Regards

Thomas Baumgart

-------------------------------------------------------------
You cannot strengthen the weak by weakening the strong.
-------------------------------------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to