[kmymoney] [Bug 517322] Opening file after upgrade to KMyMoney 5.2.2 fails with 'Corrupted data: split references unknown account id'
Thomas Baumgart
bugzilla_noreply at kde.org
Tue Mar 10 14:36:04 GMT 2026
https://bugs.kde.org/show_bug.cgi?id=517322
--- Comment #4 from Thomas Baumgart <tbaumgart at kde.org> ---
Next steps:
> zgrep -n -B 5 -A 5 matched-tx your-data-file.kmy
shows you the section of the file. There are three lines which we need to take
care of. They contain (and your values might be different)
> <PAIR key="kmm-match-split" value="S0002"/>
> <PAIR key="kmm-matched-tx" value="
<!DOCTYPE ... [ removed for readability ]
> <PAIR key="kmm-orig-not-reconciled" value="xxx"/>
The output of zgrep should show the line numbers as well. Those three lines
have to be removed. Please do the following:
> cp -p your-data-file.kmy your-data-file.kmy.bak
> mv your-data-file.kmy your-data-file.kmy.gz
> gunzip your-data-file.kmy.gz
The first line simply is the safety net :) the second prepares for the third
and the last does the decompression.
Then take your favorite editor and open your-data-file.kmy, delete those three
lines, save the file and quit the editor.
Then open it in KMyMoney again (no need to compress the file first)
Hope that makes sense.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list