Problem opening KMM file

Thomas Baumgart thb at net-bembel.de
Mon Sep 15 07:31:18 BST 2025


On Mittwoch, 10. September 2025 00:03:29 CEST Brendan Coupe via KMyMoney-devel wrote:

> I have no idea how to fix this.
> 
> grep  A000432 MyMoney.kmy  | grep '<ACCOUNT>'
> 
> returns nothing.
> 
> grep  A000432 MyMoney.kmy  | wc
> 
> returns 9 lines


I read this before and wondered what you were doing to see
nothing but finding 9 matches and just spotted the problem today:

  grep  A000432 MyMoney.kmy  | grep '<ACCOUNT>'

needs to be changed to

  grep  A000432 MyMoney.kmy  | grep '<SPLIT'

because the account is missing and there won't be an ACCOUNT item
(unless there is and it is not loaded for other reasons, but I doubt
that).

That should show those 9 matches as well (maybe less, but that is
not so important right now). Using

  grep -n A000432 MyMoney.kmy  | grep '<SPLIT'

provides you the line numbers of those splits and you can try to
analyze of which type this account needs to be by looking at the
transaction.

-- 

Regards

Thomas Baumgart

-------------------------------------------------------------
Bachelor: One who is footloose & fiance free!
-------------------------------------------------------------
-------------- 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: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20250915/eed61ed8/attachment.sig>


More information about the KMyMoney-devel mailing list