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.

Similar Messages

  • Solve: IOERROR: reading message: unexpected end of file

    Well, actually, maybe I should not put "solved" but "worked around".
    In my case, I had just installed my server. It is a Quad G5 and I had to do a hard time installing it because my DVD was 10.4 and would not boot in the G5. I've posted the process I used here:
    http://macosx.com/forums/showthread.php?t=267517
    Since it was a new install, I finally just stopped Mail services. Rebooted. Then I removed /var/imap and /var/spool/imap. Did a mkdir of those two directories. Change the owner/group to cyrusimap/mail. And then did:
    sudo -u cyrusimap /usr/bin/cyrus/tools/mkimap
    Before I did this, I went into my mail client (Mail on the client computer) and emptied and deleted everything on the imap server. I even deleted the mail account from within the Mail client. There seems to be some confusion over the cache maybe.
    Oh... I also deselected all my users from receiving mail. Rebooted a few times... held up a dead black cat... chanted quietly. Did the mkimap, and finally got all my 'end of file' problems to go away. I had to keep doing it a few times before I got the whole sequence right. Under no circumstances should you chant quietly before holding up the black cat... boy is that a bummer to fix.
    In short, I find postfix and cyrus to be extremely poorly designed (or maybe its just the Apple implementation of it). Pretty soon, we will be like running Windows...

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

  • Re: Need help: error message "reached end of file while parsing"

    You are missing a closing brace "}" somewhere near the bottom half of your code.
    Edit:
    DrClap beat me to it.
    Edited by: Jin on Oct 2, 2007 1:33 PM

    well i just compiled the source that you have posted. it appears that you have declared a variable called "oper" within the Design method and tried to acces it from within the actionPerformed method (line 136). thats a scope error. one way to eliminate this error is to declare the oper var as global variable, i.e. along with the JButtons and stuff.
    another error is at the same place , the last if block. you might wanna use only the equals method like oper.equals("minus"). another way is oper.compareTo.("minus")==0.
    I believe this will hold for now. you may find the following stuff helpful, but probably you know this already.....
    In order to view your applet you can use an html that looks something like this
    <html>
    <body>
    <applet code="calc" width="400" height="400">
    </applet>
    </body>
    </html>
    to test it without a browser issue the command
    java sun.applet.AppletViewer app.html
    where app.html is the above html file and situated in same folder as calc.class file

  • 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

  • Unexpected end of file message in Appleworks 6.2.9

    I have an iMac that is getting the message unexpected end of file when I try to open Appleworks files. The user seems to be having alot of problems with Appleworks and I guess is closing out of Appleworks or it is crashing. Then when she tries to open the file she was working on, she gets the unexpected end of file message and the file will never open. I've tried running the file through the Appleworks Database Repair Utility, but it doesn't make any difference. This has happened to numerous different files, although if you create a new file the program still works. Has anyone come across this on OS 10.4.11? I've already reloaded her computer from scratch and 6.2.9 version of Appleworks seems to be the latest. Any help would be greatly appreciated.

    Hi West Harrison
    Welcome to AppleWorks forum discussions.
    The answer to your question found using the Search feature in this forum indicate something other than AppleWorks, your OS perhaps.
    Being as you're relatively new to AppleWorks discussions please accept my suggestion to do the following; Prior to posting a question use this forum Search feature, here's how:
    1. In the upper right of Discussions click in Search type in your request, "Unexpected end of file" press Return
    2. Change Restrict by Category or Forum: to AppleWorks Fourm
    3. Change Restrict by Date Range: to All
    4. Click search; you'll receive many hits. You'll find your question has been asked numerous times, and, endusers have provided the similar answers as well.
    Many questions have been asked, their answers will provide direct solutions, tips, or workarounds.
    After using Search, and the AppleWorks help file if you cannot find your question or an appropriate answer to your question then by all means ask your question. Truly we'll be pleased to assist you.
    These Discussions are user helping user, not Apple employees answering the question. Questions will be answered when a user such as yourself finds time, desires to, knows the answer along with the time to respond.
    Again, welcome to AppleWorks Discussions, have fun here.
    Sincerely,
    RicD

  • 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.

  • Unexpected End of File Error

    I am getting a Could not open due to unexpected end of file error messages on a bunch of jpg's I am receiving via email. The files open in Microsoft Office Picture Manager.

    Often, file headers get smurfed. Photoshop is very critical of these headers.
    JPEG's seem to be very sensitive to these errors. My trick is to open in a more liberal program, like ThumbsPlus, IrfanView, or PhotoImpact, and then just do a Save, keeping the JPEG compression levels low. This nearly always clears things up for PS.
    Good luck,
    Hunt

  • Unexpected end of file error on CS4, can I fix this or is the file lost?

    I'm trying to open a Photoshop CS4 file, but it keeps giving me an error message saying "Could not complete your request because an unexpected end-of-file was encountered." A lot of hours went into this project. Can I fix this or is the file lost?

    Oh man, I've been getting that too (with CS5). Unless I move my file off my computer at end-of-day, I show up and get this error. I'll be eager to see what an expert says… and sorry I can't help you out!

  • I have a message :- could not initialize photo shop because of an unexpected end-of-file was encountered. How do I remedy this.

    I have a message :- Could not initialize photo shop because an unexpected end-of-file was encountered. How do I solve this.

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

  • 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.

  • 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.

  • 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.

  • File Error: could not complete your request because an unexpected end-of-file was encountered

    I saved a painting I was working on in photoshop for the past week, went to open it up this morning and got the following error: could not complete your request because an unexpected end-of-file was encountered.
    I tried opening it up in other programs with no luck. Any suggestions?

    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. 

Maybe you are looking for

  • Error WHen trying to print a crystal report

    I am trying to print a system crystal report and it is giving me the following error: "Error during printing; ensure all parameters are defined". And it prints the first page, but none of the consecutive pages if there are more than 1. Is there some

  • Issue with re-importing images after using Nik plugins

    Currently, when images are edited in a Nik plug-in and saved back to Aperture, the project folder the image originated in is changed from being organized by "date" to "manual" and then that image is inserted as the first image in that folder. In past

  • MacBook Pro Retina Display

    My brand new mac book is extremely hot while I am watching anything on it. I am not sure if this is normal or not, does anyone have any advice or insight? Thanks!

  • TS4272 erase free space stuck on creating temporary file

    I upgraded to 10.7.4 and followed instructions in http://support.apple.com/kb/TS4272 At step 9 Disk Utility is stuck on 'creating temporary file' for the last 24 hours. I have canceled and tried more than once.

  • Field selection PT1L not defined

    Hi, We have configured a new document type and field selection for scheduling agreement. When we tried creating an SA, system prompted "Field selection PT1L not defined" error. What does the error mean? How do we go about it? Please advise.