Summary: | Empty account file data | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | David <asdv42> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | onet.cristian |
Priority: | NOR | ||
Version: | 4.5.3 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
David
2012-01-10 22:51:05 UTC
1. Do you still have your file? 2. If yes run 'zcat your_file.kmy' if something is printed then you data is not lost 3. If no how did you file get wiped out? In this case if you have a newer version of kmymoney and activated a number of backups in settings you should have a your_file.kmy.1~ file in the same directory where your original file was Thanks Cristian for this quick feedback. To reply to your questions: 1. Yes, I still have a file 2. Zcat command provides me information that this file has only been created the 10th january. I don't see how i made it but it's like if i created a same file name and overwrited previous version. I was expected that back up files were generated by defect in settings and placed in a dedicated directory....but your comment 3 canceled my dream. If you have others ideas or comments, i appreciate. If not, i think i can close this bug. (In reply to comment #2) > Thanks Cristian for this quick feedback. > > To reply to your questions: > 1. Yes, I still have a file > 2. Zcat command provides me information that this file has only been created > the 10th january. zcat would actually output the content of the xml file on your screen. How did you deduce that it has been created on the 10th of January? Does zcat actually produce some output? Judging by the size of the kmy or extracted xml file do you think that you still have some data. If that's gone and you don't have a backup I'm afraid that there's nothing to do. Although reading your description I still could not figure it out how that could happen. It sounds like the file somehow got deleted (while KMM was not running) and KMM started up and didn't find the file it wanted to open, so it tried to create a new one. I agree that doesn't seem likely, but it would match if the current file is essentially an empty, new .kmy file with no accounts and no data. Davie - I assume you have checked any trash or wastebasket if your desktop environment or window manager has one? Cristian comments : Yes I got an output. Let me show you a compiled extract below. Jack comments : I checked my trash but I found only older file transfered before this issue. I tried to create a new file. The first windows requests to configure a new account with minimum information (such as account name) to be able to save it. What i don't understand, when i open my "remaining" file, i arrive to same configuration windows than a new creation but there is no information fulfilled on (such as account name). So how did this file be saved before whereas all minimum information are not integrated in ? Compiled Extract: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE KMYMONEY-FILE> <KMYMONEY-FILE> <FILEINFO> <CREATION_DATE date="2012-01-10"/> <LAST_MODIFIED_DATE date="2012-01-10"/> <VERSION id="1"/> <FIXVERSION id="2"/> </FILEINFO> <USER email="" name=""> <ADDRESS street="" telephone="" county="" city="" zipcode=""/> </USER> <INSTITUTIONS count="0"/> <PAYEES count="0"/> <ACCOUNTS count="5"> <ACCOUNT currency="EUR" description="" parentaccount="" opened="" number="" lastmodified="" type="9" id="AStd::Asset" lastreconciled="" institution="" name="Actif"/> <ACCOUNT currency="EUR" description="" parentaccount="" opened="" number="" lastmodified="" type="10" id="AStd::Liability" lastreconciled="" institution="" name="Passif"/> <ACCOUNT currency="EUR" description="" parentaccount="" opened="" number="" lastmodified="" type="13" id="AStd::Expense" lastreconciled="" institution="" name="Dépense"/> <ACCOUNT currency="EUR" description="" parentaccount="" opened="" number="" lastmodified="" type="12" id="AStd::Income" lastreconciled="" institution="" name="Revenu"/> <ACCOUNT currency="EUR" description="" parentaccount="" opened="" number="" lastmodified="" type="16" id="AStd::Equity" lastreconciled="" institution="" name="Action"/> </ACCOUNTS> <TRANSACTIONS count="0"/> <KEYVALUEPAIRS> <PAIR key="kmm-baseCurrency" value="EUR"/> </KEYVALUEPAIRS> <SCHEDULES count="0"/> <SECURITIES count="0"/> <CURRENCIES count="182"> <CURRENCY saf="100" symbol="ADF" type="3" id="ADF" name="Andorre, Franc" ppu="100" scf="100"/> etc..... </CURRENCIES> <PRICES count="20"> <PRICEPAIR from="ATS" to="EUR"> <PRICE price="10000/137603" source="KMyMoney" date="1998-12-31"/> </PRICEPAIR> <PRICEPAIR from="BEF" to="EUR"> <PRICE price="10000/403399" source="KMyMoney" date="1998-12-31"/> </PRICEPAIR> <PRICEPAIR from="BGL" to="BGN"> <PRICE price="1/1000" source="KMyMoney" date="1999-07-05"/> </PRICEPAIR> <PRICEPAIR from="CYP" to="EUR"> <PRICE price="585274/1000000" source="KMyMoney" date="2008-01-01"/> </PRICEPAIR> <PRICEPAIR from="DEM" to="EUR"> <PRICE price="100000/195583" source="KMyMoney" date="1998-12-31"/> </PRICEPAIR> <PRICEPAIR from="ESP" to="EUR"> <PRICE price="1000/166386" source="KMyMoney" date="1998-12-31"/> </PRICEPAIR> <PRICEPAIR from="FIM" to="EUR"> <PRICE price="100000/594573" source="KMyMoney" date="1998-12-31"/> </PRICEPAIR> <PRICEPAIR from="FRF" to="EUR"> <PRICE price="100000/655957" source="KMyMoney" date="1998-12-31"/> </PRICEPAIR> <PRICEPAIR from="GRD" to="EUR"> <PRICE price="100/34075" source="KMyMoney" date="1998-12-31"/> </PRICEPAIR> <PRICEPAIR from="IEP" to="EUR"> <PRICE price="1000000/787564" source="KMyMoney" date="1998-12-31"/> </PRICEPAIR> <PRICEPAIR from="ITL" to="EUR"> <PRICE price="100/193627" source="KMyMoney" date="1998-12-31"/> </PRICEPAIR> <PRICEPAIR from="LUF" to="EUR"> <PRICE price="10000/403399" source="KMyMoney" date="1998-12-31"/> </PRICEPAIR> <PRICEPAIR from="MTL" to="EUR"> <PRICE price="429300/1000000" source="KMyMoney" date="2008-01-01"/> </PRICEPAIR> <PRICEPAIR from="NLG" to="EUR"> <PRICE price="100000/220371" source="KMyMoney" date="1998-12-31"/> </PRICEPAIR> <PRICEPAIR from="PTE" to="EUR"> <PRICE price="1000/200482" source="KMyMoney" date="1998-12-31"/> </PRICEPAIR> <PRICEPAIR from="ROL" to="RON"> <PRICE price="1/10000" source="KMyMoney" date="2005-06-30"/> </PRICEPAIR> <PRICEPAIR from="RUR" to="RUB"> <PRICE price="1/1000" source="KMyMoney" date="1998-01-01"/> </PRICEPAIR> <PRICEPAIR from="SIT" to="EUR"> <PRICE price="100/23964" source="KMyMoney" date="2006-12-31"/> </PRICEPAIR> <PRICEPAIR from="SKK" to="EUR"> <PRICE price="1000/30126" source="KMyMoney" date="2008-12-31"/> </PRICEPAIR> <PRICEPAIR from="TRL" to="TRY"> <PRICE price="1/1000000" source="KMyMoney" date="2004-12-31"/> </PRICEPAIR> </PRICES> <REPORTS count="0"/> <BUDGETS count="0"/> </KMYMONEY-FILE> David said: I checked my trash but I found only older file transfered before this issue. If you found a file from before this issue, did it have any of your data? Also, can you provide a little more information? What distro are you using, and where did you get your copy of KMM? How much data had you already entered? (only one or two accounts or many, only a few days or several months or years of transactions?) Jack, Sorry for the misunderstanding. I was speaking about others files not link to kmymoney but that i knew they were older trashed than my kmymoney issue. So i'm quite sure that no kmymoney files were inside trash since my issue. Data: Operating system Ubuntu 11.10 (since beginning of december)...previously 09.10 distribution that I have updated Kmymoney version 4.5.3 downloaded from http://kmymoney2.sourceforge.net 5 accounts were created Several years of transaction (around 5 years mainly imported from Grisbi through QIF files) So from your post it seems that there is an empty file instead of you original KMyMoney file. From your description this happened one day when you opened KMyMoney and it asked you to create a new file. Did you save the file after this? Since you did not have a backup I guess that your data is really lost, I'm sorry about that but I really don't have any ideas what could have happened. |