I had a backup and got back to that which opened fine in v3.6. I am not sure why that file got corrupted.
Thanks for all the help. I got upgraded as a result. On 27 Aug 2019, 4:13 PM, at 4:13 PM, Geert Janssens <geert.gnuc...@kobaltwit.be> wrote: >Hmm, if you kept backup files, you could go back through previous >versions to >determine where it went wrong. >And then compare the good backup with your bad file. > >It may also be useful to doublecheck the file you try to open really is >an xml >file (though probably compressed). > >To do so, first check whether your copy of gnucash is configured to >compress >xml files via >Edit -> Preferences -> General -> Compress files >If that's not set, try opening the failing gnucash file with a plain >text >editor like Wordpad, Notepad+, BBEdit,... (Not with an office suite >though). > >If it is compressed you first have to decompress it with something like >7zip. >You may have to change the extension before 7zip will decompress it. >For >example name your file something.gnucash.gz and then open it with 7zip. > >Once decompressed you can again check whether the decompressed version >looks >like proper xml. And you could even check if gnucash will open the >uncompressed xml file afterwards. There have been compression problems >in the >past and since you last used gnucash 2.6.7 you may be experiencing >that. > >Regards, > >Geert > >Op dinsdag 27 augustus 2019 10:50:23 CEST schreef Human: >> Hi I am using GnuCash 2.6.7 and file format is xml. I need to recover >this >> file, is there anyway to do so? >> >> Thanks! >> >> On Tue, Aug 27, 2019 at 1:47 PM Geert Janssens ><geert.gnuc...@kobaltwit.be> >> >> wrote: >> > Op maandag 26 augustus 2019 14:37:58 CEST schreef Human: >> > > Please see attached. >> > >> > Unfortunately there isn't much data in the trace file. >> > >> > The first line is common when you haven't installed Finance::Quote >for >> > online >> > price retrieval. You can ignore that. >> > >> > The two subsequent lines on the other hand suggest write permission >issues >> > in >> > C:\Users\Maulik\.gnucash >> > Gnucash can't access expressions-2.0 and can't write a stylesheets >file in >> > there. >> > But no hints as to why your file can't be read. >> > >> > I'll note that location is only used by gnucash 2.x and older. What >> > version of >> > gnucash are you running ? And what's the file format you have >chosen (xml, >> > sqlite) ? >> > >> > Regards, >> > >> > Geert _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.