-
Notifications
You must be signed in to change notification settings - Fork 46
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
Photoshop Error. Code: -1 #90
Comments
刚又测试了下,就“SDPPP从PS获取图像(GetImageFromPhotoshop)”节点运行出错。运行其它节点未发现出错,正常。 |
SD-PPP的版本是1.6.2 |
所有psd都这样吗?套索例子的那个psd会么 |
我试了几个PSD文件都这样,甚至为此还创建了一个只包含两个图层的PSD文件。套索的那个例子工作流现象一样。PS换了较老的版本PS V25.12.0,同样报错,报错信息也相同。
附件是报错时的截屏。
我的Python版本为3.10.11,ComfyUI前端的版本为1.7.4.
山水之间
…------------------ 原始邮件 ------------------
发件人: "zombieyang/sd-ppp" ***@***.***>;
发送时间: 2025年1月18日(星期六) 晚上8:55
***@***.***>;
***@***.******@***.***>;
主题: Re: [zombieyang/sd-ppp] 无法从PS获得图层的图像 (Issue #90)
所有psd都这样吗?套索例子的那个psd会么
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
但是获取PSD选区的节点是可以正常运行的。
山水之间
…------------------ 原始邮件 ------------------
发件人: "zombieyang/sd-ppp" ***@***.***>;
发送时间: 2025年1月18日(星期六) 晚上8:55
***@***.***>;
***@***.******@***.***>;
主题: Re: [zombieyang/sd-ppp] 无法从PS获得图层的图像 (Issue #90)
所有psd都这样吗?套索例子的那个psd会么
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
你加下我qq,我得发个测试版给你试试 |
你的QQ号? |
348063288 或者从qq频道里加 |
发了请求,你确认下。 |
但为啥获得选区和其他的几个节点能够正常工作呢?这几天事多,等过几天我再安装个PS2024试下。 |
我也无法从PS获取到图象, 系统win11, PS版本25.5.0 20240214.r.375 c4f33ec x64 |
我再下个版本加个抓取日志的功能看看 |
我这个是为什么···不能获取图层? ComfyUI Error ReportError Details
Stack Trace
System Information
Devices
Logs
Attached WorkflowPlease make sure that workflow does not contain any sensitive information such as API keys or passwords.
Additional Context(Please add any additional context or steps to reproduce the error here) |
Exception: sdppp PS side error:Error: 不支持非文本图层: 图层 1 (id:3) |
我的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
{"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}
The text was updated successfully, but these errors were encountered: