KMyMoney Digest, Vol 149, Issue 6

Michael Calder michaelcalder at iinet.net.au
Fri May 26 08:52:03 BST 2023


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.
*Then I deleted Yahoo*  as a source and without re-starting KMyMoney did an Update Stock and Currency Prices with
the result in*YahooFinanceONLY.png*  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*2ndYhooFinanceONLY.png*
By the way, I had changed ANZ.AX to "Yahoo Finance" as source. Of interest here is the repetition of*Source Yahoo does not exist*
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*NEWGreyedOut.png*

Finally, I have just a "Reinstall" using Synaptic Package Manager and while OK had this Error message at the end
> 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) 
Any more thoughts on our problem?

Cheers.

Mike.

Michael Calder

On 15/5/23 16:32, Michael Calder wrote:
>
> G'day Thomas,
>
> Thank you for your help - I have found the problem.
>
> You said: You should use 5.1.2 if supported by your package manager.
> Unfortunately this was not available.
>
> After much stuffing around I removed the previous versions and Installed
> kmymoney-5.1-484-linux-gcc-x86_64.AppImage
> This shows as KMyMoney Version 5.1.3-0a2dcd1d5
>
> When I viewed Settings -> Configure KMyMoney I found two entries for 
> "yahoo", Yahoo and Yahoo Finance.
>
> Both with the same Details EXCEPT Yahoo (my old one) had a space at 
> the front of the URL.
>
> I edited out the space and "Eureka!" all stocks d/l without trouble.
> How the space got there on about 04 May I have no idea.
>
> Assuming that Yahoo Finance is the correct URL I intend to delete 
> "Yahoo".
>
> Thanks again for all your comments which led me to the solution.
>
> Cheers,
>
> Mike.
>
> Michael Calder
>
> On 14/5/23 21:12, kmymoney-request at kde.org wrote:
>> Send KMyMoney mailing list submissions to
>> kmymoney at kde.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://mail.kde.org/mailman/listinfo/kmymoney
>> or, via email, send a message with subject or body 'help' to
>> kmymoney-request at kde.org
>>
>> You can reach the person managing the list at
>> kmymoney-owner at kde.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of KMyMoney digest..."
>>
>>
>> Today's Topics:
>>
>>     1. Re: Update Stock And Currencies still Fail (Thomas Baumgart)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sun, 14 May 2023 13:12:09 +0200
>> From: Thomas Baumgart <thb at net-bembel.de>
>> To: kmymoney at kde.org
>> Subject: Re: Update Stock And Currencies still Fail
>> Message-ID: <21889329.EfDdHjke4D at sy-346-nb>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi,
>>
>> On Sonntag, 14. Mai 2023 09:29:37 CEST Michael Calder via KMyMoney 
>> wrote:
>>
>>> G'day ,
>>>
>>> I have read KMyMoney Digest, Vol 149, Issue 2
>>>
>>> I have been unable to download from yahoo since 04 May.
>>>
>>> Using Synaptic Package Manager I have reinstalled 5.0.8-1 build3
>>> and tried this URL:
>>>
>>> https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice& 
>>>
>>> symbols=BMY
>> Here you use BMY as symbol ...
>>> When I attempt to d/l prices I get:
>>>
>>> Fetching URL ...
>>> Malformed URL .
>> ... Wow, that is strange, why is the URL malformed?
>>
>>> Unable to update price for ANZ.AX (empty quote data)
>> ... now you talk about ANZ.AX ...
>>> which continues for all 13 stocks shares).
>> So it looks more like a general problem, but I am sure you already
>> know/expect that.
>>
>>> My Online Quotes Configure is:
>>>
>>> Identifer: %1
>>> Identify by: Symbol
>>> Price: "regularMarketPrice":((\d+|\d{1,3}(?:[,]\d{3})).\d+)
>>> Date: "regularMarketTime":([\d]+)
>> That looks OK to me.
>>
>>> Opening the URL gets:
>>>
>>>> {"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}} 
>>>>
>> ... and here the symbol is BMW. Somewhat hard to compare.
>>
>> Let's start afresh. KMyMoney 5.0.8 is a bit too old. You should use 
>> 5.1.2 if supported
>> by your package manager.
>>
>> The URL field should contain 
>> "https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&symbols=%1"
>> without the enclosing quotes. In case you take that and use it in 
>> your browser to see what is returned
>> you need to replace %1 with BMY, ANZ.AX or BMW. That is what KMyMoney 
>> is doing.
>>
>>> I also tried this which I saw somewhere:
>>>
>>> https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&symbols=%1 
>>>
>>>
>>> with the same result when I attempt to d/l prices
>>>
>>> But the URL does not open with this message:
>>>
>>> HTTP Status 400 - Unable to parse URI query
>>> type Exception report
>>>
>>> message Unable to parse URI query
>>>
>>> description Bad Request
>> Maybe, that is because the %1 is not replaced with the actual symbol 
>> when using a browser
>> to verify.
>>
>>> I am using Linux Mint 20.3 Cinnamon, Version 5.2.7, Linux Kernel 
>>> 5.4.0-148-generic
>>>
>>> I do do Kernel upgrades when they come along. Could it be that?
>> Not very likely and I doubt it.
>>
>> For your reference, I attach my settings here. The screenshot is 
>> taken from a
>> more recent development version of KMyMoney and it thus can contain 
>> additional
>> fields you don't see.
>>
>> Hope that helps to get started.
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20230526/9fe82c39/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: YahooFinnceONLY.png
Type: image/png
Size: 157027 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20230526/9fe82c39/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2ndYhooFinance ONLY.png
Type: image/png
Size: 167030 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20230526/9fe82c39/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NEWGreyedOut.png
Type: image/png
Size: 66642 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20230526/9fe82c39/attachment-0005.png>


More information about the KMyMoney mailing list