Hi there, I'm trying to create some vrscene files using hython. The process is as follows, I have a python script that takes a Houdini scene file and a rop node path and just calls the "render" function of the rop node.
I call that python script with hython executable and pass in my arguments. However, when I run hython I get the following error. The script continues executing but there is no vrscene generation.
One other odd thing I noted is that when I print the node type of the vray rop node, it's output as a "merge" node, I'm assuming this is why nothing gets generated. I have confirmed that the rop node is vray_renderer.
When I export and render interactively from the houdini UI everything works as expected. Also running vray standalone on a interactively generated vrscene works as well.
Here is a summary of system/versions.
OS: Linux Rocky 9.3
Houdini: 20.5.487
V-Ray for Houdini hash:6cf69be from 28 Jan 2025 16:36
V-Ray Core 7.00.10 [125d49e9] from 23 Jan 2025
I call that python script with hython executable and pass in my arguments. However, when I run hython I get the following error. The script continues executing but there is no vrscene generation.
One other odd thing I noted is that when I print the node type of the vray rop node, it's output as a "merge" node, I'm assuming this is why nothing gets generated. I have confirmed that the rop node is vray_renderer.
When I export and render interactively from the houdini UI everything works as expected. Also running vray standalone on a interactively generated vrscene works as well.
Here is a summary of system/versions.
OS: Linux Rocky 9.3
Houdini: 20.5.487
V-Ray for Houdini hash:6cf69be from 28 Jan 2025 16:36
V-Ray Core 7.00.10 [125d49e9] from 23 Jan 2025
Code:
Traceback from Unhandled Exception Loading /array/X/Library/renderer/vray/70010/houdini/houdini20.5.487/vfh_home/dso_py311/20.5.487/vray_for_houdini.so: <unknown exception type> utCallFunc(char const*, void (*)(void*), void*) [clone .cold] <libHoudiniUT.so> UT_DSO::run(char const*, void*, bool) <libHoudiniUT.so> OP_OperatorTable::runDSOInstall() <libHoudiniPRM.so> OP_Network::getOperatorTable(UT_StringRef const&, char const*) <libHoudiniPRM.so> MGR_Node::buildRopTable(char const*) <libHoudiniOPZ.so> MOT_Director::MOT_Director(UT_StringHolder const&, bool, bool, bool) <libHoudiniOPZ.so> HOMF_Module::createHoudiniInternals() <libHoudiniOPZ.so> _wrap___createHoudiniInternals <_hou.so> cfunction_vectorcall_NOARGS <libpython3.11.so.1.0> PyObject_Vectorcall.localalias <libpython3.11.so.1.0> _PyEval_EvalFrameDefault.localalias <libpython3.11.so.1.0> _PyEval_Vector <libpython3.11.so.1.0> PyEval_EvalCode.localalias <libpython3.11.so.1.0> builtin_exec <libpython3.11.so.1.0> cfunction_vectorcall_FASTCALL_KEYWORDS <libpython3.11.so.1.0> _PyEval_EvalFrameDefault.localalias <libpython3.11.so.1.0> _PyFunction_Vectorcall.localalias <libpython3.11.so.1.0> object_vacall <libpython3.11.so.1.0> PyObject_CallMethodObjArgs.localalias <libpython3.11.so.1.0> PyImport_ImportModuleLevelObject.localalias <libpython3.11.so.1.0> _PyEval_EvalFrameDefault.localalias <libpython3.11.so.1.0> _PyEval_Vector <libpython3.11.so.1.0> PyEval_EvalCode.localalias <libpython3.11.so.1.0> run_eval_code_obj <libpython3.11.so.1.0> run_mod <libpython3.11.so.1.0> PyRun_StringFlags.localalias (pythonrun.c:1601) PyRun_SimpleStringFlags.localalias <libpython3.11.so.1.0> pyInitializePython(bool) <libHoudiniUT.so> PYmakeSurePythonIsInitialized(bool) <libHoudiniUT.so> PY_BaseInterpreterAutoLock::PY_BaseInterpreterAutoLock(bool) <libHoudiniUT.so> [0x40c44e] <hython-bin> [0x40ad67] <hython-bin> __libc_start_call_main <libc.so.6> __libc_start_main_alias_2 <libc.so.6> [0x40ad9c] <hython-bin> zz0.n3zztjq6wqkzz
Comment