Closed hz963 closed 2 months ago
this is likely coming from another custom node like e.g. comfui_controlnet_aux
https://github.com/search?q=repo%3AFannovel16%2Fcomfyui_controlnet_aux%20SimpleNamespace&type=code
The root of this error is that there is a module that is actually an object of type types.SimpleNamespace
The init code of this module should be able to handle that (e.g. skip such objects)
the same error, the patch commited?
Traceback (most recent call last):
File "F:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1994, in load_custom_node
module_spec.loader.exec_module(module)
File "
Cannot import F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_smZNodes module for custom nodes: unhashable type: 'types.SimpleNamespace'
Traceback (most recent call last): File "F:\ComfyUI_FK_202408\ComfyUI\nodes.py", line 1993, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "F:\ComfyUI_FK_202408\ComfyUI\custom_nodes\ComfyUI_smZNodes__init.py", line 18, in PRELOADED_MODULES = init_modules() ^^^^^^^^^^^^^^ File "F:\ComfyUI_FK_202408\ComfyUI\custom_nodes\ComfyUI_smZNodes\init__.py", line 9, in init_modules return set(modules.values()) ^^^^^^^^^^^^^^^^^^^^^ TypeError: unhashable type: 'types.SimpleNamespace'
Cannot import F:\ComfyUI_FK_202408\ComfyUI\custom_nodes\ComfyUI_smZNodes module for custom nodes: unhashable type: 'types.SimpleNamespace'