Summary: | Updating Stocks: Same regular expression does not work in master | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | jesse <jvapr27> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | 5.1.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
First image
Error on master Online settings for 5.1.9 where it is not working Online settings for 5.1.3 where it is working |
Description
jesse
2025-02-03 04:46:28 UTC
Created attachment 177912 [details]
Error on master
Created attachment 177913 [details]
Online settings for 5.1.9 where it is not working
Image of the settings on master 5.1.9. It fails.
Created attachment 177914 [details]
Online settings for 5.1.3 where it is working
It works with 5.1.3 but not 5.1.9 with the same reg ex.
Your problem seems to be the missing date format. Here are the working settings for master: Online quote settings generated with Alkimia 8.1.92-6d27032-webengine-qtnetwork URL: https://query1.finance.yahoo.com/v8/finance/chart/%1 Download mode: Default Data format: Stripped HTML Identifier: Select by: Symbol Price: "regularMarketPrice":((\d+|\d{1,3}(?:[,]\d{3})).\d+) Price decimal separator: Legacy Date: "regularMarketTime":([\d]+) Date format: %u Default identifier: Remote source: not checked and here is the result: (Debug) symbol=CSCO id=CSCO... Fetching URL https://query1.finance.yahoo.com/v8/finance/chart/CSCO... URL found: https://query1.finance.yahoo.com/v8/finance/chart/CSCO... Symbol found: '' Price found: '60.6' (60,6) Date found: '1738357201' Date format found: '1738357201' -> 'Fr. Jan. 31 2025' CSCO CSCO Fr. Jan. 31 2025 60.6 You are correct. I was missing the date format. That fixed the problem. Thanks! |