AWS Thinkbox Discussion Forums

Houdini 19py3 (V-ray+Arnold crash) don't work together

Hi, I have been installing Houdini 19.0.657 with V-ray+arnold+redshift+Renderman and I have managed to get it to work perfectly out of deadline, but when I send a render I get the following error in deadline, I have updated from py2 to py3 and as soon as I install arnold together with v-ray it gives me problems from deadline.

From what I have read houdini if you have packages read only 1 plugin then, the only solution I could find do it in the same line but it has worked in deadline, as you have distributed the programs you all in the same version or some versions of houdini separately ?

FailRenderException : Error: No module named 'vfh_py'
   at Deadline.Plugins.DeadlinePlugin.FailRender(String message) (Python.Runtime.PythonException)
  File "C:\ProgramData\Thinkbox\Deadline10\workers\ND-EXTREME-01\plugins\63306037cecf981fecae3ff3\Houdini.py", line 438, in HandleStdoutError
    self.FailRender(self.GetRegexMatch(1))
   at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
   at __FranticX_Processes_ManagedProcess_StdoutHandlerDelegateDispatcher.Invoke()
   at FranticX.Processes.ManagedProcess.RegexHandlerCallback.CallFunction()
   at FranticX.Processes.ManagedProcess.e(String di, Boolean dj)
   at FranticX.Processes.ManagedProcess.Execute(Boolean waitForExit)
   at Deadline.Plugins.DeadlinePlugin.DoRenderTasks()
   at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)
   at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)

=======================================================
Type
=======================================================
RenderPluginException

=======================================================
Stack Trace
=======================================================
   at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bgj, CancellationToken bgk)
   at Deadline.Plugins.SandboxedPlugin.RenderTask(Task task, CancellationToken cancellationToken)
   at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ajq, CancellationToken ajr)

