Left laptop on standby; PC restarted; File is now blank

Discuss the spreadsheet application
Post Reply
devids1
Posts: 2
Joined: Mon Jan 02, 2023 5:23 pm

Left laptop on standby; PC restarted; File is now blank

Post by devids1 »

Hi there,

I really hope someone is able to help me out here.

I was working on a file a couple of days ago and left my laptop on standby after saving it. I tried to open it today and my laptop gave an error and automatically restarted. After that, I'm no longer able to open the file I was working on. A window opens up and it's called import text. After pressing OK, the file is just blank even though it is about 33KB.

Is there any way to fix this please?

Operating system win10


Thanks in advance.

Devid

 Edit: Changed subject, was Blank file 
Make your post understandable by others 
-- MrProgrammer, forum moderator 
Last edited by MrProgrammer on Tue Jan 03, 2023 5:55 am, edited 1 time in total.
Reason: Edited topic's subject
OpenOffice 4.1.7
Windows 10
John_Ha
Volunteer
Posts: 9606
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Blank file

Post by John_Ha »

Your file is completely lost as it looks like content.xml has been truncated. Learn a lesson from it: Never walk away from a PC without saving anything you want to keep.

See [Tutorial] How to find and un-delete AOO temporary files for detailed instructions on how to

a) use Previous Versions (W7 and later) to recover previous versions of the file (is there something similar on MacOS and Linux?);

b) recover your file as it was when you last opened or saved it, or as it was when it was last saved with AutoRecovery;

c) find previous versions of the file in the folder it is located in, but which have since been deleted;

d) find any temporary files AOO wrote while you were editing the file but which have not yet been deleted;

e) un-delete the temporary files AOO wrote while you were editing the file, and then deleted. d) and e) will recover your file as it was when you last opened or you last saved it.

If you cannot follow the instructions ask someone with more PC skills to help you. Act quickly - the longer you wait the more likely any temporary files are to be deleted.

You could upload the file but I doubt anything can be recovered. Click Full Editor and Preview. Click the Upload attachment tab below where you type for files up to 128 kB max; or use a file share site such as mediafire, Dropbox or Google Drive for a larger file.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
devids1
Posts: 2
Joined: Mon Jan 02, 2023 5:23 pm

Re: Blank file

Post by devids1 »

Thanks for your quick reply John. I did save it though, that's what I always do. I've been working on it for a couple of years where I recorded all my bookkeeping. I know I should have made a copy of it.

You can find the file attached.

I'll try an go through your link.


Thank you
Attachments
Accounting-1.ods
Accounting
(32.73 KiB) Downloaded 80 times
OpenOffice 4.1.7
Windows 10
User avatar
RoryOF
Moderator
Posts: 35261
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Blank file

Post by RoryOF »

There is nothing usable of data in the file; the size is composed of various housekeeping information, which controls only formatting; the content section is blank.
Apache OpenOffice 4.1.16 on Xubuntu 26.04.1 LTS
User avatar
Zizi64
Volunteer
Posts: 11511
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Blank file

Post by Zizi64 »

For the future working: Always create more than one backup copies of your important documents onto various storing devices.
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
John_Ha
Volunteer
Posts: 9606
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Blank file

Post by John_Ha »

If you go File > Open ..., and open the .ods file it opens in Writer and is full of ####.

See Why is my Writer file full of #####? for an explanation. Your PC crashed after the file was written to the write buffer but before the write buffer was flushed to disk.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Post Reply