[kmymoney] [Bug 501961] Quotes fail

Thomas Baumgart bugzilla_noreply at kde.org
Sun Mar 30 15:49:46 BST 2025


https://bugs.kde.org/show_bug.cgi?id=501961

Thomas Baumgart <tbaumgart at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |RESOLVED
         Resolution|WAITINGFORINFO              |NOT A BUG

--- Comment #18 from Thomas Baumgart <tbaumgart at kde.org> ---
You have two problems: a) Yahoo and b) fx-rate.net.

a) shows as

(Debug) symbol=BUG id=E000366...
Fetching URL https://query1.finance.yahoo.com/v8/finance/chart/BUG...
URL found: https://query1.finance.yahoo.com/v8/finance/chart/BUG...
Unable to find date column '"regularMarketTime":([\d]+)' in quote data

and b) shows as

(Debug) symbol=CAD > USD id=CAD USD...
Fetching URL https://fx-rate.net/CAD/USD...
URL found: https://fx-rate.net/CAD/USD...
Symbol found: ''
Price found: '0.69534' (0.69534)
Date found: '30 Mar 2025'
Date format found: '30 Mar 2025' -> ''
Received an invalid price for CAD > USD, unable to update.

In both scenarios, the online settings you use are missing something. Here is
how that looks for me:

(Debug) symbol=CAD > USD id=CAD USD...
Fetching URL https://fx-rate.net/CAD/USD...
URL found: https://fx-rate.net/CAD/USD...
Symbol found: ''
Price found: '0.69534' (0,69534)
Date found: '30/03/2025'
Date format found: '30/03/2025' -> 'So. März 30 2025'
Price for CAD > USD updated to 0,6953 $ for 30.03.2025 (id CAD USD)

Looks like you need to adjust something around the date format for that. And
since I see that 'Date format found' differs from your and my output, it seems
that fx-rate.net behaves differently depending from where you access it.

(Debug) symbol=BUG id=BUG...
Fetching URL https://query1.finance.yahoo.com/v8/finance/chart/BUG...
URL found: https://query1.finance.yahoo.com/v8/finance/chart/BUG...
Symbol found: ''
Price found: '32.84' (32,84)
Date found: '1743192000'
Date format found: '1743192000' -> 'Fr. März 28 2025'
BUG BUG Fr. März 28 2025 32.84

Yahoo also works for me.  So this is not a bug in KMyMoney (master version) but
more likely a problem of your local configuration and regex matching. Since
this is more of a user question, please consult the forum for further
assistance. BTW, this topic has been discussed in detail on the forum already.
I will therefore close this here as "not a bug".

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list