Changeset 42703
- Timestamp:
- Jun 27, 2024, 10:23:57 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/tools/eam/rawfix.20230221/src/ipp_apply_burntool_psvideo.pl
r42531 r42703 144 144 my $rawImfile = $file->{uri}; 145 145 my $rawImfileReal = $ipprc->file_resolve($rawImfile, 0); 146 if (not defined $rawImfileReal) { 147 print "DEAD: $rawImfile, no valid instances found\n"; 148 next; 149 } 146 150 147 151 my $outTable = $file->{uri}; … … 200 204 $status = vsystem ("$funpack -S $rawImfileReal > $tempPixels", $REALRUN); 201 205 if ($status) { 206 print "FAIL: funpack fails for $rawImfile\n"; 202 207 &my_die("failed on funpack",$exp_id,$class_id); 203 208 } … … 210 215 } 211 216 if ($status) { 217 print STDERR "BURN: burntool failed for $exp_id $class_id\n"; 212 218 &my_die("failed on burntool",$exp_id,$class_id); 213 219 } … … 269 275 sub my_die { 270 276 my $message = shift; 277 printf STDERR "$message\n"; 271 278 if ($#_ != -1) { 272 279 my $exp_id = shift; … … 274 281 vsystem("$regtool -dbname $dbname -updateprocessedimfile -exp_id $exp_id -class_id $class_id -burntool_state -3",1); 275 282 } 276 print f STDERR "$message\n";283 print STDERR "updated database with burntool state -3\n"; 277 284 exit 1; 278 285 }
Note:
See TracChangeset
for help on using the changeset viewer.
