Trying to Open File with 5.1 Saved with Master Provides Error

Thomas Baumgart thb at
Sun Aug 2 10:11:39 BST 2020

On Sonntag, 2. August 2020 01:09:22 CEST Joel Madero wrote:

> Hi All,
> Due to investments being totally broken in master build I decided to go
> back to 5.1 to update my account. I know about the general "do not use
> master for production" but I do so knowing the risk in order to fully
> provide QA for open source software.
> When I try to do anything with my saved kmymoney file in 5.1 (saved
> using the master build) I get the following error:
> Uncaught error. Please report the details to the developers
> Node was not TRANSACTION in file
> /build/kmymoney-8Tb1zm/kmymoney-5.0.1/kmymoney/mymoney/mymoneytransaction.cpp
> line 53

While loading the TRANSACTIONS, it reads a node that is not a TRANSACTION.

> If this is a planned non-backward-compatibility bug I think that
> KMyMoney devs really should put a massive warning on savings files using
> the master build. If it's unintentional, I'm happy to help debug
> provided instructions.

No, this is not planned at all. 

Debug instructions:

Depending on the size of your file (number of transactions) you can take the
visual approach by making the file human readable
for possible formats - if you did not do anything special, it is gzip compressed).
For this case, here are the commands

  % zcat your-file.kmy > your-file.xml

then use any editor to look at your-file.xml. Investigate the <TRANSACTIONS> sections
which must contain a node that is not of type <TRANSACTION>.

If you don't find anything like that, check the <SCHEDULES> section. A <SCHEDULED_TX>
should also have an embedded <TRANSACTION>.

In case you don't find anything, you can send me an anonymized version of your file
via private e-mail. See
how to create such a file. You would have to create the file using the master version.
Check that the file does not contain sensitive information before sending it out.
Use gzip to compress it (resulting filename does not matter).

Hope that helps.



Thomas Baumgart       Signal, the better WhatsApp
Did you hear about the guy who got his whole left side cut off?
He's all right now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the KMyMoney-devel mailing list