🚩 Report: Not working

#22
by emirvmendoza - opened

"runtime error
Traceback (most recent call last):
File "/content/stable-diffusion-webui/webui.py", line 12, in
from modules.call_queue import wrap_queued_call, queue_lock, wrap_gradio_gpu_call
File "/content/stable-diffusion-webui/modules/call_queue.py", line 7, in
from modules import shared
File "/content/stable-diffusion-webui/modules/shared.py", line 9, in
import gradio as gr
File "/home/user/.local/lib/python3.10/site-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/home/user/.local/lib/python3.10/site-packages/gradio/components.py", line 31, in
from gradio import media_data, processing_utils, utils
File "/home/user/.local/lib/python3.10/site-packages/gradio/processing_utils.py", line 20, in
from gradio import encryptor, utils
File "/home/user/.local/lib/python3.10/site-packages/gradio/utils.py", line 398, in
class Request:
File "/home/user/.local/lib/python3.10/site-packages/gradio/utils.py", line 418, in Request
client = httpx.AsyncClient()
File "/home/user/.local/lib/python3.10/site-packages/httpx/_client.py", line 1397, in init
self._transport = self._init_transport(
File "/home/user/.local/lib/python3.10/site-packages/httpx/_client.py", line 1445, in _init_transport
return AsyncHTTPTransport(
File "/home/user/.local/lib/python3.10/site-packages/httpx/_transports/default.py", line 275, in init
self._pool = httpcore.AsyncConnectionPool(
TypeError: AsyncConnectionPool.init() got an unexpected keyword argument 'socket_options'

Container logs:

===== Application Startup at 2023-12-27 12:13:36 =====

Traceback (most recent call last):
File "/content/stable-diffusion-webui/webui.py", line 12, in
from modules.call_queue import wrap_queued_call, queue_lock, wrap_gradio_gpu_call
File "/content/stable-diffusion-webui/modules/call_queue.py", line 7, in
from modules import shared
File "/content/stable-diffusion-webui/modules/shared.py", line 9, in
import gradio as gr
File "/home/user/.local/lib/python3.10/site-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/home/user/.local/lib/python3.10/site-packages/gradio/components.py", line 31, in
from gradio import media_data, processing_utils, utils
File "/home/user/.local/lib/python3.10/site-packages/gradio/processing_utils.py", line 20, in
from gradio import encryptor, utils
File "/home/user/.local/lib/python3.10/site-packages/gradio/utils.py", line 398, in
class Request:
File "/home/user/.local/lib/python3.10/site-packages/gradio/utils.py", line 418, in Request
client = httpx.AsyncClient()
File "/home/user/.local/lib/python3.10/site-packages/httpx/_client.py", line 1397, in init
self._transport = self._init_transport(
File "/home/user/.local/lib/python3.10/site-packages/httpx/_client.py", line 1445, in _init_transport
return AsyncHTTPTransport(
File "/home/user/.local/lib/python3.10/site-packages/httpx/_transports/default.py", line 275, in init
self._pool = httpcore.AsyncConnectionPool(
TypeError: AsyncConnectionPool.init() got an unexpected keyword argument 'socket_options'"

checking into it

image.png

@emirvmendoza Sorry for the delay, this one was a very tough bug to fix, for anyone curious it needs

pip install httpx==0.24.1

Works now. Thank you.

emirvmendoza changed discussion status to closed

Sign up or log in to comment