=======================================================
Log
=======================================================
2022-09-25 16:56:22:  0: Loading Job's Plugin timeout is Disabled
2022-09-25 16:56:22:  0: SandboxedPlugin: Render Job As User disabled, running as current user 'AC-ND-EXTREME-01'
2022-09-25 16:56:24:  0: Executing plugin command of type 'Initialize Plugin'
2022-09-25 16:56:24:  0: INFO: Executing plugin script 'C:\ProgramData\Thinkbox\Deadline10\workers\ND-EXTREME-01\plugins\63306037cecf981fecae3ff3\Houdini.py'
2022-09-25 16:56:24:  0: INFO: Plugin execution sandbox using Python version 3
2022-09-25 16:56:24:  0: INFO: About: Houdini Plugin for Deadline
2022-09-25 16:56:24:  0: INFO: The job's environment will be merged with the current environment before rendering
2022-09-25 16:56:24:  0: Done executing plugin command of type 'Initialize Plugin'
2022-09-25 16:56:24:  0: Start Job timeout is disabled.
2022-09-25 16:56:24:  0: Task timeout is disabled.
2022-09-25 16:56:24:  0: Loaded job: TEST 19.0.657 (63306037cecf981fecae3ff3)
2022-09-25 16:56:24:  0: Executing plugin command of type 'Start Job'
2022-09-25 16:56:24:  0: DEBUG: S3BackedCache Client is not installed.
2022-09-25 16:56:24:  0: INFO: Executing global asset transfer preload script 'C:\ProgramData\Thinkbox\Deadline10\workers\ND-EXTREME-01\plugins\63306037cecf981fecae3ff3\GlobalAssetTransferPreLoad.py'
2022-09-25 16:56:24:  0: INFO: Looking for legacy (pre-10.0.26) AWS Portal File Transfer...
2022-09-25 16:56:24:  0: INFO: Looking for legacy (pre-10.0.26) File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py...
2022-09-25 16:56:24:  0: INFO: Could not find legacy (pre-10.0.26) AWS Portal File Transfer.
2022-09-25 16:56:24:  0: INFO: Legacy (pre-10.0.26) AWS Portal File Transfer is not installed on the system.
2022-09-25 16:56:24:  0: Done executing plugin command of type 'Start Job'
2022-09-25 16:56:24:  0: Plugin rendering frame(s): 15
2022-09-25 16:56:24:  0: Executing plugin command of type 'Render Task'
2022-09-25 16:56:24:  0: INFO: Starting Houdini Job
2022-09-25 16:56:24:  0: INFO: Stdout Redirection Enabled: True
2022-09-25 16:56:24:  0: INFO: Stdout Handling Enabled: True
2022-09-25 16:56:24:  0: INFO: Popup Handling Enabled: True
2022-09-25 16:56:24:  0: INFO: QT Popup Handling Enabled: False
2022-09-25 16:56:24:  0: INFO: WindowsForms10.Window.8.app.* Popup Handling Enabled: False
2022-09-25 16:56:24:  0: INFO: Using Process Tree: True
2022-09-25 16:56:24:  0: INFO: Hiding DOS Window: True
2022-09-25 16:56:24:  0: INFO: Creating New Console: False
2022-09-25 16:56:24:  0: INFO: Running as user: AC-ND-EXTREME-01
2022-09-25 16:56:24:  0: INFO: Enforcing 64 bit build
2022-09-25 16:56:24:  0: INFO: Executable: "C:\Program Files\Side Effects Software\Houdini 19.0.657\bin\hython.exe"
2022-09-25 16:56:24:  0: INFO: Argument: "C:\ProgramData\Thinkbox\Deadline10\workers\ND-EXTREME-01\plugins\63306037cecf981fecae3ff3\hrender_dl.py" -f 15 15 1 -d /out/mantra1 -gpu 0 -tempdir "C:\ProgramData\Thinkbox\Deadline10\workers\ND-EXTREME-01\jobsData\63306037cecf981fecae3ff3\0_temp4WZiX0" -arnoldAbortOnLicenseFail 0 "//ac-nas-01/Sergi/Benchmarks/Houdini/Mantra/Mantra_19.0.hip"
2022-09-25 16:56:24:  0: INFO: Full Command: "C:\Program Files\Side Effects Software\Houdini 19.0.657\bin\hython.exe" "C:\ProgramData\Thinkbox\Deadline10\workers\ND-EXTREME-01\plugins\63306037cecf981fecae3ff3\hrender_dl.py" -f 15 15 1 -d /out/mantra1 -gpu 0 -tempdir "C:\ProgramData\Thinkbox\Deadline10\workers\ND-EXTREME-01\jobsData\63306037cecf981fecae3ff3\0_temp4WZiX0" -arnoldAbortOnLicenseFail 0 "//ac-nas-01/Sergi/Benchmarks/Houdini/Mantra/Mantra_19.0.hip"
2022-09-25 16:56:24:  0: INFO: Startup Directory: "C:\Program Files\Side Effects Software\Houdini 19.0.657\bin"
2022-09-25 16:56:24:  0: INFO: Process Priority: BelowNormal
2022-09-25 16:56:24:  0: INFO: Process Affinity: default
2022-09-25 16:56:24:  0: INFO: Process is now running
2022-09-25 16:56:26:  0: STDOUT: 00:00:00   462MB         | log started Sun Sep 25 16:56:25 2022
2022-09-25 16:56:26:  0: STDOUT: 00:00:00   462MB         | Arnold 7.1.3.0 [a8020120] windows clang-10.0.1 oiio-2.4.1 osl-1.12.0 vdb-7.1.1 adlsdk-6.3.1.44 clmhub-2.0.0.235 rlm-14.1.3 optix-6.6.0 2022/08/01 13:27:49
2022-09-25 16:56:26:  0: STDOUT: 00:00:00   462MB         | running on ND-EXTREME-01, pid=8656
2022-09-25 16:56:26:  0: STDOUT: 00:00:00   462MB         |  1 x 12th Gen Intel(R) Core(TM) i9-12900K (24 cores, 24 logical) with 130813MB
2022-09-25 16:56:26:  0: STDOUT: 00:00:00   462MB         |  NVIDIA driver version 517.40 (Optix 60803)
2022-09-25 16:56:26:  0: STDOUT: 00:00:00   462MB         |  GPU 0: NVIDIA GeForce RTX 3090 @ 1710MHz (compute 8.6) with 24575MB (23869MB available) (NVLink:0)
2022-09-25 16:56:26:  0: STDOUT: 00:00:00   462MB         |  Windows 10 (version 10.0, build 22000)
2022-09-25 16:56:26:  0: STDOUT: 00:00:00   462MB         |  soft limit for open files changed from 8192 to 2048
2022-09-25 16:56:26:  0: STDOUT: 00:00:00   462MB         |  
2022-09-25 16:56:26:  0: STDOUT: 00:00:00   481MB         | [color_manager_ocio] default ocio.config found in C:\Users\AC-ND-EXTREME-01\htoa\htoa-6.1.3.1_r90d42a5_houdini-19.0.657\htoa-6.1.3.1_r90d42a5_houdini-19.0.657\scripts\bin\../ocio/configs/arnold/config.ocio
2022-09-25 16:56:26:  0: STDOUT: 00:00:00   481MB         | loading plugins from C:\Users\AC-ND-EXTREME-01\htoa\htoa-6.1.3.1_r90d42a5_houdini-19.0.657\htoa-6.1.3.1_r90d42a5_houdini-19.0.657\scripts\bin\..\plugins ...
2022-09-25 16:56:26:  0: STDOUT: 00:00:00   482MB         |  alembic_proc.dll: alembic uses Arnold 7.1.3.0
2022-09-25 16:56:26:  0: STDOUT: 00:00:00   482MB         |  cryptomatte.dll: cryptomatte uses Arnold 7.1.3.0
2022-09-25 16:56:26:  0: STDOUT: 00:00:00   482MB         |  cryptomatte.dll: cryptomatte_filter uses Arnold 7.1.3.0
2022-09-25 16:56:26:  0: STDOUT: 00:00:00   482MB         |  cryptomatte.dll: cryptomatte_manifest_driver uses Arnold 7.1.3.0
2022-09-25 16:56:26:  0: STDOUT: 00:00:00   482MB         |  htoa_mandelbulb_proc.dll: mandelbulb uses Arnold 7.1.3.0
2022-09-25 16:56:26:  0: STDOUT: 00:00:01   493MB         |  usd_proc.dll: usd uses Arnold 7.1.3.0
2022-09-25 16:56:26:  0: STDOUT: 00:00:01   493MB         | loaded 6 plugins from 4 lib(s) in 0:00.08
2022-09-25 16:56:26:  0: STDOUT: 00:00:01   495MB         | [htoa_op] Begin registration ...
2022-09-25 16:56:26:  0: STDOUT: 00:00:01   497MB         | [obj_procedurals] Registering procedurals ...
2022-09-25 16:56:26:  0: STDOUT: 00:00:01   502MB         | [obj_procedurals] procedural registration done.
2022-09-25 16:56:27:  0: STDOUT: [Redshift] Redshift for Houdini plugin version 3.5.8 (Sep  2 2022 15:35:00)
2022-09-25 16:56:27:  0: STDOUT: [Redshift] Plugin compile time HDK version: 19.0.657
2022-09-25 16:56:27:  0: STDOUT: [Redshift] Houdini host version: 19.0.657
2022-09-25 16:56:27:  0: STDOUT: [Redshift] Plugin dso/dll and config path: C:/ProgramData/Redshift/Plugins/Houdini/19.0.657/dso
2022-09-25 16:56:27:  0: STDOUT: [Redshift] Core data path: C:\ProgramData\Redshift
2022-09-25 16:56:27:  0: STDOUT: [Redshift] Local data path: C:\ProgramData\Redshift
2022-09-25 16:56:27:  0: STDOUT: [Redshift] Procedurals path: C:\ProgramData\Redshift\Procedurals
2022-09-25 16:56:27:  0: STDOUT: [Redshift] Preferences file path: C:\ProgramData\Redshift\preferences.xml
2022-09-25 16:56:27:  0: STDOUT: [Redshift] License path: C:\ProgramData\Redshift
2022-09-25 16:56:27:  0: STDOUT: 00:00:02   603MB         | [rop_operators] Registering operators ...
2022-09-25 16:56:27:  0: STDOUT: 00:00:02   603MB         | [rop_operators] operator registration done.
2022-09-25 16:56:28:  0: STDOUT: 00:00:03   664MB         | [vop_shaders] Registering shaders ...
2022-09-25 16:56:28:  0: STDOUT: 00:00:03   668MB         | [vop_shaders] shader registration done.
2022-09-25 16:56:28:  0: STDOUT: 00:00:03   668MB         | [vop_imagers] Registering imagers ...
2022-09-25 16:56:28:  0: STDOUT: 00:00:03   668MB         | [vop_imagers] imager registration done.
2022-09-25 16:56:28:  0: STDOUT: 00:00:03   668MB         | [htoa_op] USD shader translation registration
2022-09-25 16:56:28:  0: STDOUT: shader translator
2022-09-25 16:56:28:  0: STDOUT: Traceback (most recent call last):
2022-09-25 16:56:28:  0: STDOUT:   File "<stdin>", line 1, in <module>
2022-09-25 16:56:28:  0: STDOUT:   File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\husd\pluginmanager.py", line 83, in __init__
2022-09-25 16:56:28:  0: STDOUT:     reverse = True )
2022-09-25 16:56:28:  0: STDOUT:   File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\husd\pluginmanager.py", line 28, in __init__
2022-09-25 16:56:28:  0: STDOUT:     pathvar = 'HOUDINI_HUSDPLUGINS_PATH' )
2022-09-25 16:56:28:  0: STDOUT:   File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\pluginutils.py", line 193, in runFunctions
2022-09-25 16:56:28:  0: STDOUT:     pathvar=pathvar):
2022-09-25 16:56:28:  0: STDOUT:   File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\pluginutils.py", line 137, in _findFunctions
2022-09-25 16:56:28:  0: STDOUT:     module = _cacheLoad(filepath, silent=True)
2022-09-25 16:56:28:  0: STDOUT:   File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\pluginutils.py", line 41, in _cacheLoad
2022-09-25 16:56:28:  0: STDOUT:     obj = loadModule(filepath, silent=silent)
2022-09-25 16:56:28:  0: STDOUT:   File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\pluginutils.py", line 66, in loadModule
2022-09-25 16:56:28:  0: STDOUT:     exec (code_obj, module.__dict__)
2022-09-25 16:56:28:  0: STDOUT:   File "C:/Program Files/Chaos Group/V-Ray/Houdini 19.0.657/vfh_home/husdplugins\shadertranslators\vfh_usd.py", line 16, in <module>
2022-09-25 16:56:28:  0: STDOUT:     import vfh_py
2022-09-25 16:56:28:  0: Done executing plugin command of type 'Render Task'

