sd-ppp: Photoshop Error. Code: -1
我的PS版本是最新版的V26.2.0,ComfyUI的版本是新版的v0.3.12,可以发送ComfyUI生成的图像到PS,但无法从PS获得图层的图像。测试时只用了两个节点“SDPPP从PS获取图像(GetImageFromPhotoshop)”和“Preview Image”。执行时报错信息如下。
2025-01-18T16:24:49.735662 - got prompt 2025-01-18T16:24:50.032664 - !!! Exception during processing !!! sdppp PS side error:Error: Photoshop Error. Code: -1 2025-01-18T16:24:50.032664 - Traceback (most recent call last): File “E:\ComfyUI_windows\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 “E:\ComfyUI_windows\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 “E:\ComfyUI_windows\ComfyUI\execution.py”, line 168, in _map_node_over_list process_inputs(input_data_all, 0, input_is_list=input_is_list) File “E:\ComfyUI_windows\ComfyUI\execution.py”, line 163, in process_inputs results.append(getattr(obj, func)(**inputs)) File “E:\ComfyUI_windows\ComfyUI\custom_nodes\sd-ppp\sdppp_python\comfy\nodes_legacy.py”, line 97, in get_image result = call_async_func_in_server_thread( File “E:\ComfyUI_windows\ComfyUI\custom_nodes\sd-ppp\sdppp_python\comfy\nodes_legacy.py”, line 34, in call_async_func_in_server_thread raise handle[‘error’] File “E:\ComfyUI_windows\ComfyUI\custom_nodes\sd-ppp\sdppp_python\comfy\nodes_legacy.py”, line 23, in do_call handle[‘result’] = await coro File “E:\ComfyUI_windows\ComfyUI\custom_nodes\sd-ppp\sdppp_python\protocols\photoshop.py”, line 22, in get_image result = await protocol_call(backend_instance, ‘s_get_image’, data={ File “E:\ComfyUI_windows\ComfyUI\custom_nodes\sd-ppp\sdppp_python\protocols\photoshop.py”, line 8, in protocol_call raise Exception(‘sdppp PS side error:’ + result[‘error’]) Exception: sdppp PS side error:Error: Photoshop Error. Code: -1
2025-01-18T16:24:50.033664 - Prompt executed in 0.30 seconds
## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
{“last_node_id”:7,“last_link_id”:2,“nodes”:[{“id”:6,“type”:“Get Image From Photoshop Layer”,“pos”:[-660,1240],“size”:[441,126],“flags”:{},“order”:0,“mode”:0,“inputs”:[{“name”:“layer_or_group”,“type”:“LAYER”,“link”:null,“label”:“图层(或组)”},{“name”:“bound”,“type”:“MASK”,“link”:null,“shape”:7,“label”:“边界”}],“outputs”:[{“name”:“rgb_out”,“type”:“IMAGE”,“links”:[2],“shape”:6,“label”:“RGB输出”,“slot_index”:0},{“name”:“alpha_out”,“type”:“MASK”,“links”:null,“shape”:6,“label”:“Alpha输出”}],“properties”:{“Node name for S&R”:“Get Image From Photoshop Layer”,“sdppp-version”:“412”},“widgets_values”:[“PSeb9_226/### 当前文档 ###”,“### 整个画布 ###”,“”]},{“id”:7,“type”:“PreviewImage”,“pos”:[-90,1240],“size”:[210,26],“flags”:{},“order”:1,“mode”:0,“inputs”:[{“name”:“images”,“type”:“IMAGE”,“link”:2}],“outputs”:[],“properties”:{“Node name for S&R”:“PreviewImage”}}],“links”:[[2,6,0,7,0,“IMAGE”]],“groups”:[],“config”:{},“extra”:{“ds”:{“scale”:1.4122927695244514,“offset”:[1081.8532358104533,-1011.2635092975789]},“node_versions”:{“sd-ppp”:“bd6add3d774e1e48a20fd536e721ce67fee69ab9”,“comfy-core”:“0.3.12”}},“version”:0.4}
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (5 by maintainers)
Exception: sdppp PS side error:Error: 不支持非文本图层: 图层 1 (id:3) at _0xd97785 (index.js:1:100160) at Socket2.<anonymous> (index.js:1:112359) at Emitter.emit (librarys.js:184:18081) at Socket2.emitEvent (librarys.js:184:54873) at Socket2.onevent (librarys.js:184:54638) at Socket2.onpacket (librarys.js:184:54226) at Emitter.emit (librarys.js:184:18081) at librarys.js:184:61220