Needed Help :( File Corrupt after Power Outage (Sleep Mode) - "This does not appear to be a SketchUp model"

Hi everyone,

I am facing a critical issue with a corrupted SketchUp file (Version 2024) and I need help to see if it’s recoverable.

Here is the chronology:

  1. I was working on the file until 4:00 AM.

  2. I saved the file and put my PC into “Sleep” mode (I did not shut it down properly).

  3. At 7:00 AM, there was a power outage (electricity cut off) while the PC was in sleep mode, causing the PC to turn off ungracefully.

  4. When I turned the PC back on, I couldn’t open the file. It shows the error: “This does not appear to be a SketchUp model!”

File Details:

  • Size: 25.6 MB (The data seems to still be there, it’s not 0kb).

  • Version: SketchUp Pro 2024.

What I have tried (but failed):

  • Renamed the .skb backup file to .skp (Result: Same error).

  • Uploaded and opened the file in SketchUp Web (Result: Failed/Error).

I suspect the file header got corrupted due to the power outage during sleep mode. Can someone please help me check if the header can be fixed?

Here is the link to the file: Sketchup files

Thank you in advance.

Other people have reported files being corrupted after a power cut. I try tests where I unplug my PC while saving a large file, and so far haven’t managed to corrupt a file.

Windows has a disk cache option, that comes with a warning that you may lose data if there is a power cut. See this article:

In my own tests I have that turned on, to increase the chances of getting corruption, but still I have failed.

You know about file headers, you should get a hex editor program (Neo for example), then you will see that even your SKB is almost all zeros. The SKP is 100% zeros.

There isn’t a way to recover either file.

Thank you for the detailed explanation and for checking the file, Colin.

This is devastating news for me, as it means I have to redraw everything from scratch. It is a hard lesson learned about disk write caching and power outages.

Just to be absolutely sure before I delete this corrupted file and start over: when you say “100% zeros”, does it mean the geometry data is completely wiped out and absolutely no third-party recovery tool can extract even a partial model/component from it?

If so, I will accept this loss. Thanks again for your help.

Here is how it looks in a hex editor:

All of the bytes in the file are set to zero.

The file size itself is not entirely relevant here. As you can see, it could be 25MB of zeros…
Some tips:

  • If you compress the file into a zip, and its size will significantly smaller than without compress you can assume it is damaged badly.

  • A skp file is already a compressed file format - actually if you rename it to .zip you can “look inside it”, and some things can be extracted from it “manually”. If you can’t look into this zip file, that also indicates serious damage.

If the above “tests” give a “good” result, then there is a chance that someone else can open it, or Colin can do something magical with it…

Thank you @Dezmo and @Colin for the insights.

I tried following @Dezmo’s tip to rename the extension to .zip, and I found something interesting that contradicts the “100% zeros” theory:

1. The file size did NOT shrink significantly. It stayed at around 25.6 MB after zipping (it did not become small KBs). 2. I was able to successfully extract the zip file using 7-Zip. 3. It extracted into two folders: materials and meta. 4. Inside the meta folder, I can clearly see the ReferenceImage / thumbnail preview of my model as it looked before the crash.

Since the file is not empty and contains readable materials and metadata, is there any chance the geometry data is hidden somewhere or recoverable? Or does the absence of other folders/files (like document.xml or geometry data) mean the model itself is still lost?

Any further advice based on this new finding would be greatly appreciated.

100% “zeros” doesn’t mean the file is 0.

0 itself is an identical amount of data to 1.

They are not numbers, rather they are states. It could be on or off , black or white , dead or alive.

The .dat file is where your 3d is stored , that’s the part of the file that is corrupt. Files external to that such as images , text and materials are usually ok.

unfortunately this is the normal story and it won’t be coming back.

The interesting part of your story is that the machine isn’t meant to be doing anything in sleep mode - so how it has damaged the zip file is interesting.

Also the SKB file is created independently of the SKP, so why are they both become corrupted?

1 Like

Apparently, the SketchUp application was left running with the SKP file open whilst in Sleep mode. The OS sees the file handle as open.

It may have been better to use Hibernate rather than Sleep mode. But it is still better IMO, to close the file when not working on it. And shut down the machine when not using it. This clears all memory and you begin next session with clean application startup.

Lessons:

  1. Shut off disk caching as Colin suggests.
  2. Invest in a Uninterruptable Power Supply.
  3. Save you model files to an internal storage drive. (Not a USB or Network Drive.)
  4. Back up your files to Trimble Connect and/or a backup storage whenever losing them costs money in lost time. You can do this with a script or task scheduler.

Here are my compression tests:

The SKP, that is 100% zeros, reduces from 26.8 MB down to 27 KB. The SKB, that is mostly zeros, reduces from 26.9 MB to 6.2 MB. As a SKP is already a compressed archive, making it be a zip file should not reduce the size at all.

Thanks everyone for the help.

@colin The zip test results (shrinking to 27KB) confirmed the file is empty. Hard to accept, but I have to face the reality.

@DanRathbun @Dezmo @Elmtec-Adam Thanks for explaining the risks of ‘Sleep mode’. I learned an expensive lesson today!

I will start redrawing from scratch now. Cheers.

1 Like

don’t forget to version your saves.

if you only work on a single file, you run the risk of loosing it all due to a problem like this one.
from time to time, duplicate your file and rename it. V1, V2, or maybe the date, or whatever.
that way, you’ll only loose the work done on the last iteration, not everything.

You can also use trimble connect to save / store your project, it has a similar function that allows you to return to a previous save.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.