Summary: | Currency update fails for CAD/USD and USD/CAD | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Pete <peterzay1> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | jfiallo |
Priority: | NOR | ||
Version: | 5.1.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Pete
2023-07-20 09:12:30 UTC
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. |