Comments (4)
Got it. So I figured out why it wasn't working (for me at least) and have a temporary fix.
I'll leave it in a new message so it will alert you on it.
edit- It seems like your stacktrace is different from mine, but perhaps my solution will still work for you.
tl;dr - Enable "Save text information about generation parameters as chunks to png files" in A1111.
In my stacktrace it calls the metadata_to_json.py script and fails once it reaches line 10.
And according to ChatGPT, this is what that line is doing.
This line of code is finding the index of the last occurrence of the newline character '\n' in the metadata_str string. The rindex() method is used to find the index of the rightmost occurrence of the specified value in the string, so this line is finding the rightmost occurrence of the newline character in metadata_str. The result is stored in the last_new_line_index variable.
And because there is no metadata to look for that character, it probably returns null
, which the other modules aren't a fan of.
I'll poke around and see if I can figure out a permanent fix for those of us that don't want the image generation data saved in the .png. But for now, enable that setting in A1111 and it should work fine for you.
from auto-photoshop-stablediffusion-plugin.
I've had this error in A1111 since my most recent pull.
I'm fairly certain it's an A1111 problem.
Here's an issue from that repo that has the same error.
AUTOMATIC1111/stable-diffusion-webui#7120 (comment)
edit - It seems to be a problem with extensions. After fixing that problem with A1111, it still pops up in the Photoshop server and prevents the generated image from being passed into Photoshop.
edit 2 - I'm beginning to think that it's the fastapi
and starlette
not being updated to the correct version. I'll see if updating them fixes the issue.
edit 3 - Did not fix the problem.
from auto-photoshop-stablediffusion-plugin.
I have a same error
from auto-photoshop-stablediffusion-plugin.
@kindLee-alasikoo I've fixed this in the latest build, you should try installing using the one click plugin.ccx, installer?
https://discord.com/channels/1054937599392891000/1055247602578374728/1072213800654225490
from auto-photoshop-stablediffusion-plugin.
Related Issues (20)
- Support for Fooocus?
- 我的主模型怎么刷新都看不到? lora和controlnet都是正常的,还有远程地址不能保存,有大神指教是什么情况吗
- sd-forge-controlnet support?and sd-webui-prompt-all-in-one support?
- There was an error in the API file
- Как установить?
- Can you add a hidden node function in the PS plugin
- The generated layers of the generated image can be placed on the selected layers
- [bug] Old Image and mask won't change while doing outpaint
- Why can't we find support for ip adapter in Controlnet in webui.
- Scheduler
- prompt outputs failed validation,what should i do to feagure it out?
- horde key
- Problem when saving an edited image/quick safe not possible in Photoshop HOT 1
- Photoshop freezes or CTD's after some generations / comfyUI HOT 2
- ComfyUI custom scripts misssing nodes errors
- Plugin not saving generated images HOT 1
- After upgrading auto1111 SD from 1.7 to 1.9.3, plugin failing randomly HOT 6
- CFG could use a 0.1 float increment/decrement resolution on it's slider.
- API error: 422 response from StableDiffusion API for txt2img/img2img HOT 3
- 纯小白请教,不用介绍的两种服务器怎么进行部署
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-photoshop-stablediffusion-plugin.