File turned to hashes after power cut
Posted: Fri Jul 10, 2015 7:22 pm
Hi
I am not any IT guy as evident here, and I had a similar unfortunate incident today when the Writer file i was working on has turned into all Hashtags!! It was a very important business plan document i was constantly updating and saving it under the name ''KSIDC - NEW'' as a .DOC file when there was a power cut and my laptop with no battery back up, was shut down abruptly. And although i had managed to save the file just a few seconds before the power cut, when after i powered the laptop back and opened the file, it has now turned into all hashtags thereby losing all my weeks of hard work! And that file alone (no other documents has this issue) is now asking permission whenever i tried to open it by opening a new pop up window that says ''ASCII FILTER OPTIONS'' and after i click OK to that a second new pop up window opens saying ''Document is locked for editing by unknown user'' (im the only user), along with ''Open read only'' and ''Open Copy'' buttons in it, with both the options opening only a Hashtag filled document. (i have attached the screenshots)
Now following the detailed instruction that John has thankfully posted here i was fortunately able to locate the Temporary Folder and the File in it ! Thanks a lot for getting me until this stage! However i have been unable to Unzip and find the XML file in it or go any further. Please Help me !!!
I have attached the file here - http://www.mediafire.com/view/1dq4j0v4r ... v3c5e5.tmp
Thanks a lot in advance!
Arun
I am not any IT guy as evident here, and I had a similar unfortunate incident today when the Writer file i was working on has turned into all Hashtags!! It was a very important business plan document i was constantly updating and saving it under the name ''KSIDC - NEW'' as a .DOC file when there was a power cut and my laptop with no battery back up, was shut down abruptly. And although i had managed to save the file just a few seconds before the power cut, when after i powered the laptop back and opened the file, it has now turned into all hashtags thereby losing all my weeks of hard work! And that file alone (no other documents has this issue) is now asking permission whenever i tried to open it by opening a new pop up window that says ''ASCII FILTER OPTIONS'' and after i click OK to that a second new pop up window opens saying ''Document is locked for editing by unknown user'' (im the only user), along with ''Open read only'' and ''Open Copy'' buttons in it, with both the options opening only a Hashtag filled document. (i have attached the screenshots)
Now following the detailed instruction that John has thankfully posted here i was fortunately able to locate the Temporary Folder and the File in it ! Thanks a lot for getting me until this stage! However i have been unable to Unzip and find the XML file in it or go any further. Please Help me !!!
I have attached the file here - http://www.mediafire.com/view/1dq4j0v4r ... v3c5e5.tmp
Thanks a lot in advance!
Arun
John_Ha wrote:
When you do find them, unzip them and look for content.XML and open it with a editor capable of "pretty printing" XML (eg Notepad++ with the XML Editor add-on > Plug-ins > XML Tools > Pretty print with line breaks). Notepad opens it, but the XML is just a single line with no line breaks so it is a bit (read a lot!) more difficult to see the data.
If the ODT file has been saved previously, when Writer opens it, Writer creates a copy of it in \Temp.
If a new document is created, then the files in \Temp are empty (0 bytes) until the document is saved. When Writer Autosaves a document which has not been saved with File > Save As ... , and therefore does not have a proper name, Writer AutoSaves it into the backup folder (See Paths - mine is C:\Users\John\AppData\Roaming\OpenOffice\4\user\backup\) as ...\Backup\untitled_0.odt.
One strange thing - this is based on when the user saves in odt format. When I opened a .doc file, I could not see any temporary files in ...\Temp.
This is a picture of some temporary files in ...\Temp\sv166h3z.tmp folder while Writer has a document open. When Writer (AOO?) closes, these tmp files should get deleted.
Edit: EDITED to correct errors and add information.