Summary: | KmyMoney File Not opening and gives error As " Please use an older version...." | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Somoorthi P <somoorthi> |
Component: | file | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | critical | ||
Priority: | NOR | ||
Version: | 4.8.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | attachment-13927-0.html |
Description
Somoorthi P
2016-09-11 13:38:43 UTC
What is the output of the following commands ls -l "/media/paarkavin/Paarkavin/Ex1/YaArO/yAaRo - Sep-16.kmy"* file "/media/paarkavin/Paarkavin/Ex1/YaArO/yAaRo - Sep-16.kmy" Created attachment 101034 [details] attachment-13927-0.html Thanks for your immediate reply... the following are the results of the commands paarkavin@Paarkavin:~$ ls -l "/media/paarkavin/Paarkavin/Ex1/YaArO/yAaRo - Sep-16.kmy" -rwx------ 1 paarkavin paarkavin 590596 SepĀ 4 06:50 /media/paarkavin/Paarkavin/Ex1/YaArO/yAaRo - Sep-16.kmy paarkavin@Paarkavin:~$ file "/media/paarkavin/Paarkavin/Ex1/YaArO/yAaRo - Sep-16.kmy" /media/paarkavin/Paarkavin/Ex1/YaArO/yAaRo - Sep-16.kmy: data paarkavin@Paarkavin:~$ For your reference. Thanks & Rgds P.Somoorthi From: Thomas Baumgart via KDE Bugzilla <bugzilla_noreply@kde.org> To: somoorthi@yahoo.co.in Sent: Sunday, 11 September 2016 7:28 PM Subject: [kmymoney4] [Bug 368593] KmyMoney File Not opening and gives error As " Please use an older vesion...." https://bugs.kde.org/show_bug.cgi?id=368593 --- Comment #1 from Thomas Baumgart <tbaumgart@kde.org> --- What is the output of the following commands ls -l "/media/paarkavin/Paarkavin/Ex1/YaArO/yAaRo - Sep-16.kmy"* file "/media/paarkavin/Paarkavin/Ex1/YaArO/yAaRo - Sep-16.kmy" At the end of the first command was an asterisk on purpose. Can you repeat that? So what we know is that the file is 500K large but 'data' is not what I expected. What we don't know (yet) if you have backup files (see command above). Also, what is the output of the following command: od -c "/media/paarkavin/Paarkavin/Ex1/YaArO/yAaRo - Sep-16.kmy" | head (In reply to Thomas Baumgart from comment #3) This is what i got paarkavin@Paarkavin:~$ ls -l "/media/paarkavin/Paarkavin/Ex1/YaArO/yAaRo - Sep-16.kmy"* -rwx------ 1 paarkavin paarkavin 590596 Sep 4 06:50 /media/paarkavin/Paarkavin/Ex1/YaArO/yAaRo - Sep-16.kmy paarkavin@Paarkavin:~$ od -c "/media/paarkavin/Paarkavin/Ex1/YaArO/yAaRo - Sep-16.kmy" | head 0000000 377 377 { m 354 / v e r s i o n = " 1 0000020 356 7 342 ' e n c o d i n g = " U T 0000040 F 355 ? " ? > 372 375 w r o j e c 364 / 0000060 v e r s i o n = " 4 " > 372 377 ' < 0000100 c o 355 177 o n e n 364 / n a m e = " 0000120 C h a n g e L i s t M a n a g e 0000140 r " > 372 343 347 347 ' < l i s 364 / d e 0000160 f a u l t = " t r u e 342 ' i d = 0000200 " b 4 d 5 b 7 3 1 - 9 5 361 7 - 4 0000220 9 a 3 - b f 7 b - 1 2 e 2 342 ? 9 paarkavin@Paarkavin:~$ Ooops, something must have ruined your file. This does not look like a KMyMoney data file at all. Don't you have a backup of it at some other location? The auto backup feature seems to be turned off, too bad. NO i dont have a back up. Is there a way to recover.... I fear not. If you have no backup, then there is nothing from which to recover. At least, now, do make sure you have enabled automatic backups - Settings>Configure KMyMoney>General>Global. In addition, however, make a practice of saving a copy file each time you finish a session. A possibly forlorn hope or two, however. Do a file search of your system for *.kmy and *.kmy.* files. Also, just in case your file is only partially corrupted, open your file in KMM , then Save as, and set the filter there to XML files. Then, open that file in your browser, Firefox or whatever and look through the file to see if you can recognise any data as your missing data, hoping that perhaps just the beginning of the file is corrupted. Allan From the piece of the file shown in Comment 4, it does not look like anything I would expect in a KMM file. You might try running 'strings "/media/paarkavin/Paarkavin/Ex1/YaArO/yAaRo - Sep-16.kmy" | more' to see if you can tell anything more about where that file might have come from, in case it gives you an idea when or how the corruption happened. You don't say which distribution you are using, but it is possible (although unlikely) that one of the file recovery programs (google for recovering deleted files) might find something. Unfortunately, the more you use the filesystem before remounting it read-only, the less likely this will succeed. This is not a KMyMoney bug but a problem with the filesystem of the user. |