Skip to main content
Participant
August 16, 2012
Answered

Any solution for "unexpected end-of-file encountered" on CS5 and macOS 10.7.4

  • August 16, 2012
  • 21 replies
  • 301385 views

Using Mac 10.7.4 and CS5 Extended on an Imac 27.

 

Today, working on a large file PSD suffix and Photoshop froze. and when I restarted i got "unexpected end of file " error message on the file i was working on, but on several other files also in that folder.

 

Has anyone found a solution to this? Can you rebuild or restore the file in any way?

 

The file shows on the hard drive now as 118.6 megs. The files show up in Bridge, but with small Previews.

 

 

[post is from 2012 — versions added]

 

Correct answer station_two

Noel Carboni wrote:

...

it brings back whatever you were working on in the last few minutes before the failure.

That is correct, of course.  But, if I construe the OP correctly, the computer malfunction also damaged other files in the same older that were not open.

21 replies

Participant
June 1, 2019

The file might not be the problem

I got the same error and after I tried to open Photoshop without opening a file and I was getting the same error.

After uninstalling photoshop (removing the preferences too) and then reinstalling everything got fixed.

Participant
September 11, 2018

This just happened to me. I called support and they weren't able to fix the problem. I tried opening it in illustrator and exporting to PSD, that didn't work. My file is as the other person mentioned "hosed."

Participant
September 25, 2018

Open file in Microsoft Paint and save as .png works a treat

Participant
May 7, 2018

Guys I solved this issue by reinstall to 32bit version.

Nothing else worked, not even reinstalling Windows.

lorrainec60381207
Participating Frequently
May 15, 2018

what app did you have to reinstall?  lightroom?

SoloTraceur
Participant
April 18, 2018

I just opened the PSD file with Illustrator and just exported it straight back out as a new PSD with all layers and editable text enabled.

Worked a charm.

Jun Steed
Participant
August 30, 2017

I found a Fix myself too. Its simply open and safe it in Paint Tool Sai.

The error occur as i put my laptop to sleep while Photoshop is opened.

trishad40545428
Participant
July 24, 2017

Since this just happened to me, sometimes there is a temp file you can track down, mine didn't have one. Like said above, I was able to open the file in illustrator and salvage some of the content there. Depending on your file layout, you could probably salvage a lot. I was using smart objects so everything ended up being flattened. But if you don't use smart objects and you only need to get your png files back, it would work for that.

April_W
Participating Frequently
July 29, 2016

I encountered this error today and was able to open the file in Illustrator and then export it as a PSD with all the layers intact.

Participant
January 17, 2017

BLESS you!
this worked!

Participant
August 9, 2015

I've also gotten this problem despite saving multiple copies in different places. It gets tiring, but yeah, the best way is to upgrade ps6 for the auto save. Aside from that kiss the projects you were slaving over for hours goodbye. Though I understand how frustrating it is when you get inadequate feedback that won't even list the other possibilities of recovering corrupted files. Because there are. They may work or they may not. But of course staff won't even bother telling you that, they could care less about your lost hard work... they'll just continue to snidely tell you it was your own fault despite the circumstance and program's outdated storage/saving system

Fine Art P
Inspiring
May 11, 2015

I had this problem recently, and restored from backup. I had to go back two versions to get a readable file. I'm not sure what caused the problem (file system or PS) and don't see any indication of one cause being more likely than another.

Noel Carboni
Legend
August 16, 2012

mtucker508@mac.com wrote:

Can you rebuild or restore the file in any way?

It doesn't help you with this file, but unexpected failure is precisely what the new Photoshop CS6 Auto-Save feature helps with.  If Photoshop were to crash/freeze/be forced closed/whatever, next time you start it it brings back whatever you were working on in the last few minutes before the failure.

-Noel

station_two
station_twoCorrect answer
Inspiring
August 16, 2012

Noel Carboni wrote:

...

it brings back whatever you were working on in the last few minutes before the failure.

That is correct, of course.  But, if I construe the OP correctly, the computer malfunction also damaged other files in the same older that were not open.

Noel Carboni
Legend
August 16, 2012

Well, no application is going to be able to fix computer system problems.  That's why backups are a good idea.

-Noel