Closed bingal closed 9 months ago
Were you able to figure this out?
Not resolved yet, tested a few workflows within the project and they all report the same error.
2.0的workflow也不行,😖
The issue has been identified; it seems to be a problem with the image I inputted. I’m not sure if it’s the size ratio or the photo resolution being too high. However, when I replaced it with an AI-generated 1024x1024 image, it worked. The main problem is that the error message is very unclear, and there are no other error messages in the console.
Error occurred when executing PreviewImage:
'str' object has no attribute 'shape'
File "/home/bingal/ComfyUI/execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/bingal/ComfyUI/execution.py", line 83, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/bingal/ComfyUI/execution.py", line 76, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/bingal/ComfyUI/nodes.py", line 1359, in save_images full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(filename_prefix, self.output_dir, images[0].shape[1], images[0].shape[0]) ^^^^^^^^^^^^^^^