SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Tools 2. Update Stock and Currency Prices 3. OBSERVED RESULT Fetching URL https://fx-rate.net/CAD/USD... Identifier found: 'CAD/USD' Date found: 'Thu Jul 20 2023' Unable to update price for CAD > USD (no price or no date) Fetching URL https://fx-rate.net/USD/CAD... Identifier found: 'USD/CAD' Date found: 'Thu Jul 20 2023' Unable to update price for USD > CAD (no price or no date) EXPECTED RESULT The correct price quote. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
please look at bug 472423 and see if that solution fixes if for you also.
(In reply to Jack from comment #1) > please look at bug 472423 and see if that solution fixes if for you also. Jack, please clarify your comment. What should I look at? Thanks.
Sorry. https://bugs.kde.org/show_bug.cgi?id=472443 is a newly filed bug for the same issue (I think) which suggests I have solved it changing 1\s[^=]+\s=</span><br\s/>\s([^\s]+) with 1\s[^=]+\s=</span><br/>\s([^\s]+) If that works for you, I'll close that bug as a duplicate of this one, and close this one as fixed. To make that change, invoke the menu Settings/Configure KMyMoney..., select Online Quotes on the left, then KMyMoney Currency on the right. The edit is just removing two characters from the regular expression in the Price text box.
Jack, The change worked fine. Please close this bug. Thanks.
*** Bug 472443 has been marked as a duplicate of this bug. ***
The price update for CAD/USD and USD/CAD failed again. Reverting back to the previous price expression solves the problem. 1\s[^=]+\s=</span><br\s/>\s([^\s]+)
The currency updates are now failing for both suggested price expressions: 1\s[^=]+\s=</span><br\s/>\s([^\s]+) 1\s[^=]+\s=</span><br/>\s([^\s]+) Do you have a fix?
Try this for the price regexp: Today\s+=\s+([^<]+)</span>
Still fails but gets further ahead: Fetching URL https://fx-rate.net/CAD/USD... Identifier found: 'CAD/USD' Price found: '0.74256' (0.74256) Unable to update price for CAD > USD (no price or no date) Fetching URL https://fx-rate.net/USD/CAD... Identifier found: 'USD/CAD' Price found: '1.3468' (1.3468) Unable to update price for USD > CAD (no price or no date)
Please take a look at https://discuss.kde.org/t/kmoney-currency-udpates-not-working/3037/8 which shows values currently working for me.