Closed romaincharoy closed 1 year ago
Hello @romaincharoy,
I've identified two major errors. The first is that the publishing job was forced to proceed without waiting for the Maya jobs to finish. The problem lies in the requirement for the Maya job to complete before the publish job can be executed.
As you can see in the screenshot, you can review the dependencies of your job.
Additionally, there's an issue with the Maya Job being blocked due to a blank file in the asset dependencies. This blank file leads to the problem. Upon inspecting the scene, it appears that this node (COSMO_40_Mxxxxxx_xxxx01:metal_multiFinition_acier_depoli:file_metal_multiFinition_input2_0) is in use but the imageTexture's path is empty. Deleting the node will rectify this issue.
Hi @ccaillot understood. What is the next step with the first issue ? We tried to launch jobs with another watch (ID > 64f082a218103706274a9e12) and killing the publish job and all the dependencies. The job stays on "queued". Thank you
Hi @romaincharoy,
It's normal, as I said in my first message, you need to fix this node in your scene (
ok we tried to put a new shader on the watch and the render completes. Do we have a possibility to continue the render process without considering this issue with the shaders ? About the first issue with the dependencies, how can we fix it ? is it a dev issue ? Thank you
by executing this code in your script editor you can check all dependencies your scene are calling during the deadline processing.
If you see a path which is equal to None, this will block your render.... but there is a workaround in deadline which consist in your job to delete the 'blank path' in Job Properties > Dependencies >Assets Tab > Remove on Right Top (While blank path is selected) (cf. screenshot).
dependencies = []
for node in cmds.ls(type="file"):
path = cmds.getAttr("{}.{}".format(node, "fileTextureName"))
if path not in dependencies:
print(node, path)
dependencies.append(path)
for node in cmds.ls(type="AlembicNode"):
path = cmds.getAttr("{}.{}".format(node, "abc_File"))
if path not in dependencies:
print(node, path)
dependencies.append(path)
The first issue exists cause of the second issue.
PS: for blank path like the node I've pointed before, you can break the connection and use a black constant, it will make the same job.
ok thank you !
Before posting a new ticket, have you looked through the documentation to find an answer?
Yes I have
Have you looked through the existing tickets to find any related issues ?
Yes I have
Author of the bug
Romain Charoy
Version
3.15.12-quad.4.1
What platform you are running OpenPype on?
Linux / Centos
Current Behavior:
When attempting to launch a render from maya to deadline, there is an error on deadline
Expected Behavior:
Full sequence rendering without error
What type of bug is it ?
Happened only once in a particular configuration
Which project / workfile / asset / ...
/prod/prod2/Projets/2022/TEST_OP_RLX_2022/Sequences/101/101_0010/work/light/test_op_rlx_101_0010_light_v006.ma
Steps To Reproduce:
Open the described lighting scene in maya from the launcher. Pyblish the renderlayer and workfile. Once the job is on deadline you get the error. Job ID 64ecd023181037062749fe8f for example
Relevant log output:
Additional context:
No response