Index: /branches/eam_branches/ipp-20230313/tools/eam/rawfix.20230221/src/ipp_apply_burntool_psvideo.pl
===================================================================
--- /branches/eam_branches/ipp-20230313/tools/eam/rawfix.20230221/src/ipp_apply_burntool_psvideo.pl	(revision 42702)
+++ /branches/eam_branches/ipp-20230313/tools/eam/rawfix.20230221/src/ipp_apply_burntool_psvideo.pl	(revision 42703)
@@ -144,4 +144,8 @@
     my $rawImfile = $file->{uri};
     my $rawImfileReal = $ipprc->file_resolve($rawImfile, 0);
+    if (not defined $rawImfileReal) {
+        print "DEAD: $rawImfile, no valid instances found\n";
+	next;
+    }
 
     my $outTable  = $file->{uri};
@@ -200,4 +204,5 @@
         $status = vsystem ("$funpack -S $rawImfileReal > $tempPixels", $REALRUN);
         if ($status) {
+	    print "FAIL: funpack fails for $rawImfile\n";
             &my_die("failed on funpack",$exp_id,$class_id);
         }
@@ -210,4 +215,5 @@
         }
         if ($status) {
+	    print STDERR "BURN: burntool failed for $exp_id $class_id\n";
             &my_die("failed on burntool",$exp_id,$class_id);
         }
@@ -269,4 +275,5 @@
 sub my_die {
     my $message = shift;
+    printf STDERR "$message\n";
     if ($#_ != -1) {
         my $exp_id = shift;
@@ -274,5 +281,5 @@
         vsystem("$regtool -dbname $dbname -updateprocessedimfile -exp_id $exp_id -class_id $class_id -burntool_state -3",1);
     }
-    printf STDERR "$message\n";
+    print STDERR "updated database with burntool state -3\n";
     exit 1;
 }
