Errors at Startup

   1480   9   5
User Avatar
Member
15 posts
Joined: 5月 2019
Offline
Hi there,

while 5 20.5.278 starts normaly, every other daily build throws the folloing errors:

ite-packages-forced\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'kinefx'

ERROR: C:/PROGRA~1/SIDEEF~1/HOUDIN~1.307/packages/kinefx/viewer_states/sidefx_sop_capturelayerpaint-2.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/houdini/python3.11libs\viewerstate\utils.py", line 967, in register_pystate
mod = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.307\python311\Lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name, package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/packages/kinefx/viewer_states\sidefx_sop_capturelayerpaint-2.py", line 16, in <module>
import _kinefx
File "C:\Program Files\Side Effects Software\Houdini 20.5.307\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 '_kinefx'

ERROR: C:/PROGRA~1/SIDEEF~1/HOUDIN~1.307/packages/kinefx/viewer_states/sidefx_sop_capturelayerpaint.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/houdini/python3.11libs\viewerstate\utils.py", line 967, in register_pystate
mod = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.307\python311\Lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name, package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/packages/kinefx/viewer_states\sidefx_sop_capturelayerpaint.py", line 3, in <module>
from kinefx.attribwatcher import AttributeWatcher
File "C:\Program Files\Side Effects Software\Houdini 20.5.307\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 'kinefx'

ERROR: C:/PROGRA~1/SIDEEF~1/HOUDIN~1.307/packages/apex/viewer_states/apexanimate.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/houdini/python3.11libs\viewerstate\utils.py", line 967, in register_pystate
mod = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.307\python311\Lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name, package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/packages/apex/viewer_states\apexanimate.py", line 5, in <module>
import apex
File "C:\Program Files\Side Effects Software\Houdini 20.5.307\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 'apex'

ERROR: C:/PROGRA~1/SIDEEF~1/HOUDIN~1.307/packages/apex/viewer_states/apexdebugstate.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/houdini/python3.11libs\viewerstate\utils.py", line 967, in register_pystate
mod = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.307\python311\Lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name, package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/packages/apex/viewer_states\apexdebugstate.py", line 3, in <module>
import apex
File "C:\Program Files\Side Effects Software\Houdini 20.5.307\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 'apex'

ERROR: C:/PROGRA~1/SIDEEF~1/HOUDIN~1.307/packages/apex/viewer_states/apexmapcharacter.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/houdini/python3.11libs\viewerstate\utils.py", line 967, in register_pystate
mod = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.307\python311\Lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name, package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/packages/apex/viewer_states\apexmapcharacter.py", line 2, in <module>
import apex
File "C:\Program Files\Side Effects Software\Houdini 20.5.307\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 'apex'

ERROR: C:/PROGRA~1/SIDEEF~1/HOUDIN~1.307/houdini/viewer_states/sidefx_polyhinge.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/houdini/python3.11libs\viewerstate\utils.py", line 967, in register_pystate
mod = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.307\python311\Lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name, package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/houdini/viewer_states\sidefx_polyhinge.py", line 13, in <module>
from apex.xformgadgetutils import DragGuide
File "C:\Program Files\Side Effects Software\Houdini 20.5.307\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 'apex'

ERROR: C:/PROGRA~1/SIDEEF~1/HOUDIN~1.307/houdini/viewer_states/sidefx_quickshapes.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/houdini/python3.11libs\viewerstate\utils.py", line 967, in register_pystate
mod = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.307\python311\Lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name, package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/houdini/viewer_states\sidefx_quickshapes.py", line 14, in <module>
from apex.xformgadget import ApexXformHandle
File "C:\Program Files\Side Effects Software\Houdini 20.5.307\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 'apex'

ERROR: C:/PROGRA~1/SIDEEF~1/HOUDIN~1.307/houdini/viewer_states/sidefx_quickshapes_lop.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/houdini/python3.11libs\viewerstate\utils.py", line 967, in register_pystate
mod = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.307\python311\Lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name, package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/houdini/viewer_states\sidefx_quickshapes_lop.py", line 19, in <module>
from apex.xformgadget import ApexXformHandle
File "C:\Program Files\Side Effects Software\Houdini 20.5.307\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 'apex'


