« Return to Thread: Data file corruption in Kmymoney 0.9.2 (all categories lost)

Data file corruption in Kmymoney 0.9.2 (all categories lost)

by Claudio Felix :: Rate this Message:

Reply to Author | View in Thread

Hi everyone,

I have been using Kmymoney for some years now and I find it perfect
for keeping track both from my personal and small business records.
You guys did a very good job on it!

Unfortunately, I was recently surprised by what it seems to be a
rather serious bug in kmymoney 0.9.2. I usually import my bank's data
from a custom awk script I made to convert my bank's ofc file to the
default .qif format accepted by kmymoney, and it always worked fine.
Last time I tried though, for some reason my script wasn't associated
to the importing profile, so nothing got imported. No big deal, I just
went there, associated it as my input filter, imported the data to a
specific account and went on to classify the imported transactions. To
my surprise, all my categories were gone! The accounts are all there,
but all asset and expense categories are completely lost, like they
had never been created before. I can't really say the importing
process has something to do with it, since before that I entered a
whole month of transactions in a passive account, constantly saving
the file.

One tip I had was from executing kmymoney from the command line, it
reported something about the file header which could explain kmymoney
not reading the file right:

kbuildsycoca running...
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
reading file
start parsing file
startDocument
reading accounts
reading transactions
reading securities
reading prices
reading reports
endDocument

Since this file has years of data you can imagine how upset I am about
losing it, so I would really appreciate if someone could help me or at
least point me some documentation about the data file's internal
format I could use to recover the categories data, if that is
possible. Judging by the file size, it seems like all info should
still be there, since its size is consistently larger than some
previous backups I had. Anyway I would prefer try recovering the data
than using the 3 month old backup, since I had restructured a lot of
my categories since then.

Thank you all!
Claudio

------------------------------------------------------------------------------
_______________________________________________
KMyMoney2-developer mailing list
KMyMoney2-developer@...
https://lists.sourceforge.net/lists/listinfo/kmymoney2-developer

 « Return to Thread: Data file corruption in Kmymoney 0.9.2 (all categories lost)