KMyMoney OFX import parsing error on Ubuntu 24.04

I resolved a problem importing OFX files into KMyMoney. I’m hoping this may help someone else.

Fix:
Uninstalling the snap package version from the App Center and installing the Debian version from the App Center fixed the import parsing problem with libofx. Also, KMM overall seems to be working smoother now.

Ubuntu Version:
Ubuntu 24.04.1 LTS Gnome 46
Snap version KMyMoney 5.1.3 KDE 5.108.0 Qt 5.15.10
Debian version KMyMoney 5.1.3 KDE 5.115.0 Qt 5.15.13

Desktop Environment (if applicable):
GNOME 46

Problem Description:
Can not import ofx or qfx files into KMM. I get the following error dialog.
Unable to import ‘/home/seseeley/Documents/finances/2025/JointChecking/Checking2 Jan 2025.qfx’ using the OFX importer plugin. The plugin returned the following error: Unable to parse file

Terminal output shows:

LibOFX ERROR: find_dtd():Unable to find the DTD named opensp.dcl
LibOFX ERROR: find_dtd():Unable to find the DTD named ofx160.dtd
LibOFX ERROR: ofx_proc_file(): FATAL: Missing DTD, aborting

What I’ve Tried:
I ran sudo apt-get install libofx7t64 and got “libofx7t64 is already the newest version (1:0.10.9-1.1build2).”

I verified opensp.dcl and ofx160.dtd are located in /usr/share/libofx/libofx/dtd and are read only.

This topic was automatically closed after 30 days. New replies are no longer allowed.