AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
141.53k stars 26.75k forks source link

[Bug]: don't show inpaint pic #10192

Open tangflash opened 1 year ago

tangflash commented 1 year ago

Is there an existing issue for this?

What happened?

I load a pic from PNG INFO TAB and click "send to inpaint" button. fail to display the pic. it has error in console. image

Steps to reproduce the problem

  1. I load a pic from PNG INFO TAB
  2. "send to inpaint" button
  3. it has error in console. image

What should have happened?

the inpaint pic is visible

Commit where the problem happens

5ab7f213bec2f816f9c5644becb32eb72c8ffb89

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

--xformers

List of extensions

no no

Console logs

![image](https://user-images.githubusercontent.com/5391541/236795672-ea2e5c27-470e-4799-bcf4-9d69eba61739.png)

VM624:3 Uncaught (in promise) ReferenceError: recalculate_prompts_inpaint is not defined
    at Object.eval [as frontend_fn] (eval at <anonymous> (Blocks.svelte:67:25), <anonymous>:3:14)
    at ze (Blocks.svelte:284:6)
    at HTMLButtonElement.<anonymous> (Blocks.svelte:343:7)
    at index.mjs:1170:44
    at Array.forEach (<anonymous>)
    at HTMLButtonElement.Cn (index.mjs:1170:27)
    at HTMLButtonElement.f (Button.svelte:12:51)
    at index.mjs:1170:44
    at Array.forEach (<anonymous>)
    at HTMLButtonElement.Cn (index.mjs:1170:27)
eval @ VM624:3
ze @ Blocks.svelte:284
(anonymous) @ Blocks.svelte:343
(anonymous) @ index.mjs:1170
Cn @ index.mjs:1170
f @ Button.svelte:12
(anonymous) @ index.mjs:1170
Cn @ index.mjs:1170
v @ Button.svelte:11
Promise.then (async)
ze @ Blocks.svelte:289
(anonymous) @ Blocks.svelte:343
(anonymous) @ index.mjs:1170
Cn @ index.mjs:1170
f @ Button.svelte:12
(anonymous) @ index.mjs:1170
Cn @ index.mjs:1170
v @ Button.svelte:11
Show 8 more frames
127.0.0.1/:1 Error handling response: TypeError: Cannot read properties of undefined (reading 'isM3U8Video')
    at chrome-extension://ncennffkjdiamlpmcbajkmaiiiddgioo/js/xl-content.js:1:17996
127.0.0.1/:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received

Additional information

aaffffff

Mark-Reiser commented 1 year ago

This is "only" happening on larger resolution images like 5000x3000px.

It applies also to the PNG Info Tab but sure is more "important" within the Inpaint tab!

mtch777 commented 10 months ago

Same error for me Windows, google chrome

Parameters: Steps: 30, Sampler: Euler a, CFG scale: 14, Seed: 126957581, Size: 832x1216, Model hash: 31e35c80fc, Model: sd_xl_base_1.0, Denoising strength: 0.4, Mask blur: 4, Refiner: sd_xl_refiner_1.0 [7440042bbd], Refiner switch at: 0.6, Version: v1.6.1

Similar error if helpful: https://stackoverflow.com/questions/2075337/uncaught-referenceerror-is-not-defined

image