Skip to content

"TypeError: 'int' object is not subscriptable" when running scriptΒ #46

@runshouse

Description

@runshouse

When I run:
!python comfyui_to_python.py

I get this error:
Traceback (most recent call last):
File "/content/ComfyUI/ComfyUI-to-Python-Extension/comfyui_to_python.py", line 460, in
ComfyUItoPython(input_file=input_file, output_file=output_file, queue_size=queue_size)
File "/content/ComfyUI/ComfyUI-to-Python-Extension/comfyui_to_python.py", line 425, in init
self.execute()
File "/content/ComfyUI/ComfyUI-to-Python-Extension/comfyui_to_python.py", line 441, in execute
load_order = load_order_determiner.determine_load_order()
File "/content/ComfyUI/ComfyUI-to-Python-Extension/comfyui_to_python.py", line 120, in determine_load_order
self._load_special_functions_first()
File "/content/ComfyUI/ComfyUI-to-Python-Extension/comfyui_to_python.py", line 156, in _load_special_functions_first
class_def = self.node_class_mappingsself.data[key]['class_type']
TypeError: 'int' object is not subscriptable

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions