Problem summary
Creating LiveGroups using relative paths such as "../" or "[python {nuke.script_directory()}]", works when setup, but displays issues when reloading the script.
When restarting Nuke and opening the saved script via "File -> Open Comp...", the following error prompt appears:
The error will be displayed for the number of LiveGroup nodes in the .nk file with relative paths.
Reloading the nodes via the GUI will bring in the LiveGroup footage.
Customer reported version
nuke.11.3v1
Customer reported platform
windows10
Steps to reproduce
1) Open Nuke, Create a LiveGroup.
2) Save Nuke
3) Within the LiveGroup, set the path to the following:
Note: Add --nukex after the nuke.exe call to launch NukeX
Option 2: Automatically reload the LiveGroups on launch
Add the following Python Snippet to your .nuke/menu.py file:
import nukedef reloadLivegroups(): nodes = nuke.allNodes() for node in nodes: if node.Class() == "LiveGroup": node.knob("reload_script").execute() print 'LiveGroups reloaded'nuke.addOnScriptLoad(reloadLivegroups)
Please Note: The exception prompts will still appear, although the LiveGroups will be loaded correctly.
Reproduced by support
This bug has been reproduced in:
Nuke11.3v1- Windows 7 - Mac10.13 - CentOS7
Nuke11.3v1- Windows 7 - Mac10.13 - CentOS7
Nuke11.2v1 - Windows 7
Nuke11.1v1 - Windows 7
Nuke11.0v1 - Windows 7 - Mac10.13 - CentOS7
Earliest version tested
- This feature did not exist before this version
Expected behaviour
LiveGroups should work with relative paths
Actual behaviour
LiveGroups with relative paths are not opened on launch, throws exception prompts.