InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: InvalidStateError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.

Open inusan opened this issue 10 months ago • 1 comments

Is there an existing issue for this problem?

  • [X] I have searched the existing issues

Operating system

Windows

GPU vendor

Nvidia (CUDA)

GPU model

RTX 4070

GPU VRAM

12 GB

Version number

5.5

Browser

Chrome

Python dependencies

No response

What happened

Clicked on region prompt and crashed

What you expected to happen

expected to be able to start drawing the mask

How to reproduce the problem

No response

Additional context

No response

Discord username

inusan

inusan avatar Jan 13 '25 21:01 inusan

This is the most annoying error. Add a "Close" button! I reset the entire interface 3 times and lost all the work I had done. Until I realized that if I close this window, everything will be saved. But the error window offers 3 options. Reset the UI (and lost all work), copy the error, report the error here. This is bad UX.

And by the way, I get this error all the time when I try to draw a mask.

PsypmP avatar Feb 14 '25 09:02 PsypmP