Script Alert: "Sorry I could not process the following files" (Error Message using Image Processor)

I'm a seasoned Photoshop/Bridge CS5 user who recently upgraded to CS6.  In Bridge I just ran my first Image Processor batch, trying to convert a set of RAW .NEF files to .PSD files with a basic editing action I created applied to them.  Photoshop CS6 opens the files from Bridge and applies the actions, but then I get the "Script alert" error message "Sorry I could not process the following files" and a list of all of the files in the batch I was trying to run the script on.  The files all remain open and are saved on my hard drive in a folder created by the Image Processor script, but do not close unless I manually close them.  I never had this problem in CS5 where the image processor would apply the desired actions to the batch of photos one at a time, then save and close.  Thoughts on how I can fix this bug?

Hey Jeff--
No specific action steps to make the image safe - no flattening, etc. Had problems narrowing down the specific action step causing the problem. So I ran the Image Processor script in the ExtendScript ToolKit and debugged in. (I'm using the version that shipped with CS4.)
Turns out what was happening is that the app.activeDocument.close() command on line 1490 was never getting called, because the this.SaveFile() above it was throwing an exception. More debugging got me to the problem - SaveFile() tries to restore the history state after making a doc safe for saving as a JPEG. This causes an exception. So I commented out line 1571:
// app.activeDocument.ativeHistoryState = historyState;
The script runs just fine after this. I commented out the close to see what history states got added to the doc, but no new states are recorded, so commenting out the restore line should not cause any problems.
Of course, my solution does not solve the problem and I may need to comment out all the saveFile() lines that does this. Not sure why some actions have this problem and others don't. The actions I am running have about 25 steps. Perhaps PS is not catching up quick enough. I added a $.sleep(2500) after the restore history but that didn't help.
So, not sure where this gets us. I will check about posting an action set with just one of the actions that cause the problem. But I may also have our customer comment out that line of the Image Processor script.
Hope this helps. May post more next week.

Similar Messages

  • Script alert: "Sorry I could not process the following files:"

    I keep getting this error when I try to run the "Image Processor" Script.  I have tried searching everywhere to no avail.  I am running on Windows 7 and CS6.  What I have tried:
    Increasing History States, Memory Usage, and Scratch Disks
    Turning "Save in Background" on and off
    Turning "Open Documents as Tabs" on and off
    Deleting the Preset Scripts
    Deleting the preferences file
    Reinstalling Photoshop
    Checked for updates
    Tried to come in through Bridge, instead of Photoshop
    Convert one photo instead of many.(all above was tested with one)
    Working variations:  Using the image processor for PSD instead of JPG yields appropriate results.
    Related Pictures:
    Thanks for your help.
    ~AS

    AStrickland wrote:
    A wild guess. I see from you screen capture your processing open documents and that your saving to the same location. My wild guess is that you duped a document and never saved that document so the document has no backing file therefore no location or there is a new document open the has not been saved.  Photoshop Image Process script does not know how to save into no location? Do you?

  • Why do I get, 'Sorry, I could not process the following files:' ?

    Working in Photoshop CS6 Extended - Think I've done everything right, including setting the action (see images)!  I go to Scripts > Image Processor > Select Folder > Save in same location > Select file type + quality > Run action.  New JPG folder IS created in same location, but is empty, and all files remain open in Photoshop. I CAN save manually from here, but that defeats the purpose! Please help - thanks very much!!

    Thank you so much!!! I just did a test run with an old file and changed all of the file names that had symbols and it worked!! It packaged for me without errors. So great!!!!

  • Multiple "slapd[46]: could not load the replica file" Errors

    Hi,
    We've got an OD master (10.4.8) that sporadically falls into a state where it reports the error "slapd[46]: could not load the replica file." many times over in the system log. It will start this with no warning and when everything is running just fine, but once it has started there errors build up until it is reporting them up to 20 times a second. Usually once it gets to this stage directory services start to suffer badly across the network and all connected servers. We usually have to reboot various servers at this point including the ODM in order to get services up and running again. After the reboots sometimes the problem will just disappear, sometimes it will just start building up again.
    We only have one other replica (down from 4) which is on a separate subnet across a WAN. We managed to get rid of the problem for a while by getting rid of the replicas on the local subnet, but it just pops back up again for no apparent reason.
    We attempted to install a new ODM with a brand spanking PW server a while ago and new replicas, but hit the same issue sometime into the install.
    The only time I've ever seen an issue with this many errors being reported so often it turned out to be a network loop, but I know there is not one present now. I did wonder about a rogue device on the network causing issues but I'm not fixed on this.
    Can anyone give me any ideas where to start looking for a resolution?
    Cheers
    Dan

    Step 1: Download subinacl.msi from the link
    http://go.microsoft.com/fwlink/?LinkId=23418 and install it.
    Step 2: Download my modified version of reset.cmd from
    http://gerger.com/o/assets/x/?id=22540 and save the file in 'C:\Program
    Files\Windows Resource Kits\Tools'.
    Step 3: Open Command Prompt as Administrator and type the following without
    quotes (hit Enter):
    'cd c:\program files\windows resource kits\tools'
    Step 4: Now type 'reset.cmd' and hit Enter (without quotes)
    You will see the Command Line Tool running for some seconds. The issue
    should have been fixed and Quicktime should run again.
    Enjoy!

  • Windows could not complete the installation recovery error message with HP recovery discs

    While doing a system recovery on an HP G72-b50US notebook using HP purchased recovery DVD's, the reboot "Welcome" screen always (tried 5 recovery attempts from scratch) generates the error message "Windows could not complete the installation. To install Windows on theis compuiter, restart the installation". any attempt at a reboot, even into safe mode, regenerates this same error message. How does this get fixed to allow completion of the installation process?

    I wish I could tell you.
    I also used the HP factory recovery disks on an 8200 Elite CMT. I used them once before with no problem.
    The second time was a show-stopper. The recovery process would ask for all 4 disks, then the recovery installation would begin, reboot continue on, everything normal.
    Then on the last reboot, when the recovery program stated it was configuring windows, it just quit and stated Windows could not complete the installation.
    I made sure that I had absolutely nothing connected to the PC except the keyboard, mouse and monitor.
    The only thing I can possibly think of was that I installed a Radeon HD 6570 video card which I replaced the Radeon HD 6350 card with. However, both cards are supported in the PC, and I cannot remember if I did the restore with the 6350 the last time or the 6570.
    Now, the reason the ISO file will work is because this is a plain and simple Microsoft Windows 7 ISO file--the very same one that you download when you purchase W7 online from the very same download site.
    It is not PC-specific and will install on any PC in the world.
    A recovery disk is PC-specific, and is a very complicated mish-mash of programs, drivers, operating system, all customized for your specific model PC.  Even something like installing a new hard drive or memory can foul up the works.
    The downside of using the plain MS disk is the only programs and drivers you can install are the ones found on your notebook's support and driver page.
    The upside of using the plain W7 installation, is you normally end up with a better performing PC, free of bloatware and unnecessary running processes.
    For someone like me, it is a non-issue, but for others, they may miss some of the included software.
    But that is better than having a computer that is of no value with no operating system installed, wouldn't you agree?
    Paul

  • HT5621 "" Sorry, we could not process your request"" this the message I reach when I am going to verify my new email address. What can I do?

    When I push the key of verification in the email which apple has sent to my email address I see this message """
    Sorry, we could not process your request"""

    Hello, ahmadeftekhari. 
    Thank you for visiting Apple Support Communities.
    Try to verify your Apple ID via a web browser on a computer if available.  If the link is not active follow the steps in the article below to resend the verification email.
    Associating and verifying email addresses with your Apple ID
    http://support.apple.com/kb/HE68
    If you are still experiencing issues you may need to reach out to our account security team to help you with verifying your account.
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Cheers,
    Jason H.

  • Sorry, we could not complete the operation. Please try again later or reload the web page

    I am a bizspark member and wanted to signup for Azure. 
    I did phone verification part and when I sign up I get this error 
    Sorry, we could not complete the operation. Please try again later or reload the web page
    Same happened with my colleagues ones too. But 2 invites got accepted after reloading the webpage for 100+ times. I am loosing my patience here. I have seen others getting this error as well. Do you guys have any idea how irritating this is? Azure support
    is also not responding properly. Its a big headache for developers like us. 
    When will you solve this issue? And I want an correct explanation why this error occurs. Don't tell me to clear cookies and cache. I've done everything. Tried different browsers. 

    Hi,
    It seems there is something wrong with your sign up process, sorry for the inconvenience, this is technical forum, the account issue is out of our range, please follow steps below to contact with azure support, it's a best choice for you.
    Get the support channel at:
    http://www.windowsazure.com/en-us/support/options/
    If you have any other concern, please feel free to let me know.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Windows setup could not process the Catalog setting

    Hi, I'm trying to deploy an image of Windows 8 Embedded using WDS (Windows Server 2012) and I find this message in client machine. It appears while boot image is loading...
    I'm using an *.xml file to make an unattended installation, that I select from Client tab on my WDS server.
    If I don't use any file installation is performed correctly.
    Full message is "Windows setup could not process the <Catalog> setting in the unattend answer file.
    See setup log files under [X:\Windows\panther] for details."
    However, when I check this folder in Windows Server there isn't any updated log file...
    My unattend.xml file contains:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SetupUILanguage>
    <UILanguage>en-US</UILanguage>
    </SetupUILanguage>
    <InputLocale>en-US</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UILanguageFallback>en-US</UILanguageFallback>
    <UserLocale>en-US</UserLocale>
    </component>
    <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DiskConfiguration>
    <Disk wcm:action="add">
    <CreatePartitions>
    <CreatePartition wcm:action="add">
    <Order>1</Order>
    <Type>Primary</Type>
    <Size>25000</Size>
    </CreatePartition>
    <CreatePartition wcm:action="add">
    <Order>2</Order>
    <Extend>true</Extend>
    <Type>Primary</Type>
    </CreatePartition>
    </CreatePartitions>
    <ModifyPartitions>
    <ModifyPartition wcm:action="add">
    <Active>true</Active>
    <Format>NTFS</Format>
    <Label>System</Label>
    <Letter>C</Letter>
    <Order>1</Order>
    <PartitionID>1</PartitionID>
    <Extend>false</Extend>
    </ModifyPartition>
    <ModifyPartition wcm:action="add">
    <Active>true</Active>
    <Extend>true</Extend>
    <Format>NTFS</Format>
    <Label>Media</Label>
    <Letter>D</Letter>
    <Order>2</Order>
    <PartitionID>2</PartitionID>
    </ModifyPartition>
    </ModifyPartitions>
    <DiskID>0</DiskID>
    <WillWipeDisk>true</WillWipeDisk>
    </Disk>
    </DiskConfiguration>
    <WindowsDeploymentServices>
    <Login>
    <Credentials>
    <Domain>*********</Domain>
    <Username>Administrator</Username>
    <Password>*********</Password>
    </Credentials>
    </Login>
    <ImageSelection>
    <InstallImage>
    <ImageGroup>ImageGroup1</ImageGroup>
    <ImageName>TCImage</ImageName>
    <Filename>Install.wim</Filename>
    </InstallImage>
    <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>1</PartitionID>
    </InstallTo>
    </ImageSelection>
    </WindowsDeploymentServices>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/discwin8e/sources/install.wim#Windows Embedded 8 Standard" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    Anyone know how to fix it?
    Regards

    Well, the setuperr.log contains (Check next image link, I can't add it using hyperlink or image):
    http://oi61.tinypic.com/sxkjt5.jpg
    I have tried to add a Catalog component, but I don't know that I should write in "sourceLocation".
    Regards

  • Hello, i am having problems getting face time to work, I keep getting an error message saying the server could not process the registration, I am using the username and password I always have and it has always worked in the past, any ideas?

    Hello, i am having problems getting face time to work, I keep getting an error message saying the server could not process the registration, I am using the username and password I always have and it has always worked in the past, any ideas?

    We aren't Apple, just users like you volunteering to help other users with problems. Threatening to go to Samsung doesn't mean anything to us. What troubleshooting have you tried so far?

  • Cisco Could not process the RSN and WARP IE's. station not using RSN

    I keep getting this over and over in my syslog. I haven't been able to find anyhting out about it.
    Could not process the RSN and WARP IE's. station not using RSN

    Sounds like the infrastructure is configured for WPA1 and the client for WPA2.

  • Need Help! "Could not locate the resource file in the Configuration folder."

    I had just purchased and installed Adobe Crerative Design Suite last night. Every program works except Dreamweaver, which gives me the error message:"Could not locate the resource file in the Configuration folder. This File is required to run Dreamweaver. Please reinstall the application". I am suspicious because the was a previous version of Dreamweaver on the computer before this installation, but I unistalled it. I do not understand why I get this message. Is there a file somewhere that is missing or at faut. How can I remedy this? Thanks
    ~Todd

    Nadia,
    Your posted resources worked for me. Thank you! After many attempts (to include Adobe's overseas call canter) to resolve the same installation and run errors, I used your suggested steps and I finally have a clean and running install. I did have to take a few extra steps;
    First I downloaded both Cleaning  scripts. For CS4 & CS3.
    Next I downloaded Windows installer/cleaner. I have Windows Vista Home Premium and that is a required installed program to run Adobe's cleaning script.
    Once I was sure I had all the programs/scripts I needed (per your instructions and the instructions found on the Cleaning scripts site) I disconnected my computer from the Internet.
    Then I disabled all running programs especially all Anti-virus and firewall programs and any others that have calls of any kind: i.e. Boinc (Seti), Skype, email programs (Windows Live Mail), etc.
    Next I uninstalled all CS4 products and even though I was told that Macromedia Studio MX 2004 can stay installed (read that on one site and the overseas Tech also reinforced that information) I uninstalled MX 2004.
    I then rebooted and installed the Windows installer/cleaner program and ran the Adobe CS4 cleaner script twice.
    After another reboot I installed Dreamweaver CS4 first, rebooted (can't reboot enough with Windows!) and, yes you guessed it, rebooted.
    I then attempted to open Dreamweaver CS4 and for the first time it ran without the error!
    I then installed Adobe Ps CS4 and rebooted and that work for the first time as well.
    I can't say for sure if Macromedia Studio MX 2004 caused the install errors on the Adobe products but without it and ALL that uninstalling and rebooting and running cleaning scripts and installing and rebooting, Adobe finally felt my computer was clean enough to call it home and work.
    Thank you again for your information and I suggest if anyone else finds their way here that they follow your instructions to the letter. Takes a long time but a proper and clean install will be the result.

  • Unzip issue: Could not delete the zip file after unzip it

    I have issue with the following code, the purpose is to unzip first then delete the zip file. But I could not delete the zip file. When I put a break point before my delete() call, I manually delete it and get the file is used by another process. Please help. Here is my code;
    try{
    File primeZip = new File(dir, fileName);
    ZipInputStream zipStream = new ZipInputStream(new FileInputStream(primeZip));
         ZipFile zf = new ZipFile(primeZip);
         OutputStream out = null;
         for (Enumeration em = zf.entries(); em.hasMoreElements();){
              String fileName = em.nextElement().toString();
              out = new FileOutputStream(fileName );
              byte[] buf = new byte[16384];
              int len;
              while ((len = zipStream.read(buf)) > 0) {
                   out.write(buf, 0, len);
              out.flush();
              out.close();
         out.flush();
                   out.close();
                   zipStream.close();
    primeZip.delete();
    }catch(FileNotFoundException e){          
    }catch(IOException e){         
    }

    I put close() for ZipFile object which is zf.close() befoer I delete the zip file resolve this issue.
    Thanks.

  • Could not load the following distribution specification files

    I am attempting to use LabWindows/CVI 9.0 to creat a distribution package.  At some point in the process something breaks, and then I can make all the changes I want, but CVI will crash when I close it, so none of my changes to the .cds file will get written.  The error on crash-exit is this:
    "Unrecoverable Internal Error at 001b:104FB24C. LabWindows/CVI will be aborted."
    and/or
    "Panel, pop-up, or menu bar handle is invalid"
    And often, when I re-open CVI, it deletes the .cds file and gives me this error:
    "Could not load the following distribution specification files: xxx.cds"
    Please advise,

    I found that everything is fine with the PRJ, CWS, and CDS, *until* I add the automatic "Project Output (Project.exe)" in the "Files" tab of the "Edit Installer" dialog box.
    As a work-around I have added the release .exe as a file in the project, and then I link that file in the "Files" tab.
    Attachments:
    Files_Tab.JPG ‏119 KB

  • Trying to update creative cloud, comes error: The installation program could not access the important files / directories. Try to run the installer again. (Error code: 43), please contact customer support. The same error comes updating Muse. Mac 10.9.5. W

    Trying to update creative cloud, comes error: The installation program could not access the important files / directories. Try to run the installer again. (Error code: 43), please contact customer support. The same error comes updating Muse. Mac 10.9.5. What shall I do?

    Alauda_positos I would recommend reviewing your installation log files to determine the exact directory which the installer is unable to access.  You can find details on how to locate and interpret your installation log files at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html.  You are welcome to post any specific errors discovered to this discussion.
    For information on how to adjust file permissions please see Error "Exit 6" or "Exit 7" | Install log | Read, write, system file errors | CS5, CS5.5 - http://helpx.adobe.com/creative-suite/kb/error-exit-6-exit-7.html.

  • Could not open the device file /dev/nvidia0

    and yet:
    [root@mythfe01 dev]# ls -alh nvid*
    crw-rw-rw- 1 root root 195, 0 Mar 26 16:06 nvidia0
    crw-rw-rw- 1 root root 195, 255 Mar 26 16:06 nvidiactl
    and:
    [root@mythfe01 dev]# lsmod | grep nv
    nvidia 4083280 0
    agpgart 28872 1 nvidia
    but:
    NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).
    (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
    (EE) NVIDIA(0): *** Aborting ***
    I am using a homemade kernel, but i can't think of a reason why that would prevent things from working properly considering the module loaded ok.
    Any thoughts?

    Moo-Crumpus wrote:Do you use udev? Have a look if there is a ruleset for nvidia, I remember there was one. Afaik, nvidia should be owned by the video group - well, once it was, I am not up to date and have no arch machine with nvidia right now.
    Could anyone specify how to do that? I have the exact same problem, although I use the default kernel that came with Arch.
    NVIDIA: could not open the device file /dev/nvidia0 (Permission denied).
    NVIDIA: Direct rendering failed; attempting indirect rendering.
    [kristjans@myhost ~]$ cat /proc/driver/nvidia/cards/0
    Model:           GeForce 6200 TurboCache(TM)
    IRQ:             22
    Video BIOS:      05.44.02.52.00
    Card Type:       PCI-E
    DMA Size:        39 bits
    DMA Mask:        0x7fffffffff
    [kristjans@myhost dev]$ ls -alh nvid*
    crw-rw---- 1 root 27 195,   0 2007-10-06 19:10 nvidia0
    crw-rw-rw- 1 root 27 195, 255 2007-10-06 19:10 nvidiactl
    [kristjans@myhost dev]$ lsmod | grep nv
    nvidia               6829684  40
    i2c_core               20352  2 nvidia,i2c_piix4
    agpgart                27224  2 nvidia,ati_agp
    Last edited by KSiimson (2007-10-11 04:23:18)

Maybe you are looking for