Is there an existing issue for this?
Current Behavior:
As we have the callback which executes to create first workfile from workfile template in the hosts, the integration would error without try, exception with TemplateProfileNotFound.
See e.g.: https://github.com/ynput/ayon-nuke/blob/4d6baa170d123e6df4167e4d0ecb4f6e95a77439/client/ayon_nuke/api/lib.py#L2571-L2576
https://github.com/ynput/ayon-houdini/blob/b1ac1461d3829dad49ae9af1bff48db7d6e2dd20/client/ayon_houdini/api/lib.py#L1569-L1573
The root cause of the lines:
|
raise TemplateProfileNotFound(( |
|
"No matching profile found for task '{}' of type '{}' " |
|
"with host '{}'" |
|
).format(task_name, task_type, host_name)) |
Expected Behavior:
Ayon should stop sliently the workfile templated building workflow when empty profile found.
Version
1.9.7
What platform you are running on?
Windows
Steps To Reproduce:
Use Blender as example
- Build addon in Blender with ynput/ayon-blender@69a8849
- Make sure
ayon+settings://blender/templated_workfile_build with no profiles
- Launch Blender
Are there any labels you wish to add?
Relevant log output:
Additional context:
No response
Is there an existing issue for this?
Current Behavior:
As we have the callback which executes to create first workfile from workfile template in the hosts, the integration would error without
try, exceptionwithTemplateProfileNotFound.See e.g.: https://github.com/ynput/ayon-nuke/blob/4d6baa170d123e6df4167e4d0ecb4f6e95a77439/client/ayon_nuke/api/lib.py#L2571-L2576
https://github.com/ynput/ayon-houdini/blob/b1ac1461d3829dad49ae9af1bff48db7d6e2dd20/client/ayon_houdini/api/lib.py#L1569-L1573
The root cause of the lines:
ayon-core/client/ayon_core/pipeline/workfile/workfile_template_builder.py
Lines 867 to 870 in b737a51
Expected Behavior:
Ayon should stop sliently the workfile templated building workflow when empty profile found.
Version
1.9.7
What platform you are running on?
Windows
Steps To Reproduce:
Use Blender as example
ayon+settings://blender/templated_workfile_buildwith no profilesAre there any labels you wish to add?
Relevant log output:
Additional context:
No response