Crash at start up photoshop on mac  for unexpected end-of-file encountered

Hi,
When I try to start Photoshop. I have the splash screen and it starts loading but when arrived at loading preferences, it stops and I have the error message :
unexpected end-of-file encountered. Then "could not initialize photoshop because the preferences file was invalid ( it has been deleted). I am sure I have not deleted but I know my hard drive is almost full.
What I can do ? I really need it. I  have photoshop CS5  on mac osx. I can't get photoshop cc because my imac is too old
Thank you very much for your answer and help.
Anne.

Please read these and proceed accordingly (restoring Preferences might deserve special attention):
http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html
http://forums.adobe.com/docs/DOC-2325

Similar Messages

  • Any solution for "unexpected end-of-file encountered"?

    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.

    [email protected] 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

  • Good morning, my photoshop stopped working, it gives error when started, what can it be?  This is the message that appears: Unable to start the program it took a unexpected end of file  I hope answer

    Good morning, my photoshop stopped working, it gives error when started, what can it be?
    This is the message that appears:
    Unable to start the program it took a unexpected end of file
    I hope answer

    Could not initialize Photoshop because an unexpected end-of-file was encountered. | Mylenium's Error Code Database
    Mylenium

  • I am getting a photoshop error could not load photoshop because the preferences file was invalid and cln't load actions because of an unexpected end of file encountered.

    I am getting a photoshop error could not load photoshop because the preferences file was invalid and cln't load actions because of an unexpected end of file encountered.

    Are you trying to open Photoshop directly, or open it by double clicking on a Photoshop document, like a PSD file?  If the former, then you might need to reinstall.  Resetting Preferences would be the firs step, but I am not sure if that will work if Photoshop is not opening in the first place.
    Try doing so anyway.  Hold down Shift Alt Ctrl (Shift Opt Cmd) while opening Photoshop. OK the message to delete Preferences.
    If you get the unexpected end of file error while trying to open Photoshop via a PSD document, then there is more than a good chance that that file is toast.
    If still stuck, we need to know Operating System, and Photoshop version.

  • Found Fix for "unexpected-end-of-file" error for Photoshop

    NOTE:
    You will lose all layers (this process flattens the image, but it's better than nothing).
    You need to have Adobe Illustrator installed (you could get a trial version or something if you don't have it).
    I was using Windows 7 when I did this, so it may not work in OSX (Apple) or Windows 8.
             1. Right click on the corrupt document and open it in Illustrator. (Mine took a while so you may have to wait)
             2. Save the file as a .pdf
             3. Right click on the .pdf and open it in Photoshop.
    Sorry, I know i started a discussion but I can't figure out how to answer a post.

    Hi Oliverchuckle
    I tried this on my first encounter of the error and it works pretty good for simple PSD files but not on complex ones containing vector masks etc. And it will not work on larger PSD files that are more damaged and "unreadable".
    There are many things that can cause this - all related primarily to the state of the network or hard drive the file is being saved to.
    To avoid:
    work off your local machine hard drive (not a network drive)
    ensure that you have ample (scratch) disk space (at least 20% free)
    create multiple versions of your files with save as. You can always trash the ones you don't want when you're done.
    Recovery depends on how far the save function got before photoshop (or your computer) crashed. In many cases only the file header information is damaged. For larger files the damage can be more extensive.
    In all cases, the best recovery method is to open the file with Adobe Image Ready and save as. It may give a "file is unreadable" error while opening but usually manages to still open the file. In my testing, the results are 100% accurate (to whatever state the file existed in). In most cases the file was 100% recovered, including complex files containing vector and layer masks, clippings and groups. I cannot say this is the case for any of the paid for "repair PSD" utilities which extract a raster only version of each layer and then re-build the layers into a new psd file. This results in a limited, "destructive" or rasterized layered file.
    Unfortunately, Adobe Image Ready is hard to find. The last version I believe was V9 (“CS2″), May 2005.
    Adobe is offering a legacy download here:
    https://helpx.adobe.com/creative-suite/kb/cs2-product-downloads.html#
    for users who previously purchased it (and need to re-install it). I didn't try this as I still have CS2 already installed on an older machine. Note, you will need MacOS 10.6.8 running rosetta or older to instal on a Mac.
    Hope this helps!

  • Having error when opening psd file. "could not complete your request because an unexpected end-of-file was encountered". Im using a mac air, CS5.1

    "could not complete your request because an unexpected end-of-file encountered".

    Probably not good news I'm afraid. Hopefully you use Time Machine to keep regular backups of your work?
    Have you tried to open the file in Graphic Converter (shareware application)?
    I find file corruption practically non-existant these days. I would suggest that you maintain your machine. This can be done with Onyx http://www.apple.com/downloads/macosx/system_disk_utilities/onyx.html. Run all the tasks in the "automation" section of this application. 
    If you can do a drive check - checking your hard drive for physical issues might also be a good idea. 

  • What to do when Photoshop says could not import clipboard because an unexpected end-of-file was encountered

    I have PC, with adobe Photoshop CC 2014 and windows 8. Every time I open Photoshop it says: could not import the clipboard because an unexpected end-of-file was encountered. If I exit the message I still cannot create files or open anything... any suggestions?

    When you load Action and when you create new actions they are saved into you Photoshop Preferences into Actions Palette.psp.  This File is read when you start Photoshop.
    Apple and Microsoft both like to hide important files on users.  Windows search and Apple finder will not find and show hidden files unless you change Mac and Windows setting.  I you getting the error when you start Photoshop there is a shortcut to reset preferences. Hold down Alt, Ctrl, and Shift keys (Mac: Command, Option, Shift) while starting up Photoshop you should be prompted to for an OK to delete preferences.
    If this keeps happening perhaps you have a bad spot on your disk.  Loaded actions are saved into that file so they should show up in the Actions Palette when Photoshop Start Up and read that file during start up. Photoshop Writes that file when you load action sets, when you record and edit actions and most likly also when you close down Photoshop.

  • Error message: unexpected end-of-file in Photoshop CS4

    "could not complete the command because an unexpected end-of-file was encountered"I just started getting them tonight. It happened when I opt-doubled clicked on an image in Dreamweaver to edit in Photoshop. Now it pops up on every image. I just reinstalled Photoshop CS4 and Bridge today. Help!

    Check your scratch disks for fragmentation ( use something like disk warrior ) and available space.  Sounds like the files are not getting completely saved.

  • Unexpected end of file occurred while opening Photoshop CC psd in Photoshop Cs4

    Can anyone help me? I'm using Photoshop CC 2014 on Windows 7 at home and Photoshop CS4 at school. I get an Unexpected end of file occurred when I try to open my assignements at school.
    How can this be fixed?
    Thank you!
    Sas

    Hi Curt...I'm new here, so I'll get the hang of it.  Thank you for your quick response.  I'm using the Mac OS X version 10.6.8  I'm a digital artist and was working on a psd file.  I use a wacom tablet and all of a sudden everything stopped responding.  I had to force quit Photoshop and open again.  That's when the window telling me an unexpected end-of-file was encountered.  So much work has gone into this piece of artwork, so needless to say, I'm beyond frustrated.  I had saved this work along the way just so I wouldn't lose it, but now this unexpected twist.  I will try what you suggested to see if it will help. 
    Again THANK YOU!
    Katy

  • Error while starting the server - Unexpected end of file from server|

    Hi,
    I am getting below error when I start my glassfish server.
    SEVERE|sun-appserver2.1|com.stc.emanager.deployment.sunone.model.runtime.ServerRuntimeModel|_ThreadID=86;_ThreadName=httpWorkerThread-4048-3;_RequestID=8d1f2acd-9e4e-4e9f-a9fd-3b21e4223318;|Unexpected end of file from server|#]
    I see the process is running. But, I am not able to open admin console.
    could any one plz help me to resolve this issue.
    Thanks in Advance,
    -Manandi

    Welcome to the forum.
    Unfortunately for you, posting only about things not working isn't going to net you assistance or answers - at most you can get sympathy but there isn't too much of that to share with everyone. You should find a forum for the particular product that is not working. If you have a problem with Glassfish, then try the Glassfish forum.
    http://www.java.net/forums/glassfish/glassfish

  • When trying to open in external editor I get this warning when going to Photoshop CS6: Could not complete your request because an unexpected end-of-file was encountered.

    Aperture: When trying to open in external editor I get this warning when going to Photoshop CS6: Could not complete your request because an unexpected end-of-file was encountered. I can export and open via Photoshop or open directly from file-just not through external editor. Gerry

    Hi gerry,
    does this happen for a particular image only, or for all images?
    And does this happen only from your account or also from other user accounts?
    Léonie

  • What is wrong? : "Could not initialize Photoshop because an unexpected end-of-file was encountered." Photoshop CC 2014

    What is wrong? : "Could not initialize Photoshop because an unexpected end-of-file was encountered." Photoshop CC 2014

    Please check following links if they are useful:
    Unexpected end-of-file
    Photoshop CS6 Not Loading: Actions & Preferences Errors
    Two Fatal Error Messages when Starting Photoshop
    Regards
    Rajshree

  • Could not initialize Photoshop because an unexpected end-of-file was encountred.

    I have a problem with Photoshop, I can run it and work in it. After the start of reports this error message: Could not initialize Photoshop because an unexpected end-of-file was encountred.
    I do not know we mopped PC, defragment, and uninstall of Photoshop installed. You do not know what to do?

    Try resetting your preferences. If that doesn't work, consider a complete uninstall and reinstall.

  • Major problem with Photoshop unexpected end of file...

    Every time I save a file in Photoshop, I have to save it twice per format (psd, jpg, etc...).  That's because if I've ever saved the file before, I get an unexpected end of file error and the file disappears until I do a save as.  I downloaded the latest update today and it claimed to have fixed major errors with Photoshop.  I wonder what major errors exactly were fixed; and why not this one?  As far as errors go, it's pretty effing major.  It adds significant time to all of my projects and frankly, if I'm spending exorbitant amounts of money for "industry-leading" software, I expect to be able to save my work painlessly.  Oh well, I guess it'll only be another couple months before I have to shell out another $1200 bucks for the CS6 right?  Maybe then I'll be able to actually save my work.
    p.s. CS2/3/4 did not have this issue - sweet upgrade Adobe, thanks.

    Again, this is not a known issue.   You are the first person to bring this up without a bad disk drive, and it is probably due to something on your file server.
    Yes, other people get the same error message - because they are dealing with corrupt files for one reason or another.  You are getting the message because the files are corrupt, probably because of an issue with your file server.
    Photoshop CS4 and earlier used the Carbon framework on MacOS.  Photoshop CS5 is written to the Cocoa framework/APIs and uses different OS code paths for many things.  We have seen many cases where the Cocoa APIs had problems that the Carbon APIs did not.  Unfortunately, if we cannot work around those API issues, then they are up to Apple to fix.
    But in this case, I doubt it is an OS API bug as such.  I suspect it is a change in the way the OS APIs interact with the file server.
    And cases like this are high up on the list of why we say NOT to open or save from a file server -- you can get a lot of odd, difficult to diagnose errors because of problems on the server or network.  Those problems have nothing to do with the application, but may appear to because of the complexity of file servers and networking.
    Some Photoshop users do open and save off a file server all the time - without problems.  When we test with file servers here inside Adobe, we rarely have problems (and the rare problem was due to a bad disk on the server).  But we can't guarantee that everyone's network and everyone's file server is going to work perfectly - and evidence suggests that many of them don't work perfectly.
    In short: you probably have a bad file server.  It is highly unlikely that this is a bug in Photoshop.

  • D750 "unexpected end of file" for NEF that loads fine into Capture NX-D

    I have a NEF that produces an "unexpected end of file" error in both Lightroom 5.7 and PS CC (both with Camera Raw 8.7). The same NEF loads and converts fine in Nikon's Capture NX-D V1.0.2. The NEF also converts fine into a JPEG using the D750's in-camera NEF processing function. I can provide the NEF to Adobe for analysis.

    "Btw @engerim, any chance you were using both SD card slots on your D750 when you got this NEF and had them configured in backup mode? If so I'd like to see the same NEF from the other card if you have it."
    Tried the following this morning:
    Menu -> Photo shooting menu -> Role played by card in Slot 2 = Backup (second option)
    Then I started an interval shooting with 200 images, and went for breakfast ;-)
    Normally one would expect the images are 100% the same in both slots (checked with md5sum) but they are not (this makes this a bit more difficult).
    Anyhow when opening the images in Camera Raw the images affected by this issue ("unexpected end of file" error) were the exact same files in both slots. All other images were fine in both slots. Files are here: http://stuff.inxsoft.net/tmp/d750-raw-with-issues.zip
    All images included in the zip have the problem except DSC_4078.NEF (which I included for reference and it will also allow you to see the difference in checksums in both slots). Anyhow we can rule out its an SD Card issue or buffer issue.
    Contents of the zip file:
    $ find . -type f|xargs md5sum
    d10ca1603b10820a8018afbf9a7b09a1 *./slot1/DSC_3992.NEF
    a0394903a03b413202d7c6d0e971cc8b *./slot1/DSC_4047.NEF
    02f54769845fc86890d1791950d14324 *./slot1/DSC_4065.NEF
    2a35398be7298407c649a57d610d82b0 *./slot1/DSC_4077.NEF
    ^^ problematic files
    879e94509d9fbb1bc19e96c7694850ba *./slot1/DSC_4078.NEF <-- file which has no issues for reference
    94f542df6f3f85dec01919f4535910cd *./slot2/DSC_3992.NEF
    eacb286d896d8282079d273812f27e9d *./slot2/DSC_4047.NEF
    a70f9535ea180ce37fda81d05a723119 *./slot2/DSC_4065.NEF
    11898b2c6fecf320af5fa1d234844598 *./slot2/DSC_4077.NEF
    ^^ problematic files
    01995ec69995c2d72a8c4993ecefda30 *./slot2/DSC_4078.NEF  <-- file which has no issues for reference

Maybe you are looking for