Index: trunk/pstamp/scripts/pstamp_checkdependent.pl
===================================================================
--- trunk/pstamp/scripts/pstamp_checkdependent.pl	(revision 28064)
+++ trunk/pstamp/scripts/pstamp_checkdependent.pl	(revision 28134)
@@ -299,6 +299,15 @@
         my $command = "$warptool -scmap -warp_id $warp_id -skycell_id $skycell_id";
         my $data = runToolAndParse($command, $verbose);
-        my_die("failed to find warpSkyCelllMap for warpRun $warp_id skycell_id $skycell_id", $PS_EXIT_UNKNOWN_ERROR)
-            if !$data or scalar @$data == 0;
+        if (!$data or scalar @$data == 0) {
+            # This happens if the chipProcessedImfile disappears which happened when earlier
+            # versions of chiptool -revertprocessedimfile didn't check the chipRun.state before
+            # deleing the row. 
+            # Fault the jobs so that the Request can finish ...
+            faultJobs('stop', undef, undef, $PSTAMP_GONE);
+            # ... and fault the dependent so that we have a record of the error
+            my_die("failed to find warpSkyCelllMap for warpRun $warp_id skycell_id $skycell_id",
+                $PS_EXIT_DATA_ERROR);
+        }
+
 
         my $chips_ready = 1;
