Skip to content

TypeError: 'int' object is not subscriptable #39

@TmacChenQian

Description

@TmacChenQian

!!! Exception during processing !!! 'int' object is not subscriptable
Traceback (most recent call last):
File "/home/kemove/project/comfyUINew/ComfyUI-master/execution.py", line 328, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "/home/kemove/project/comfyUINew/ComfyUI-master/execution.py", line 203, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "/home/kemove/project/comfyUINew/ComfyUI-master/execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "/home/kemove/project/comfyUINew/ComfyUI-master/execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "/home/kemove/project/comfyUINew/ComfyUI-master/custom_nodes/comfyui-propost/nodes.py", line 197, in filmgrain_image
vignette_image = self.apply_filmgrain(tensor_image, gray_scale, grain_type_index, grain_sat, grain_power, shadows, highs, scale, sharpen, src_gamma, seed+b)
File "/home/kemove/project/comfyUINew/ComfyUI-master/custom_nodes/comfyui-propost/nodes.py", line 205, in apply_filmgrain
out_image = filmgrainer.process(image, scale, src_gamma,
File "/home/kemove/project/comfyUINew/ComfyUI-master/custom_nodes/ComfyUI_LayerStyle-main/py/filmgrainer/filmgrainer.py", line 60, in process
org_width = img.size[0]
TypeError: 'int' object is not subscriptable

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