KMM compiled from source this morning seems to broken

Thomas Baumgart thb at net-bembel.de
Mon Jun 7 15:04:21 BST 2021


On Sonntag, 6. Juni 2021 22:52:40 CEST Brendan Coupe wrote:

> The differences in kmymoneyrc are not a problem.
> 
> I realized that my KMM file dropped in size from 2.1M to 606K some time
> this morning. I assumed after I recompiled KMM.
> 
> I restored KMM to the older version (2021.05.31), opened the last good
> file, made a change, saved it and the file size was about the same.
> 
> I restored KMM to the version compiled today (2021.06.06) and did the same
> thing. The saved file went from 2.1M to 606K.
> 
> I repeated the process and the same thing happened. It appears that KMM is
> damaging my file when I use the version compiled today.



There were recently two changes wich can cause a drop in size of the file:

a) removal of unused match information from very old versions (SVN age)
   this should also provide information when saving in the consistency

5.1: not relevant as change is not added to the 5.1 branch
master: git revert b7905d3392894e9ae3d9c41ab910f6cb9af6c6ae

which should not explain such a large drop in size though and 



b) Use another strategy to keep attribute ordering on writing xml files

I can imagine that this can cause the trouble you see.

5.1:    git revert a9dc272c84a05abad997ad156f0f833131f88393
master: git revert 4fcb0ab18c2bc660f9a781bafcd8e09ca96f638e

The git revert commands allow you to undo those changes. Feedback is greatly
appreciated. If you could provide me an anonymized version of your file so
that I can duplicate the problem and possibly fix it.

Quick feedback is welcome so that we can fix it.

Also, did you ever try 'git bisect' ?

Cheers 

Thomas

> 
> 
> *----Brendan Coupe*
> 
> 
> On Sun, Jun 6, 2021 at 2:33 PM Brendan Coupe <brendan at coupeware.com> wrote:
> 
> > I'm still troubleshooting and not sure what is going on. KMM compiled from
> > source about a week ago worked fine this morning. I compiled a fresh
> > version and started getting errors. The initial error was asking me to
> > select a currency, which in my case is USD. I did so but when I opened my
> > file most accounts were zero with no transactions.
> >
> > I tried switching back to the previous good version but it asked the same
> > question when I tried to open my file. I verified that my KMM file had not
> > changed but kmymoneyrc appears to have changed. I have lots of backups
> > (thank you syncthing) and will let you know if I figure any more out.
> >
> >
> > *----Brendan Coupe*
> >
> 

-- 

Regards

Thomas Baumgart

https://www.signal.org/       Signal, the better WhatsApp
-------------------------------------------------------------
Memory's the second thing to go ... Can't remember the first.
-------------------------------------------------------------
-------------- 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/20210607/26486c54/attachment.sig>


More information about the KMyMoney-devel mailing list