ID 490663 - CopyCat node fails to correctly create an Inference node if the Data Directory file path contains spaces

Follow

Problem summary
CopyCat node fails to correctly create an Inference node if the Data Directory file path contains spaces

Customer reported version
nuke.13.0v1

Customer reported platform
windows10

Steps to reproduce

1) Open NukeX

2) Create Checkerboard and ColorWheel nodes

3) Create a CopyCat node and connect the Checkerboard and ColorWheel nodes

4) In the CopyCat node, set the Data Driectory to a file path that contains spaces:



5) Set the Epochs to 10, then Start Training

6) Once the training is complete, press Create Inference


Expected behaviour
For the Inference node to be created successfully, with the correct file path

Actual behaviour
When the Inference node is created, it errors saying no such knob for pats of the file path:

And the Inference node's Model Path ends at the first space:
​ 

Workaround
Manually set the file path to what it should be

Reproduced by support
This bug has been reproduced in:  
NukeX 13.0v5 - Windows 10, CentOS 7.5, macOS Big Sur
NukeX 13.0v1 - Windows 10

Earliest version tested
NukeX 13.0v1 - This feature did not exist before this version

    We're sorry to hear that

    Please tell us why