Summary: | Script based online quotes do not work in the AppImage version | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | JAH <vanquestor> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | me |
Priority: | NOR | ||
Version: | 5.0.8 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kmymoney/8024818f811c74bb6e1578db0f9a64787c6f65d8 | Version Fixed In: | 5.1.0 |
Sentry Crash Report: |
Description
JAH
2020-03-13 14:57:25 UTC
I should add that I only use this to import a csv file of prices in the format: Symbol, price, date and that if the CSV importer were able to handle that as an update to kmm.prices it would be an ideal alternative to script based price updates for many users because such price csv files can be downloaded from a Yahoo finance portfolio (even though Yahoo finance no longer provides individual prices enquiries) I am not able to duplicate this problem with a locally build and installed KMyMoney but using the AppImage version (same git sha). So it seems this is a problem of the AppImage version only. Not sure if https://github.com/AppImage/AppImageKit/issues/396 is relevant here. I was able to figure out what the cause to this problem is: execve("/home/thb/bin/kmm_price.sh", ["/home/thb/bin/kmm_price.sh", "NYCB"], 0x7ffc20c18f08 /* 113 vars */) = -1 ENOEXEC (Exec format error) Git commit 8024818f811c74bb6e1578db0f9a64787c6f65d8 by Thomas Baumgart. Committed on 14/03/2020 at 07:39. Pushed by tbaumgart into branch '5.0'. Allow local script files as price update sources in AppImage The price update service in KMyMoney allows to start local scripts to fetch price information. This did not work when started as AppImage. This change brings that functionality to the AppImage version. Within the AppImage version a configured URL such as "file:///home/user/bin/price.sh %1" is called as "/bin/sh" "-c" "/home/user/bin/price.sh %1" where %1 will be replaced with the actual investment symbol. FIXED-IN: 5.0.9 M +7 -0 kmymoney/converter/webpricequote.cpp https://commits.kde.org/kmymoney/8024818f811c74bb6e1578db0f9a64787c6f65d8 Thank you for addressing this issue. The Appimage version is a great way to access the updated version prior to distro updates and this will return it to full functionality for me. Many thanks. |