stable.art icon indicating copy to clipboard operation
stable.art copied to clipboard

img2img mode fails (The command "Select" is not currently available.)

Open Puncia opened this issue 2 years ago • 5 comments

I can't seem to make img2img mode work, see video:

2023-01-18 09-16-09.webm

using PS 23.3.2

Puncia avatar Jan 18 '23 08:01 Puncia

Also experiencing this issue- both with img2img and inpaint. No error appears in the terminal window, and the plugin appears to get stuck attempting to generate an image until it is interrupted.

Binxly avatar Jan 19 '23 05:01 Binxly

Fixed my issue. Did a git pull of the latest webUI commit after removing the Dreambooth extension folder. Hope this helps.

Binxly avatar Jan 19 '23 06:01 Binxly

I don't have the Dreambooth extension installed and I just updated to the latest commit too, but I still have the issue

Puncia avatar Jan 19 '23 07:01 Puncia

Does the same happen for the inpaint mode or only img2img?

isekaidev avatar Jan 19 '23 19:01 isekaidev

Also happens with inpaint

Puncia avatar Jan 20 '23 06:01 Puncia

I just downloaded this as I needed the ability to finely mask/select for some inpainting work to be hit with this select nonsense. I filed ticket #18 on it, but it appears tickets are not being looked at, so is this abandoned already?

DarkAlchy avatar Jan 20 '23 21:01 DarkAlchy

is this abandoned already?

What do you mean? I am still working on other bugs/features, I cannot fix all issues in seconds.

isekaidev avatar Jan 21 '23 08:01 isekaidev

is this abandoned already?

What do you mean? I am still working on other bugs/features, I cannot fix all issues in seconds.

Just wondering since I saw so many tickets without a response out of you. Glad to know this is being worked on.

DarkAlchy avatar Jan 21 '23 14:01 DarkAlchy

Guys, could you test it again? It should be fixed.

isekaidev avatar Jan 21 '23 15:01 isekaidev

Guys, could you test it again? It should be fixed.

image

DarkAlchy avatar Jan 21 '23 15:01 DarkAlchy

Could you please record a video like OP? Need to check what happens with layers during generating.

isekaidev avatar Jan 21 '23 15:01 isekaidev

Could you please record a video like OP? Need to check what happens with layers during generating.

Maybe someone else can, but it is the same for i2i or inpainting only now instead of select it is delete.

DarkAlchy avatar Jan 21 '23 15:01 DarkAlchy

Do you have layers with transparent areas? Try to use inpaint in a document with just one layer without transparent areas, will the error remain?

isekaidev avatar Jan 21 '23 15:01 isekaidev

Do you have layers with transparent areas? Try to use inpaint in a document with just one layer without transparent areas, will the error remain?

I have only the background layer. I hit layers flatten and there is nothing to flatten because there is only the one layer. image

I just now removed the lock and the delete is gone replaced with the select command is not available again.

DarkAlchy avatar Jan 21 '23 15:01 DarkAlchy

Could you verify that your version hash is e029076? I reproduced the deletion error, and yes, it is related to the lock. But the issue with selection should have been fixed in the latest update. If your hash is not e029076, try to close and reopen Photoshop.

image

isekaidev avatar Jan 21 '23 15:01 isekaidev

image

Same hash it seems.

DarkAlchy avatar Jan 21 '23 15:01 DarkAlchy

@DarkAlchy could you please check again? A new hash should be 387cb83.

isekaidev avatar Jan 21 '23 18:01 isekaidev

@DarkAlchy could you please check again? A new hash should be 387cb83.

image image image image That color fill is what you changed my image to when it masked and said select is not available.

DarkAlchy avatar Jan 21 '23 19:01 DarkAlchy

Cannot reproduce :( Does your original background layer have any transparent areas? Or is it entirely black? Will the error remain if you create a new document with default settings? In this case, will be the background layer also replaced by "Color fill 1"?

isekaidev avatar Jan 21 '23 19:01 isekaidev

I2I or Inpainting have the same error.

image

edit: I tried it on a new blank canvas just now, and with a new picture where I did ctrl-a to marquee it all and the same issue with inpainiting and image to image.

DarkAlchy avatar Jan 21 '23 19:01 DarkAlchy

Same issue here as of https://github.com/isekaidev/stable.art/commit/155019e4af9ef3097257c6e6f34259b12eb28fc9.

Puncia avatar Jan 22 '23 10:01 Puncia

I reproduced the bug, it seems a bug is in Photoshop API itself, and it is related only to old versions (23.3.0 has the bug, 24.1 does not). I added a workaround, and now it should be fixed. Could you test?

isekaidev avatar Jan 22 '23 11:01 isekaidev

Thanks, it seems to be fixed now. I do get ReferenceError: atob is not defined when clicking on the result now though, making me unable to use it. Happens with txt2img and inpaint as well.

image

Puncia avatar Jan 22 '23 11:01 Puncia

image

DarkAlchy avatar Jan 22 '23 11:01 DarkAlchy

Fucking adobe with their custom js-engine 😔 I hope it is finally fixed this time.

isekaidev avatar Jan 22 '23 13:01 isekaidev

Fucking adobe with their custom js-engine 😔 I hope it is finally fixed this time.

I hope so.

DarkAlchy avatar Jan 22 '23 13:01 DarkAlchy

Worked for me.

DarkAlchy avatar Jan 22 '23 13:01 DarkAlchy

All seems to work well now! thanks again for your efforts, appreciated.

Puncia avatar Jan 22 '23 14:01 Puncia