[kmymoney] [Bug 395980] New: KF5 cannot import ofx file on MS Windows
Jeff
bugzilla_noreply at kde.org
Thu Jun 28 22:09:10 UTC 2018
https://bugs.kde.org/show_bug.cgi?id=395980
Bug ID: 395980
Summary: KF5 cannot import ofx file on MS Windows
Product: kmymoney
Version: git (master)
Platform: MS Windows
OS: MS Windows
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: importer
Assignee: kmymoney-devel at kde.org
Reporter: jeffjl.kde at outlook.com
Target Milestone: ---
Using 5.x git master with a craft mingw build on Windows, attempts to import an
OFX file result in a a messagebox error, similar to:
"Unable to import file:///D:/Users/Jeff/Documents/KMyMoney/TestFiles/trades.ofx
using the OFX importer plugin. This file is not the correct format."
The error message is itself misleading. There is no problem with the ofx file
format.
The problem is the use of QUrl.path() on Windows, so KMM couldn't find the
file. If I change the 2 occurrences of url.path() to url.toLocalFile() in
ofximporter.cpp the import succeeds.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list