midjourney-api icon indicating copy to clipboard operation
midjourney-api copied to clipboard

Loading event is triggered, but the program never finishes.

Open bzm121 opened this issue 1 year ago • 1 comments

the code that reproduces this issue or a replay of the bug

 client.Imagine("cutting-edge, confident, elegant, mysterious", (uri, p) => {
   console.log("\n\n\nloading", uri, p, "\n\n\n");
 }).then(msg=>{console.log("\n\n\nDone:", msg)}).catch(err=>{console.log("ERR:", err)});

Describe the bug

The following incantation can trigger loading events, but the event for when the image is finished loading will not be called, causing the program to be stuck at "xx wait no message found...."

Incantation to reproduce the error:

"cutting-edge, confident, elegant, mysterious"

使用下面这个咒语,可以有loading事件,但图片当完成时,一直没有完成的事件调用。程序会 一直卡在 xx wait no message found ....

复现错误的咒语:

cutting-edge, confident, elegant, mysterious

error log

none

bzm121 avatar Jun 17 '23 11:06 bzm121

ws:true

zcpua avatar Jun 18 '23 02:06 zcpua