<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<pre class="moz-signature" cols="72">G'day Thomas,
My problem returned when I was still using the kmymoney-5.1-484-linux-gcc-x86_64.AppImage
and I was unable to find a cause. I still had both Yahoo and Yahoo Finance as Online Quotes sources
having not got around to deleeting "Yahoo".
I was never happy with the AppImage, fonts hard to read and having to open the AppImage file
directly rather than from an Icon in the Cinnamon Menu.
I have now gone back to KMyMoney Version 5.0.8 Which is the one available on mintinstall 8.0.9 Software Manager.
Of my 13 Stocks (shares) only BHP.AX and CSR.AK have Yahoo Finance set as their Online Source.
I did a series of tests of Update Stock and Currency Prices with both Yahoo and Yahoo Finance as Online Quotes without success.
<b><font color="#ff0000">Then I deleted Yahoo</font></b> as a source and without re-starting KMyMoney did an Update Stock and Currency Prices with
the result in <b>YahooFinanceONLY.png</b> I THINK that Yahoo was still an option when I looked at the final stage using
the Security Detail Wizard, Use Finance :: Quote.
Now, after a restart Yahoo has gone and all 10 stocks that were using it have no entry in Use Finance :: Quote.
Not surprisingly, when I do an Update Stock and Currency Prices I get a result as shown in <b>2ndYhooFinanceONLY.png</b>
By the way, I had changed ANZ.AX to "Yahoo Finance" as source. Of interest here is the repetition of <b>Source Yahoo does not exist</b>
Having deleted it I would think this indicates a "ghost" left behind?
I note the comment about the "NEW" button being greyed out. I have the same situation. See <b>NEWGreyedOut.png</b>
Finally, I have just a "Reinstall" using Synaptic Package Manager and while OK had this Error message at the end
<blockquote type="cite">W: Download is performed unsandboxed as root as file '/root/.synaptic/tmp//tmp_sh' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
</blockquote>Any more thoughts on our problem?
Cheers.
Mike.
Michael Calder
</pre>
<div class="moz-cite-prefix">On 15/5/23 16:32, Michael Calder wrote:<br>
</div>
<blockquote type="cite"
cite="mid:11eab398-9ce1-73ef-7b73-f8a14e96e63d@iinet.net.au">
<br>
G'day Thomas,
<br>
<br>
Thank you for your help - I have found the problem.
<br>
<br>
You said: You should use 5.1.2 if supported by your package
manager.
<br>
Unfortunately this was not available.
<br>
<br>
After much stuffing around I removed the previous versions and
Installed
<br>
kmymoney-5.1-484-linux-gcc-x86_64.AppImage
<br>
This shows as KMyMoney Version 5.1.3-0a2dcd1d5
<br>
<br>
When I viewed Settings -> Configure KMyMoney I found two
entries for "yahoo", Yahoo and Yahoo Finance.
<br>
<br>
Both with the same Details EXCEPT Yahoo (my old one) had a space
at the front of the URL.
<br>
<br>
I edited out the space and "Eureka!" all stocks d/l without
trouble.
<br>
How the space got there on about 04 May I have no idea.
<br>
<br>
Assuming that Yahoo Finance is the correct URL I intend to delete
"Yahoo".
<br>
<br>
Thanks again for all your comments which led me to the solution.
<br>
<br>
Cheers,
<br>
<br>
Mike.
<br>
<br>
Michael Calder
<br>
<br>
On 14/5/23 21:12, <a class="moz-txt-link-abbreviated" href="mailto:kmymoney-request@kde.org">kmymoney-request@kde.org</a> wrote:
<br>
<blockquote type="cite">Send KMyMoney mailing list submissions to
<br>
<a class="moz-txt-link-abbreviated" href="mailto:kmymoney@kde.org">kmymoney@kde.org</a>
<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit
<br>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/kmymoney">https://mail.kde.org/mailman/listinfo/kmymoney</a>
<br>
or, via email, send a message with subject or body 'help' to
<br>
<a class="moz-txt-link-abbreviated" href="mailto:kmymoney-request@kde.org">kmymoney-request@kde.org</a>
<br>
<br>
You can reach the person managing the list at
<br>
<a class="moz-txt-link-abbreviated" href="mailto:kmymoney-owner@kde.org">kmymoney-owner@kde.org</a>
<br>
<br>
When replying, please edit your Subject line so it is more
specific
<br>
than "Re: Contents of KMyMoney digest..."
<br>
<br>
<br>
Today's Topics:
<br>
<br>
1. Re: Update Stock And Currencies still Fail (Thomas
Baumgart)
<br>
<br>
<br>
----------------------------------------------------------------------
<br>
<br>
Message: 1
<br>
Date: Sun, 14 May 2023 13:12:09 +0200
<br>
From: Thomas Baumgart <a class="moz-txt-link-rfc2396E" href="mailto:thb@net-bembel.de"><thb@net-bembel.de></a>
<br>
To: <a class="moz-txt-link-abbreviated" href="mailto:kmymoney@kde.org">kmymoney@kde.org</a>
<br>
Subject: Re: Update Stock And Currencies still Fail
<br>
Message-ID: <21889329.EfDdHjke4D@sy-346-nb>
<br>
Content-Type: text/plain; charset="utf-8"
<br>
<br>
Hi,
<br>
<br>
On Sonntag, 14. Mai 2023 09:29:37 CEST Michael Calder via
KMyMoney wrote:
<br>
<br>
<blockquote type="cite">G'day ,
<br>
<br>
I have read KMyMoney Digest, Vol 149, Issue 2
<br>
<br>
I have been unable to download from yahoo since 04 May.
<br>
<br>
Using Synaptic Package Manager I have reinstalled 5.0.8-1
build3
<br>
and tried this URL:
<br>
<br>
<a class="moz-txt-link-freetext" href="https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&">https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&</a>
<br>
symbols=BMY
<br>
</blockquote>
Here you use BMY as symbol ...
<br>
<blockquote type="cite">When I attempt to d/l prices I get:
<br>
<br>
Fetching URL ...
<br>
Malformed URL .
<br>
</blockquote>
... Wow, that is strange, why is the URL malformed?
<br>
<br>
<blockquote type="cite">Unable to update price for ANZ.AX (empty
quote data)
<br>
</blockquote>
... now you talk about ANZ.AX ...
<br>
<blockquote type="cite">which continues for all 13 stocks
shares).
<br>
</blockquote>
So it looks more like a general problem, but I am sure you
already
<br>
know/expect that.
<br>
<br>
<blockquote type="cite">My Online Quotes Configure is:
<br>
<br>
Identifer: %1
<br>
Identify by: Symbol
<br>
Price: "regularMarketPrice":((\d+|\d{1,3}(?:[,]\d{3})).\d+)
<br>
Date: "regularMarketTime":([\d]+)
<br>
</blockquote>
That looks OK to me.
<br>
<br>
<blockquote type="cite">Opening the URL gets:
<br>
<br>
<blockquote type="cite">{"quoteResponse":{"result":[{"language":"en-US","region":"US","quoteType":"ECNQUOTE","typeDisp":"ECNQUOTE","quoteSourceName":"Delayed
Quote","triggerable":true,"customPriceAlertConfidence":"HIGH","exchangeTimezoneName":"America/New_York","exchangeTimezoneShortName":"EDT","gmtOffSetMilliseconds":-14400000,"market":"us_market","marketState":"PRE","exchange":"NMS","esgPopulated":false,"sourceInterval":15,"exchangeDataDelayedBy":0,"tradeable":false,"cryptoTradeable":false,"firstTradeDateMilliseconds":839511000000,"fullExchangeName":"NasdaqGS","symbol":"BMW"}],"error":null}}
<br>
</blockquote>
</blockquote>
... and here the symbol is BMW. Somewhat hard to compare.
<br>
<br>
Let's start afresh. KMyMoney 5.0.8 is a bit too old. You should
use 5.1.2 if supported
<br>
by your package manager.
<br>
<br>
The URL field should contain
<a class="moz-txt-link-rfc2396E" href="https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&symbols=%1">"https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&symbols=%1"</a><br>
without the enclosing quotes. In case you take that and use it
in your browser to see what is returned
<br>
you need to replace %1 with BMY, ANZ.AX or BMW. That is what
KMyMoney is doing.
<br>
<br>
<blockquote type="cite">I also tried this which I saw somewhere:
<br>
<br>
<a class="moz-txt-link-freetext" href="https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&symbols=%1">https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&symbols=%1</a>
<br>
<br>
with the same result when I attempt to d/l prices
<br>
<br>
But the URL does not open with this message:
<br>
<br>
HTTP Status 400 - Unable to parse URI query
<br>
type Exception report
<br>
<br>
message Unable to parse URI query
<br>
<br>
description Bad Request
<br>
</blockquote>
Maybe, that is because the %1 is not replaced with the actual
symbol when using a browser
<br>
to verify.
<br>
<br>
<blockquote type="cite">I am using Linux Mint 20.3 Cinnamon,
Version 5.2.7, Linux Kernel 5.4.0-148-generic
<br>
<br>
I do do Kernel upgrades when they come along. Could it be
that?
<br>
</blockquote>
Not very likely and I doubt it.
<br>
<br>
For your reference, I attach my settings here. The screenshot is
taken from a
<br>
more recent development version of KMyMoney and it thus can
contain additional
<br>
fields you don't see.
<br>
<br>
Hope that helps to get started.
<br>
<br>
</blockquote>
</blockquote>
</body>
</html>