Sub topic 14
Troubleshooting Failed or Stalled Batches
Assume you can record and play an action, use the Actions panel, and open the Batch dialog. You should also understand layers, image size, and common file formats. A batch usually fails because one recorded step expects a document state that another file does not have, or because Photoshop is waiting for input.
Identify where the batch stops
First, test the action on one copy of a problem file. Run it manually from the Actions panel and watch the highlighted step. This separates an action problem from a Batch command problem.
Use this sequence:
- Make a copy of the source folder. Troubleshooting may create or overwrite files.
- Run the action on one source image.
- Note the exact step where it stops or produces the wrong result.
- Check the document state at that step.
- Correct the action or normalize the source files.
- Test the corrected action on two or three different images.
- Run the full batch only after those tests succeed.
This diagram shows the basic diagnosis path:
Match the error to its cause
| Symptom | Likely cause | Practical fix |
|---|---|---|
| The action stops at a layer command | The layer is missing or has a different name | Create a consistent layer structure or edit the action to target a safer layer |
| A dialog interrupts every file | A modal control, warning, or save prompt is enabled | Disable the modal control or choose the correct Batch dialog options |
| The result has the wrong size | The action uses fixed pixel values | Use percentage-based scaling or test landscape and portrait files separately |
| Files are saved in the wrong place | Destination settings conflict with recorded Save As steps | Let the action save, or use the Batch destination and enable its override option |
| Some files are skipped | The source includes unsupported files or nested folders are excluded | Filter the folder and confirm the supported formats |
| The batch overwrites originals | The destination is set to None or points to the source folder | Select a separate destination folder and test file naming |
| Colors or transparency change | The output format cannot preserve the source properties | Choose PSD or TIFF for working files, or confirm the JPEG and PNG requirements |
Fix common action design problems
Recorded actions often contain hidden assumptions. A step such as “select layer named Background” fails when a file has a different layer name. A filter may also behave differently when the image has another color mode, bit depth, or resolution.
Make the action more portable by:
- Starting with a known document state.
- Avoiding unnecessary selections and layer names.
- Placing a stop before an unavoidable decision.
- Testing both portrait and landscape images.
- Testing flattened and layered files.
- Saving to a separate output folder.
- Using a predictable file format and extension.
- Disabling dialogs that do not need human input.
If only one command fails, remove and re-record that command rather than rebuilding the entire action. If the command depends on information that changes for every file, an action may not be the right tool. Use a script or handle that decision manually.
Exercise
A batch stops whenever it reaches “Select Layer: Product.” Some files contain that layer, but others are flattened. What should you test first?
Show answer
Run the action on one layered file and one flattened file manually. Confirm that the flattened file lacks the expected layer, then redesign the action or exclude files that do not meet its required document structure.