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

Send Images To Photoshop Photoshop: instance not found #104

Open
gggarlic opened this issue Feb 11, 2025 · 4 comments
Open

Send Images To Photoshop Photoshop: instance not found #104

gggarlic opened this issue Feb 11, 2025 · 4 comments

Comments

@gggarlic
Copy link

ComfyUI Error Report

Error Details

  • Node ID: 34
  • Node Type: Send Images To Photoshop
  • Exception Type: ValueError
  • Exception Message: Photoshop instance pX9g8sjTgS6EfUJOAAAh not found

Stack Trace

  File "/data/zzy/ComfyUI/execution.py", line 327, 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 "/data/zzy/ComfyUI/execution.py", line 202, 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 "/data/zzy/ComfyUI/execution.py", line 168, in _map_node_over_list
    process_inputs(input_data_all, 0, input_is_list=input_is_list)

  File "/data/zzy/ComfyUI/execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/data/zzy/ComfyUI/custom_nodes/sd-ppp/sdppp_python/comfy/nodes_legacy.py", line 207, in send_image
    raise ValueError(f'Photoshop instance {document["instance_id"]} not found')

System Information

  • ComfyUI Version: 0.3.12
  • Arguments: main.py --cuda-device 5 --port 8190 --listen 0.0.0.0
  • OS: posix
  • Python Version: 3.12.7 | packaged by Anaconda, Inc. | (main, Oct 4 2024, 13:27:36) [GCC 11.2.0]
  • Embedded Python: false
  • PyTorch Version: 2.5.0+cu124

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 25386352640
    • VRAM Free: 18708820602
    • Torch VRAM Total: 6207569920
    • Torch VRAM Free: 46592634

Logs

2025-02-10T08:46:35.016786 - Requested to load AutoencodingEngine
2025-02-10T08:46:38.432274 - loaded completely 9.5367431640625e+25 159.87335777282715 True
2025-02-10T08:46:39.090559 - !!! Exception during processing !!! Photoshop instance NgIVCJlkBGUICXAiAAAF not found
2025-02-10T08:46:39.091335 - Traceback (most recent call last):
  File "/data/zzy/ComfyUI/execution.py", line 327, 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 "/data/zzy/ComfyUI/execution.py", line 202, 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 "/data/zzy/ComfyUI/execution.py", line 168, in _map_node_over_list
    process_inputs(input_data_all, 0, input_is_list=input_is_list)
  File "/data/zzy/ComfyUI/execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/zzy/ComfyUI/custom_nodes/sd-ppp/sdppp_python/comfy/nodes_legacy.py", line 207, in send_image
    raise ValueError(f'Photoshop instance {document["instance_id"]} not found')
ValueError: Photoshop instance NgIVCJlkBGUICXAiAAAF not found

使用的是转发地址
@gggarlic
Copy link
Author

可以从ps获取图片到comfyui,comfyui回传到ps会出错

@zombieyang
Copy link
Owner

初步断定是某些ComfyUI桌面版会加载两次插件导致的,正在尝试解决

@gggarlic
Copy link
Author

是服务器限制了传输大小吗,昨天试了4kx6k的图传到ps里也会报这个错。
我comfyui用的是网页版

@zombieyang
Copy link
Owner

之前二次加载的问题会导致 已经解决了
你那个服务器的问题有可能是传输大小导致的

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

2 participants