Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: not enough values to unpack (expected 2, got 1) #12

Open
MoonDownHugo opened this issue Jul 26, 2024 · 4 comments
Open

ValueError: not enough values to unpack (expected 2, got 1) #12

MoonDownHugo opened this issue Jul 26, 2024 · 4 comments

Comments

@MoonDownHugo
Copy link

!!! Exception during processing!!! not enough values to unpack (expected 2, got 1)
Traceback (most recent call last):
File "J:\ComfyUI\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\ComfyUI\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\ComfyUI\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 3508, in image_paste_crop
result_image, result_mask = self.paste_image(tensor2pil(image), tensor2pil(crop_image), crop_data, crop_blending, crop_sharpening)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 3546, in paste_image
crop_size, (left, top, right, bottom) = crop_data
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)

@liusida
Copy link
Owner

liusida commented Jul 27, 2024

Sorry, after upgrading the system to support batches, I didn't test the compatibility with WAS. I'll check later.

@MoonDownHugo
Copy link
Author

Thank you very much for your hard work.

@Jojo-xqt
Copy link

Jojo-xqt commented Aug 5, 2024

Sorry, after upgrading the system to support batches, I didn't test the compatibility with WAS. I'll check later.抱歉,在升级系统支持批处理后,我没有测试与 WAS 的兼容性。我稍后再检查。

期待您的更新,现在报错问题依然存在。

@liusida
Copy link
Owner

liusida commented Aug 9, 2024

Sorry, I am traveling recently, and don't have the energy to fix this bug. Will there be anyone who can do a PR for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants