[kmymoney] [Bug 473223] Data lost on kmymoney-master-2001-macos-clang-x86_64.dmg upgrade

Thomas Baumgart bugzilla_noreply at kde.org
Sun Aug 13 05:55:04 BST 2023


https://bugs.kde.org/show_bug.cgi?id=473223

--- Comment #19 from Thomas Baumgart <tbaumgart at kde.org> ---
Your "Users/neilralph/Downloads/kmymoney/RalphCenterportGood.kmy" file is a
good example. You mention it shows 4519 on your Linux machine but loads only
the first 345 on MacOS. So it seems that either transaction 345 or 346 in the
list may contain the culprit. I shoot for the latter. Here's how we can easily
find out on which line that is in the XML file (assuming you have converted
that file to XML format already):

grep -n '<TRANSACTION' RalphCenterportGood.xml | head -n 346  | tail -n 1

should show the line number and initial data of transaction 346. How does that
whole TRANSACTION element (including all the splits) looks like? Can you post
that here? Maybe, also include transaction 345 just in case.

BTW, the last line of transaction 346 can be figured out using

grep -n '/TRANSACTION' RalphCenterportGood.xml | head -n 346  | tail -n 1

I doubt that the transport from Linux to MacOS has an influence here, because
the file is compressed and would not be read by KMyMoney if something would
have failed during the transport. Also, prior versions of MacOS (5.1 branch)
can open the file(s).

The entries of form currency="E0000**" instances are another weirdness. They
may have been introduced by an older version of the application and may not
cause problems, but that is another topic and should not be handled/discussed
here.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list