Is there a way to have it NOT delete the temp file when a process errors out?

Just had a 36 hour conversion going that errored out like 28 hours into the job. Wasn’t sitting at my desk the entire time so coming to look back at the process and see that it not only errored but deletes the temp file is insane.

If it kept that file I could simply convert the last few minutes of footage in a separate job and stitch them together in premiere but I guess that isn’t happening.

Is there a setting to change to prevent it from doing that?

1 Like

Yes this is infuriating. There is no reason to delete the file, why does it do that? So much wasted time

It normally does not delete the temp file. If you open the application again after the crash it will even continue processing where it stopped before!

When there’s an error in the processing (not a crash) , it absolutely deletes the temp file (at least some of the time). Why, i do not know; i guess to not leave lingering bad files, but given that processing often takes many hours, this is the wrong tradeoff. The temp file is almost always perfectly fine and playable, if incomplete. much faster and easier to trim the video and restart with the missing part than re-process the whole.

For a workaround, since this has been the behavior forever with Topaz and they dont seem likely to change it, you can just run another bash script that copies the temp file every minute (or whatever you want):

 #!/bin/zsh

 # Source file to copy
 SOURCE_FILE=$1

 while true; do
  if [ ! -f "$SOURCE_FILE" ]; then
    echo "File not found!"
    exit 1
  fi
   # Copy the file and append _cp to the file name (keeping same extension)
   cp "$SOURCE_FILE" "${SOURCE_FILE%.*}_cp.${SOURCE_FILE##*.}"
   # Wait for a minute
   sleep 60
 done