Thatā€™s a really hard sentence to read.

Houdini should load all of these, Iā€™d check your packages json files and makes sure theyā€™re appending and not overwriting the variables theyā€™re setting.

I remember having issues with Arnold so Iā€™d rename the file to zarnold.json to make it load last.

This is a good article on packages, it mentions that using the houdini.env invokes ā€˜REPLACEā€™ rather than ā€˜APPENDā€™ which the json files use, so make sure the automatically generated arnold install didnā€™t add these.

https://www.toadstorm.com/blog/?p=722

Is your rendernode reading the same packages_dir as the submission machine?

Are you using nightlies builds? Renderman and Vray arenā€™t supported for 19.0.657, not sure if this would cause issues.

1 Like

I will give it a try, the weird thing is that out of deadline it loads all together with renderman and v-ray, if all nodes have the same configuration.

Good, thanks for your time, I have tried the article it works the same as before in houdini it doesnā€™t give me any problem it loads well vray+arnold, but in deadline we are still the same, on the other hand when vray creates me the file vray for houdini I have replaced it with ā€œreplaceā€ and in the arnold file I have tried to add
"method: ā€œappendā€ but as soon as I put it, it doesnā€™t work anymore.

append is the default choice in the json packages, you donā€™t need to add it.

If you have any option set in the houdini.env, they will automatically replace, so make sure this is empty if you are using packages, or add the env var to disable their use.
https://www.sidefx.com/docs/houdini/ref/env.html

  • HOUDINI_NO_ENV_FILE