Error running event handler:
Traceback (most recent call last):
File "kinefx::Sop/adapttoterrain, ViewerStateModule", line 3, in <module>
File "C:\Program Files\Side Effects Software\Houdini 20.5.307\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 'kinefx'

Error running event handler:
Traceback (most recent call last):
File "kinefx::Sop/adapttoterrain, opdef:/kinefx::Sop/adapttoterrain?ViewerStateInstall", line 1, in <module>
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/kinefx::Sop/adapttoterrain?kinefx::Sop/adapttoterrain

Error running event handler:
Traceback (most recent call last):
File "labs::Lop/karma::2.0, ViewerStateModule", line 18, in <module>
File "C:\Program Files\Side Effects Software\Houdini 20.5.307\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 'ParseExrMetadata'

Error running event handler:
Traceback (most recent call last):
File "labs::Lop/karma::2.0, opdef:/labs::Lop/karma::2.0?ViewerStateInstall", line 1, in <module>
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.307/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/labs::Lop/karma::2.0?labs::Lop/karma::2.0



Any ideas what is going on?
User Avatar
Member
143 posts
Joined: 6月 2024
Offline
in build 307 everything is fine
User Avatar
Member
209 posts
Joined: 5月 2017
Offline
Check whether one of the modules listed in the error message is actually available:

If so, check your protection history, maybe some parts of Houdini are blocked.

Also check if you install the right Houdini Python Build, if you run 3.10 then according to error massage it tries to import from 3.11.


20.5: No Module Named 'ParseExrMetadata' [www.sidefx.com]
No module named sidefx_stroke or kinefx.stateutils [www.sidefx.com]
Edited by viklc - 2024年7月26日 08:39:04

Attachments:
kinefx_viewer_states.png (11.3 KB)
py311.png (7.6 KB)

User Avatar
Member
15 posts
Joined: 5月 2019
Offline
Thanks for the input.

Its the right build. I also tried the workarounds in your loinks, but nothing seems to help.

It runs fine on my 2nd machine, though.
User Avatar
Member
7868 posts
Joined: 7月 2005
Online
Maybe you've got some hardcoded paths to the older Houdini version in your preferences/packages. Try:
- Quit all Houdini sessions
- Find your "houdini20.5" directory under documents. Rename this.
- Start the new Houdini version.

If that is still having issues. Check your system/user environment variables for anything that has a Houdini build version in it.
User Avatar
Member
185 posts
Joined: 2月 2016
Offline
Are you maybe running Octane? I've seen other people get lots of errors on launch when running dailies and having Octane active
User Avatar
Member
15 posts
Joined: 5月 2019
Offline
Thanks for the suggestions.

Octane is indeed running, but disabling it - or renaming the houdini20.5 directory - doesnt affect the errors.

Its the dailiy builds, the produtciton build is running fine.
User Avatar
Member
7868 posts
Joined: 7月 2005
Online
Maybe you renamed the wrong houdini20.5 directory? After doing this and starting Houdini, double-check that Octane is actually gone.

Another thing is that I'm not sure how you've set up things up. You can also try opening a Command Line Tools window running the the "hconfig" command to see if that looks correct (post your screenshot).
User Avatar
Member
15 posts
Joined: 5月 2019
Offline
Thanks, now with the new Production build the errors reduced to just those two:

Error running event handler:
Traceback (most recent call last):
File "labs::Lop/karma::2.0, ViewerStateModule", line 18, in <module>
File "C:\Program Files\Side Effects Software\Houdini 20.5.332\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 'ParseExrMetadata'

Error running event handler:
Traceback (most recent call last):
File "labs::Lop/karma::2.0, opdef:/labs::Lop/karma::2.0?ViewerStateInstall", line 1, in <module>
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.332/houdini/python3.11libs\viewerstate\utils.py", line 1007, in register_pystate_embedded
raise ViewerStateException(
viewerstate.utils.ViewerStateException: createViewerStateTemplate not found in oplib:/labs::Lop/karma::2.0?labs::Lop/karma::2.0



There are workarounds for these, but they dont do their job for me.
Nevertheless, everything seems to work, those labs nodes? dont interfere.

Thanks everyone for their help!
User Avatar
Member
7868 posts
Joined: 7月 2005
Online
I think this last error is a bug although I'm not sure if anyone should be using the karma lab nodes anymore. Please log a bug.
  • Quick Links