-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set_options raise StableDiffusionClientError #42
Comments
Thanks for the bug report! I'm curious what version of oobabot you're running. The reason I ask is that from the specific error message, it seems to be referencing code that's probably several weeks old now. If that's the case would you be up for upgrading and seeing if the problem persists? It may will still happen, but it will be easier for me to help track it down if it's from more recent code. You might want to check out the release notes when upgrading: https://github.com/chrisrude/oobabot/tree/main/docs Let me know if you're still seeing it! |
I pulled the current version, now it connects but seems to error out on receiving the image: ←[33m2023-06-05 18:55:01,312←[0m DEBUG ←[36mStable Diffusion: Image request (nsfw: False): a dog in samurai armor←[0m |
What version is installed? I'm asking since the log above was not generated from a recent version... from the line numbers, it would have to have been from v0.1.6 or earlier. Versions that old had a bug where it would only wait 5 seconds for image generation before throwing this error, which is exactly what is happening in the logs you posted. This was later fixed in this commit. I'm fairly optimistic that upgrading will solve the problem you're seeing. |
Ahh man is there a good way to update the oobabot? I did a pull in a new location and launched it again from that location and looks like the 5 second limit is still there. I will try to update the SD file. Just confirmed that the http_client.py file has sock_read=None I think i found the one reference to 5 seconds that was still left. Thank you for all the help! it now looks like re-try is having issues :D but ill see if I can just re-install everything. |
Hey, I finally completed a SD Webui install on my server and everything works as intended for the web. But, for some reason the bot is having issues with API:
Traceback (most recent call last):
File "C:\TCHT\oobabooga_windows\installer_files\env\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\TCHT\oobabooga_windows\installer_files\env\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\TCHT\oobabooga_windows\installer_files\env\Scripts\oobabot.exe_main.py", line 7, in
File "C:\TCHT\oobabooga_windows\installer_files\env\lib\site-packages\oobabot\oobabot.py", line 87, in main
verify_client(
File "C:\TCHT\oobabooga_windows\installer_files\env\lib\site-packages\oobabot\oobabot.py", line 35, in verify_client
asyncio.run(try_setup(client))
File "C:\TCHT\oobabooga_windows\installer_files\env\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\TCHT\oobabooga_windows\installer_files\env\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "C:\TCHT\oobabooga_windows\installer_files\env\lib\site-packages\oobabot\oobabot.py", line 30, in try_setup
await client.setup()
File "C:\TCHT\oobabooga_windows\installer_files\env\lib\site-packages\oobabot\sd_client.py", line 273, in setup
await self.set_options()
File "C:\TCHT\oobabooga_windows\installer_files\env\lib\site-packages\oobabot\sd_client.py", line 135, in set_options
raise StableDiffusionClientError(response)
oobabot.sd_client.StableDiffusionClientError: <ClientResponse(http://192.168.100.85:7860/sdapi/v1/options) [500 Internal Server Error]>
<CIMultiDictProxy('Date': 'Mon, 05 Jun 2023 01:58:06 GMT', 'Server': 'uvicorn', 'Content-Length': '172', 'Content-Type': 'application/json')>
I checked the server side and I see this:
The text was updated successfully, but these errors were encountered: