Comfy-Org / Comfy-Org/ComfyUI

MaskEditor Error

Open
#12,420 1 comment 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

我期望正常使用遮罩编辑器。

Open mask editor correctly

### Actual Behavior

无法“用遮罩编辑器打开”,此操作无任何界面上的反应。在浏览器F12控制台看到有 maskEditor 的报错。请修复!

can Not "open in mask editor | image canvas"
Browser F12 show error:

Image

### Steps to Reproduce

在“加载图像”节点导入图像,点击“编辑或遮罩图片”(或右键点击图片选择“用遮罩编辑器打开”)

### Debug Logs

```powershell
Chrome F12:

usePanAndZoom.ts:70 Missing required properties for pan/zoom
view:1
GET http://127.0.0.1:8188/api/view?filename=sd1.5_inpaint.png&type=input&rand=0.1826003995933676&channel=rgb 500 (Internal Server Error)
view:1
GET http://127.0.0.1:8188/api/view?filename=sd1.5_inpaint.png&type=input&rand=0.1826003995933676&channel=a 500 (Internal Server Error)
useMaskEditorLoader.ts:215 [MaskEditorLoader] Failed to load image: http://127.0.0.1:8188/api/view?filename=sd1.5_inpaint.png&type=input&rand=0.1826003995933676&channel=rgb Error: Failed to load image: http://127.0.0.1:8188/api/view?filename=sd1.5_inpaint.png&type=input&rand=0.1826003995933676&channel=rgb
at r.onerror (useMaskEditorLoader.ts:331:38)
MaskEditorContent.vue:175 [MaskEditorContent] Initialization failed: Error: Failed to load image: http://127.0.0.1:8188/api/view?filename=sd1.5_inpaint.png&type=input&rand=0.1826003995933676&channel=rgb
at r.onerror (useMaskEditorLoader.ts:331:38)
```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.