If set, Houdini will not load the $HOUDINI_USER_PREF_DIR/houdini.env file. This allows large facilities with standard environments to disable the houdini.env file by setting this variable in the script which they use to launch Houdini.

  • HOUDINI_NO_ENV_FILE_OVERRIDES

This environment variable is similar to HOUDINI_NO_ENV_FILE, but is less extreme. Setting this stops the user from being able to override existing variables in their houdini.env file. If they try to do so, a warning will be printed.

I donā€™t think there is any difference to the startup if hython.exe or houdinifx.exe is being called.

If you have the packages and renderer installed on the rendernodes this should be identical, does it work if you render back to your workstation?

Is the version set in the Deadline plugin configuration pointing to 19.0.657

-I have tried HOUDINI_NO_ENV_FILE but nothing and change the hython by houdinifx but is what you say there is no difference.

-In the render nodes locally it renders perfectly both arnold and vray, in my work computer with the same configuration also, as soon as I send the job from deadline monitor it jumps the error
FailRenderException : Error: No module named ā€˜vfh_pyā€™.
-Lastly if deadline points to 19.0.657

Iā€™m a little confused, but here are my questions:

On the render node: Outside of deadline: If you log in as user AC-ND-EXTREME-01 can commandline render from Houdini with both arnold and vray packages loaded? Does it give you the same error?

On the render node: From deadline: Will the vray job render correctly if you move the arnold.json file out of the packages directory? Does it report the "No module name 'vfh_py' error?

The first question I have never rendered via command, I can investigate it.

The second question as soon as I move arnold.json out it starts rendering instantly from vray, the same if I move vray.json out it starts from arnold.

I have to say that when I open houdinifx in the houdini console I get this error vfh_py error

You probably need to append to the corresponding env vars, instead of overwriting them. The package json files have special syntax for that - look it up in the documentation.

2 Likes

I agree with @anthonygelatka and @mois.moshev that there is something funky with the ordering. Iā€™m basically giving you the same instructions that Anthony posted, but with a few mods.

We donā€™t use vray, so cannot test the actual rendering part, but I could test the loading order.

Can you test these steps and see if it displays any errors:

  • Leave vray.json as is ā€“ you said it was auto-generated by vray install.
  • Rename arnold.json to zarnold.json with contents from below ā€“ and just put YOUR correct HtoA paths in there. (Not sure if the formatting with be shown correctly)
{
	"env": [
		{ "PATH" : [
            { "value": "C:/ProgramData/arnold/houdini/htoa/htoa-6.1.3.1_r90d42a5_houdini-19.0.657/scripts/bin", "method": "append" }
				
		]}
	],
	"path" : [
		{ "value": "C:/ProgramData/arnold/houdini/htoa/htoa-6.1.3.1_r90d42a5_houdini-19.0.657",	"method": "append" }
	]
}
  • In your houdini.env, only have : HOUDINI_DSO_ERROR = 2
  • In a cmd shell type in: set HOUDINI_PACKAGE_VERBOSE=1
  • Then type in: "C:\Program Files\Side Effects Software\Houdini 19.0.657\bin\hconfig.exe" -xa

It should then output which order the packages were loaded/processed and then at the end check HOUDINI_PATH to see if the order is correct.

If the order looks correct, then try to render using deadline.

1 Like

Thank you very much for your contribution.

I followed the steps but I donā€™t see anything out of place at least I have rendered withdeadline and the same error.


I attach the log in case I can provide more information to this ā€˜vfh_pyā€™ error.

00:00:01   589MB         | log started Tue Sep 27 20:15:13 2022
00:00:01   589MB         | Arnold 7.1.3.0 [a8020120] windows clang-10.0.1 oiio-2.4.1 osl-1.12.0 vdb-7.1.1 adlsdk-6.3.1.44 clmhub-2.0.0.235 rlm-14.1.3 optix-6.6.0 2022/08/01 13:27:49
00:00:01   589MB         | running on ND-EXTREME-01, pid=1696
00:00:01   589MB         |  1 x 12th Gen Intel(R) Core(TM) i9-12900K (24 cores, 24 logical) with 130813MB
00:00:01   589MB         |  NVIDIA driver version 517.40 (Optix 60803)
00:00:01   589MB         |  GPU 0: NVIDIA GeForce RTX 3090 @ 1710MHz (compute 8.6) with 24575MB (23900MB available) (NVLink:0)
00:00:01   589MB         |  Windows 10 (version 10.0, build 22000)
00:00:01   589MB         |  soft limit for open files changed from 8192 to 2048
00:00:01   589MB         |  
00:00:01   608MB         | [color_manager_ocio] default ocio.config found in C:\Motores\arnold\htoa-6.1.3.1_r90d42a5_houdini-19.0.657\scripts\bin\../ocio/configs/arnold/config.ocio
00:00:01   608MB         | loading plugins from C:\Motores\arnold\htoa-6.1.3.1_r90d42a5_houdini-19.0.657\scripts\bin\..\plugins ...
00:00:01   609MB         |  alembic_proc.dll: alembic uses Arnold 7.1.3.0
00:00:01   609MB         |  cryptomatte.dll: cryptomatte uses Arnold 7.1.3.0
00:00:01   609MB         |  cryptomatte.dll: cryptomatte_filter uses Arnold 7.1.3.0
00:00:01   609MB         |  cryptomatte.dll: cryptomatte_manifest_driver uses Arnold 7.1.3.0
00:00:01   609MB         |  htoa_mandelbulb_proc.dll: mandelbulb uses Arnold 7.1.3.0
00:00:01   623MB         |  usd_proc.dll: usd uses Arnold 7.1.3.0
00:00:01   623MB         | loaded 6 plugins from 4 lib(s) in 0:00.07
00:00:01   628MB         | [htoa_op] Begin registration ...
00:00:01   631MB         | [obj_procedurals] Registering procedurals ...
00:00:01   635MB         | [obj_procedurals] procedural registration done.
00:00:01   650MB         | [rop_operators] Registering operators ...
00:00:01   650MB         | [rop_operators] operator registration done.
00:00:02   663MB         | [vop_shaders] Registering shaders ...
00:00:02   667MB         | [vop_shaders] shader registration done.
00:00:02   667MB         | [vop_imagers] Registering imagers ...
00:00:02   667MB         | [vop_imagers] imager registration done.
00:00:02   668MB         | [htoa_op] USD shader translation registration
shader translator
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\husd\pluginmanager.py", line 83, in __init__
    reverse = True )
  File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\husd\pluginmanager.py", line 28, in __init__
    pathvar = 'HOUDINI_HUSDPLUGINS_PATH' )
  File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\pluginutils.py", line 193, in runFunctions
    pathvar=pathvar):
  File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\pluginutils.py", line 137, in _findFunctions
    module = _cacheLoad(filepath, silent=True)
  File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\pluginutils.py", line 41, in _cacheLoad
    obj = loadModule(filepath, silent=silent)
  File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\pluginutils.py", line 66, in loadModule
    exec (code_obj, module.__dict__)
  File "C:/Motores/vray/vfh_home/husdplugins\shadertranslators\vfh_usd.py", line 16, in <module>
    import vfh_py
  File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.657\python37\lib\site-packages-forced\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'vfh_py'

shader translator
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'theTranslators' is not defined

shader translator
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'theTranslators' is not defined

preview shader translator
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\husd\pluginmanager.py", line 83, in __init__
    reverse = True )
  File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\husd\pluginmanager.py", line 28, in __init__
    pathvar = 'HOUDINI_HUSDPLUGINS_PATH' )
  File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\pluginutils.py", line 193, in runFunctions
    pathvar=pathvar):
  File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\pluginutils.py", line 137, in _findFunctions
    module = _cacheLoad(filepath, silent=True)
  File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\pluginutils.py", line 41, in _cacheLoad
    obj = loadModule(filepath, silent=silent)
  File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\pluginutils.py", line 66, in loadModule
    exec (code_obj, module.__dict__)
  File "C:/Motores/vray/vfh_home/husdplugins\shadertranslators\vfh_usd.py", line 16, in <module>
    import vfh_py
  File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.657\python37\lib\site-packages-forced\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'vfh_py'

preview shader translator
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'thePreviewTranslators' is not defined

preview shader translator
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'thePreviewTranslators' is not defined

00:00:02   683MB         | [htoa_op] End registration.
00:00:02   683MB         |  
00:00:02   683MB         | releasing resources
00:00:02   662MB         | Arnold shutdown

also I realized the test I had you do put htoa last, but it wants to go first. I forgot it puts it in reverse.

Iā€™m a bit busy right now, but Iā€™ll try to get back to this later.

Donā€™t worry anytime, I can actually implement more engines, thank you very much for your time.

Iā€™m kinda out of ideas. Here is one more thing you can try, which is not the most elegant solution since it requires using both the houdini.env file for arnold but using packages for vray.

  • Leave vray.json as is
  • Remove zarnold.json file
  • Use houdini.env to set the HtoA environment
HOUDINI_DSO_ERROR = 3

# htoa config start
HOUDINI_DSO_PATH = "C:/Motores/arnold/htoa-6.1.3.1_r90d42a5_houdini-19.0.657/dso;&"
PATH = "$PATH;C:/Motores/arnold/htoa-6.1.3.1_r90d42a5_houdini-${HOUDINI_VERSION}/scripts/bin"
HOUDINI_PATH = "C:/Motores/arnold/htoa-6.1.3.1_r90d42a5_houdini-${HOUDINI_VERSION};&"
# htoa config end

Iā€™m only setting the HOUDINI_DSO_PATH for HtoA since it is being used in vray.json you posted, otherwise I wouldnā€™t use it at all for arnold or vray. But we donā€™t use vray, so maybe it is needed?

According to the docs, HtoA wants it to be first in the HOUDINI_PATH but last in the system PATH.

Again, like it was previously posted, I did not see a vray for this version H19.0.657 so it could be that it is not quite fully working or just throwing errors which are enough to make Deadline error out of the job, but not enough for Houdini (interactive) to stop rendering it.

Maybe one of the other forums (Chaos, SideFX, Autodesk) has info regarding this issue?

1 Like

Good morning! I have news I have solved all this problem, the main problem is that the version of arnold installed was not fully compatible with py3 as mentioned, I have migrated everything from 19.0.657 to 19.0.622, in the download section of arnold in the newer versions have arnold.exe and arnold.py2 for houdini 19.0.657 but for 622 if you get py.3, then now I have in packages Redshift+vray+arnold+renderman without any problem, thanks to all.

1 Like

Kudos to you! Glad you were able to figure it out.

Yes, H19 builds: py2 v py3 and now py3.7 v py3.9 and then you have to match with Arnold, Redshift, Vray, etc.; differing versions can easily make a personā€™s head spin.

1 Like
Privacy | Site terms | Cookie preferences