Page 1 of 1

Fusion Node 17.4.2 crash

PostPosted: Thu Dec 02, 2021 10:30 am
by Nicolas
Hi,

New problem since going from 17.3.1 build 6 to 17.4.2

I use Backburner to start FusionRenderNode like this :


C:\FusionNode\FusionRenderNode.exe \\pathtocompfile.comp /cleanlog /verbose /render /start %tp1 /end %tp1 /step 1 /status /quiet /quit

Now have this error:
Annotation 2021-12-02 112353.jpg
Annotation 2021-12-02 112353.jpg (40.87 KiB) Viewed 1773 times


Seems the /quit doesn't make process exiting with normal code 0 :shock:

Another problem we always had:
With option /log C:\logfile.log sometimes rendernodes machine write "Loading comp ..." log line in the comp file !! Making next render impossible, comp file being rubish.

Re: Fusion Node 17.4.2 crash

PostPosted: Mon Dec 06, 2021 11:40 am
by Nicolas
Could we at least know if BM is working on such issue ?

No more network rendering with 17.4 is just a no-no :?

Re: Fusion Node 17.4.2 crash

PostPosted: Tue Dec 14, 2021 9:14 am
by Nicolas
This actually prevent us to move up to 17.4 :(

Maybe related:
viewtopic.php?f=22&t=151021

Re: Fusion Node 17.4.2 crash

PostPosted: Tue Dec 14, 2021 2:27 pm
by TheBloke
Over on WSL I just posted a work-around script for macOS or Linux users. It wraps Fusion Render Node and detects the true return code, then exits with that code. It should enable a render manager to work properly again.

Here's the script. Further details and instructions are in the post linked above.

Code: Select all
#!/bin/bash
# RenderNodeWrap.sh - a simple wrapper for Fusion Render Node, capturing and returning the correct return code
log() {
    echo "[$(date +'%Y-%m-%d %H:%M:%S')] RenderNodeWrap.sh: $@"
}

RN="/Applications/Blackmagic Fusion 17 Render Node/Fusion Render Node.app/Contents/MacOS/Fusion Render Node"
logfile=$(mktemp /tmp/RenderNodeWrap.XXXXX) || { log "ERROR! Couldn't make temp file to log to."; exit 1 ; }

log "launching RenderNode with command line: $RN ${@}"
"$RN" "${@}" 2>&1 | tee "$logfile"
errcode=${PIPESTATUS[0]}
if (( errcode == 0 ))
then # RenderNode completed successfully
    log "Render Node ran successfully."
else # RenderNode returned error code != 0, so we need to work out the real error code
    log "Render Node indicated failure (return code: $errcode), getting true return code."
    errcode=$(tail -5 "$logfile" | awk -e '/Auto-exiting with errcode/ { print $4 }' )
    log "Return code from log is: $errcode"
    if [[ "$errcode" == "" ]]
    then
        log "Couldn't find return code in log, indicating an error (eg composition not found.)"
        errcode=1
    fi
fi

rm "$logfile"
log "Exiting with return code: $errcode"
exit "$errcode"

Re: Fusion Node 17.4.2 crash

PostPosted: Tue Dec 14, 2021 2:36 pm
by Nicolas
Many thanks, I will try to do something like than on windows. maybe python or a simple autoit.

Of course lot better solution in BM hands :|

Re: Fusion Node 17.4.2 crash

PostPosted: Tue Dec 21, 2021 1:57 pm
by Nicolas
Same problem with 17.4.3 :shock: