Houdini failed error | Need to track

Post Reply
rootman
Posts: 8
Joined: Fri Jun 23, 2017 11:30 am

Houdini failed error | Need to track

Post by rootman » Thu Jul 13, 2017 6:26 pm

Hi Team

Please give me solutions of below mentioned errors which becomes headache for my houdini error.

Traceback (most recent call last):
File "/opt/cgru/plugins/houdini/hrender_af.py", line 178, in <module>
ignore_inputs=ignoreInputs
File "/opt/hfs15.5.480/houdini/python2.6libs/hou.py", line 33575, in render
return _hou.RopNode_render(*args, **kwargs)
hou.OperationFailed: The attempted operation failed.
Error: Command Exit Code: 9

User avatar
timurhai
Site Admin
Posts: 337
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Houdini failed error | Need to track

Post by timurhai » Fri Jul 14, 2017 12:24 pm

Hi.
Afanasy render script just want to render node but it fails "_hou.RopNode_render(*args, **kwargs)".
There can be lots of reasons, that dos not connected to Afanasy.
For example you will see the same error, if camera lens is zero.

Can you give full task output from the very beginning to the end.
Timur Hairulin
CGRU 2.2.3 Ubuntu 14.04LTS (gcc4.8.4)

rootman
Posts: 8
Joined: Fri Jun 23, 2017 11:30 am

Re: Houdini failed error | Need to track

Post by rootman » Mon Jul 17, 2017 7:54 pm

Trying to set "Verbose Level" to 1 on mantra
Trying to set "Alfred Style Progress" on mantra
RopNode.render: frame 1001.0
[16:29:03] Generating Image: //Render path
[16:29:03] Plane[C]: 0 Cf+Af[4] (16-bit float)
[16:29:03] Plane[Pz]: 0 Pz[1] (32-bit float)
[16:29:03] Plane[N]: 0 N[3] (16-bit float)
[16:29:03] Plane[direct_diffuse]: 0 direct_diffuse[3] (16-bit float)
[16:29:03] Plane[direct_reflect]: 0 direct_reflect[3] (16-bit float)
[16:29:03] Plane[direct_coat]: 0 direct_coat[3] (16-bit float)
[16:29:03] Plane[direct_refract]: 0 direct_refract[3] (16-bit float)
[16:29:03] Plane[direct_volume]: 0 direct_volume[3] (16-bit float)
[16:29:03] Plane[indirect_diffuse]: 0 indirect_diffuse[3] (16-bit float)
[16:29:03] Plane[indirect_reflect]: 0 indirect_reflect[3] (16-bit float)
[16:29:03] Plane[indirect_coat]: 0 indirect_coat[3] (16-bit float)
[16:29:03] Plane[indirect_refract]: 0 indirect_refract[3] (16-bit float)
[16:29:03] Plane[indirect_volume]: 0 indirect_volume[3] (16-bit float)
[16:29:03] Plane[diff_clr]: 0 diff_clr[3] (16-bit float)
[16:29:03] Plane[spec_clr]: 0 spec_clr[3] (16-bit float)
[16:29:03] Plane[spec_rough]: 0 spec_rough[3] (16-bit float)
[16:29:03] mantra: Camera has non-unit scales, which may affect certain shading (i.e. volumes)
[16:29:04] mantra: Variable diff_clr (vector) not found for export in shader 'constant'
[16:29:04] mantra: Variable spec_clr (vector) not found for export in shader 'constant'
[16:29:04] mantra: Variable spec_rough (vector) not found for export in shader 'constant'
[16:29:04] mantra: Variable diff_clr (vector) not found for export in shader 'plastic'
[16:29:04] mantra: Variable spec_clr (vector) not found for export in shader 'plastic'
[16:29:04] mantra: Variable spec_rough (vector) not found for export in shader 'plastic'
Traceback (most recent call last):
File "/opt/cgru/plugins/houdini/hrender_af.py", line 178, in <module>
ignore_inputs=ignoreInputs
File "/opt/hfs15.5.480/houdini/python2.6libs/hou.py", line 33575, in render
return _hou.RopNode_render(*args, **kwargs)
hou.OperationFailed: The attempted operation failed.
Error: Command Exit Code: 9

Hoping this may be enough to tack where problems are....

Please guide for any possible changes to forward to Houdini team

OR else :? possible changes which can requires to our AFANASY setup IF ANY

Please guide us possible reasons,

Thanks for approach

User avatar
timurhai
Site Admin
Posts: 337
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Houdini failed error | Need to track

Post by timurhai » Tue Jul 18, 2017 7:49 am

This can be not related to your issue.
But why your Houdini uses python2.6?
For a very long time Houdini uses python2.7.
And may be afanasy ROP Python code even not compatible with 2.6 (i have not tried).
Timur Hairulin
CGRU 2.2.3 Ubuntu 14.04LTS (gcc4.8.4)

rootman
Posts: 8
Joined: Fri Jun 23, 2017 11:30 am

Re: Houdini failed error | Need to track

Post by rootman » Thu Aug 03, 2017 12:18 pm

Thanks timurhai

I will try to check to upgrade python 2.7 if possible

Can you tel me what can be do if we wants keep using PY 2.6

User avatar
timurhai
Site Admin
Posts: 337
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Houdini failed error | Need to track

Post by timurhai » Thu Aug 03, 2017 3:45 pm

Hi.
Launch task command simple in a terminal (w/o afanasy-afrender).
If command will finish with success, (less probably) i dont know, may be some permissions problem, try to launch command within the same environment as afrender (user).
Try to modify opt/cgru/plugins/houdini/hrender_af.py somehow.
You should find out what is wrong with that line:
https://github.com/CGRU/cgru/blob/maste ... af.py#L257
Try to execute ropnode.render() function with some other arguments.

We see manta command output in your task output.
This means that mantra was executed from ropnode.render(), and something wrong was in mantra process.
Most probably it is not an afanasy problem at all.
May be mantra has not enough permissions to create a file under the user that afrender runs, or load some lib.
Timur Hairulin
CGRU 2.2.3 Ubuntu 14.04LTS (gcc4.8.4)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest