Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/bridge, opdef:/modeler::Sop/bridge?ViewerStateInstall", line 1, in
File "C:\PROGRA1/SIDEEF1/HOUDIN~1.278/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/modeler::Sop/bridge?modeler::Sop/bridge
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/crease, ViewerStateModule", line 1, in
File "C:\Program Files\Side Effects Software\Houdini 20.5.278\python311\lib\site-packages-forced\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'modeler'
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/crease, opdef:/modeler::Sop/crease?ViewerStateInstall", line 1, in
File "C:\PROGRA1/SIDEEF1/HOUDIN~1.278/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/modeler::Sop/crease?modeler::Sop/crease
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/edge_flow, ViewerStateModule", line 1, in
File "C:\Program Files\Side Effects Software\Houdini 20.5.278\python311\lib\site-packages-forced\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'modeler'
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/edge_flow, opdef:/modeler::Sop/edge_flow?ViewerStateInstall", line 1, in
File "C:\PROGRA1/SIDEEF1/HOUDIN~1.278/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/modeler::Sop/edge_flow?modeler::Sop/edge_flow
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/extrude, ViewerStateModule", line 1, in
File "C:\Program Files\Side Effects Software\Houdini 20.5.278\python311\lib\site-packages-forced\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'modeler'
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/extrude, opdef:/modeler::Sop/extrude?ViewerStateInstall", line 1, in
File "C:\PROGRA1/SIDEEF1/HOUDIN~1.278/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/modeler::Sop/extrude?modeler::Sop/extrude
Assistant
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/extrude_points, ViewerStateModule", line 1, in
File "C:\Program Files\Side Effects Software\Houdini 20.5.278\python311\lib\site-packages-forced\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'modeler'
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/extrude_points, opdef:/modeler::Sop/extrude_points?ViewerStateInstall", line 1, in
File "C:\PROGRA1/SIDEEF1/HOUDIN~1.278/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/modeler::Sop/extrude_points?modeler::Sop/extrude_points
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/falloff_xform, ViewerStateModule", line 1, in
File "C:\Program Files\Side Effects Software\Houdini 20.5.278\python311\lib\site-packages-forced\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'modeler'
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/falloff_xform, opdef:/modeler::Sop/falloff_xform?ViewerStateInstall", line 1, in
File "C:\PROGRA1/SIDEEF1/HOUDIN~1.278/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/modeler::Sop/falloff_xform?modeler::Sop/falloff_xform
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/flatten, ViewerStateModule", line 3, in
File "C:\Program Files\Side Effects Software\Houdini 20.5.278\python311\lib\site-packages-forced\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'modeler'
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/flatten, opdef:/modeler::Sop/flatten?ViewerStateInstall", line 1, in
File "C:\PROGRA1/SIDEEF1/HOUDIN~1.278/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/modeler::Sop/flatten?modeler::Sop/flatten
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/hose, ViewerStateModule", line 1, in
File "C:\Program Files\Side Effects Software\Houdini 20.5.278\python311\lib\site-packages-forced\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'modeler'
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/hose, opdef:/modeler::Sop/hose?ViewerStateInstall", line 1, in
File "C:\PROGRA1/SIDEEF1/HOUDIN~1.278/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/modeler::Sop/hose?modeler::Sop/hose
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/loop_cut, ViewerStateModule", line 1, in
File "C:\Program Files\Side Effects Software\Houdini 20.5.278\python311\lib\site-packages-forced\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'modeler'
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/loop_cut, opdef:/modeler::Sop/loop_cut?ViewerStateInstall", line 1, in
File "C:\PROGRA1/SIDEEF1/HOUDIN~1.278/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/modeler::Sop/loop_cut?modeler::Sop/loop_cut
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/peak, ViewerStateModule", line 1, in
File "C:\Program Files\Side Effects Software\Houdini 20.5.278\python311\lib\site-packages-forced\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'modeler'
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/peak, opdef:/modeler::Sop/peak?ViewerStateInstall", line 1, in
File "C:\PROGRA1/SIDEEF1/HOUDIN~1.278/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/modeler::Sop/peak?modeler::Sop/peak
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/qprimitive, ViewerStateModule", line 1, in
File "C:\Program Files\Side Effects Software\Houdini 20.5.278\python311\lib\site-packages-forced\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'modeler'
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/qprimitive, opdef:/modeler::Sop/qprimitive?ViewerStateInstall", line 1, in
File "C:\PROGRA1/SIDEEF1/HOUDIN~1.278/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/modeler::Sop/qprimitive?modeler::Sop/qprimitive
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/relax, ViewerStateModule", line 1, in
File "C:\Program Files\Side Effects Software\Houdini 20.5.278\python311\lib\site-packages-forced\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'modeler'
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/relax, opdef:/modeler::Sop/relax?ViewerStateInstall", line 1, in
File "C:\PROGRA1/SIDEEF1/HOUDIN~1.278/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/modeler::Sop/relax?modeler::Sop/relax
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/slide, ViewerStateModule", line 1, in
File "C:\Program Files\Side Effects Software\Houdini 20.5.278\python311\lib\site-packages-forced\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'modeler'
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/slide, opdef:/modeler::Sop/slide?ViewerStateInstall", line 1, in
File "C:\PROGRA1/SIDEEF1/HOUDIN~1.278/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/modeler::Sop/slide?modeler::Sop/slide
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/thickness, ViewerStateModule", line 1, in
File "C:\Program Files\Side Effects Software\Houdini 20.5.278\python311\lib\site-packages-forced\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'modeler'
Error running event handler:
Traceback (most recent call last):
File "modeler::Sop/thickness, opdef:/modeler::Sop/thickness?ViewerStateInstall", line 1, in
File "C:\PROGRA1/SIDEEF1/HOUDIN~1.278/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/modeler::Sop/thickness?modeler::Sop/thickness
The errors you're encountering in Houdini are related to missing or incorrectly registered Python modules, specifically related to the modeler package or related components. Here are a few steps to try and resolve these errors:
Step-by-Step Fix
Verify Package Installation:
Ensure the modeler package (or whatever plugin or toolset you're using) is correctly installed. If it's a third-party tool, reinstall it following the proper installation instructions provided by its creators.
Environment Paths:
Make sure that the directories containing the relevant Python and Houdini scripts for modeler are included in your Houdini environment paths. This is often done through the houdini.env file, located in your Houdini user preferences directory (e.g., C:\Users\<YourUser>\Documents\houdini20.5).
Ensure that the modeler package or its components are compatible with the Python version that Houdini is using. Houdini 20.5 uses Python 3.1.1, so verify that the package supports this version.
ViewerState Template Registration:
Check if the createViewerStateTemplate function is correctly defined and accessible in the relevant scripts. This error suggests that Houdini cannot find this function within the specified definitions.
Recompile Scripts:
If you have compiled scripts or custom compiled plugins, ensure they are correctly compiled for your current Houdini and Python version.
Reinstall Houdini Toolset:
If none of the above steps work, try reinstalling the entire Houdini toolset. Uninstall and then reinstall Houdini, ensuring that all settings are reset.
Example of Modifying the Houdini Environment File
Here’s how you can modify the houdini.env file to include custom paths: