Summary: | Skrooge flatpak silently fails to import anything from Amex QFX | ||
---|---|---|---|
Product: | [Applications] skrooge | Reporter: | skierpage <info> |
Component: | general | Assignee: | Guillaume DE BURE <guillaume.debure> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | stephane |
Priority: | NOR | ||
Version First Reported In: | Trunk from git | ||
Target Milestone: | 25.1.0 | ||
Platform: | Flatpak | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/skrooge/b5fce96af90467786b862d5fd9652851cde39682 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | dummy QFX file with unexpected attribute on <OFX> |
Description
skierpage
2019-10-01 00:31:55 UTC
Hi, Could you provide a sample QFX file? Created attachment 122975 [details]
dummy QFX file with unexpected attribute on <OFX>
libofx 0.9.14 and below can't handle this file
(In reply to Stephane MANKOWSKI from comment #1) > Could you provide a sample QFX file? The attached file errors with ofxdump 0.9.13 and prints its one transaction with ofxdump 0.9.15. The Skrooge 2.21.0BETA flatpak silently fails to import its one transaction yet displays "1 file successfully imported". If I delete the xmlns:ns2 attribute from <OFX xmlns:ns2="http://ofx.net/types/2003/04">, both ofxdump and skrooge process the file and display/import its one transaction. Git commit b5fce96af90467786b862d5fd9652851cde39682 by Stephane MANKOWSKI. Committed on 02/10/2019 at 18:26. Pushed by smankowski into branch 'master'. Skrooge flatpak silently fails to import anything from Amex QFX M +1 -0 CHANGELOG M +4 -0 plugins/import/skrooge_import_ofx/skgimportpluginofx.cpp M +5 -2 skgbankmodeler/skgimportexportmanager.cpp A +3 -0 tests/input/skgtestimportofx/412494.qfx M +24 -0 tests/skgbankmodelertest/skgtestimportofx.cpp https://commits.kde.org/skrooge/b5fce96af90467786b862d5fd9652851cde39682 Hi, libofx library doesn't allow to check if file is well detected. I opened 2 incidents to improve libofx: https://github.com/libofx/libofx/issues/30 https://github.com/libofx/libofx/issues/29 I did a modification in skrooge to display the number of operations imported. Sounds great, thanks. https://phabricator.kde.org/D24327 updates the Flatpak recipe to use newer libofx revision. Done (In reply to skierpage from comment #6) > Sounds great, thanks. https://phabricator.kde.org/D24327 updates the Flatpak > recipe to use newer libofx revision. It turns out that KDEapps uses its own org.kde.skrooge.json, in flatpak-kde-application.git, so the fix still isn't in latest flatpak (though it does say "0 operations imported", nice!). Either the same change has to be propagated to that repo; or KDE sysadmin bcooksley said in #kde-sysadmin "https://cgit.kde.org/flatpak-kde-applications.git/tree/org.kde.skrooge.json is the authoritative file if Stephane would like to change that [then that repository needs to be updated with a .remoteapp file for Skrooge instead." I submitted https://phabricator.kde.org/D24418 that I believe makes Skrooge's flatpak recipe authoritative, but of course it's your decision whether you want to couple them more closely. Fixed |