Error

Viewing 2 reply threads
  • Author
    Posts
    • #7935
      AvatarDom Geldart
      Participant

        Hi I have been using the notebook you provided for a while now and it is amazing I love it. But today I went to use it and received an error. I believe an update to gradio or httpx/httpcore is to blame do you know how I can fix this to get it working again?

        Here is the error,

        Apply lowram patch /content/stable-diffusion-webui WEBUI ARGUMENTS: –gradio-img2img-tool color-sketch –enable-insecure-extension-access –gradio-queue –ngrok 2WMrZS0uxWGLwUIgFS8rWCz8jVh_62xVb8xa2X7yTjo5YfFr3 –gradio-auth a:a –disable-model-loading-ram-optimization –opt-sdp-no-mem-attention Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] Version: v1.6.0 Commit hash: 5ef669de080814067961f28357256e8fe27544f4 Traceback (most recent call last): File “/content/stable-diffusion-webui/modules/launch_utils.py”, line 231, in run_extension_installer stdout = run(f'”{python}” “{path_installer}”‘, errdesc=f”Error running install.py for extension {extension_dir}”, custom_env=env).strip() File “/content/stable-diffusion-webui/modules/launch_utils.py”, line 115, in run raise RuntimeError(“\n”.join(error_bits)) RuntimeError: Error running install.py for extension /content/stable-diffusion-webui/extensions/openOutpaint-webUI-extension. Command: “/usr/bin/python3” “/content/stable-diffusion-webui/extensions/openOutpaint-webUI-extension/install.py” Error code: 1 stderr: Traceback (most recent call last): File “/content/stable-diffusion-webui/extensions/openOutpaint-webUI-extension/install.py”, line 3, in <module> from modules import scripts File “/content/stable-diffusion-webui/modules/scripts.py”, line 8, in <module> import gradio as gr File “/usr/local/lib/python3.10/dist-packages/gradio/init.py”, line 3, in <module> import gradio.components as components File “/usr/local/lib/python3.10/dist-packages/gradio/components/init.py”, line 1, in <module> from gradio.components.annotated_image import AnnotatedImage File “/usr/local/lib/python3.10/dist-packages/gradio/components/annotated_image.py”, line 12, in <module> from gradio import utils File “/usr/local/lib/python3.10/dist-packages/gradio/utils.py”, line 353, in <module> class AsyncRequest: File “/usr/local/lib/python3.10/dist-packages/gradio/utils.py”, line 372, in AsyncRequest client = httpx.AsyncClient() File “/usr/local/lib/python3.10/dist-packages/httpx/_client.py”, line 1397, in init self._transport = self._init_transport( File “/usr/local/lib/python3.10/dist-packages/httpx/_client.py”, line 1445, in _init_transport return AsyncHTTPTransport( File “/usr/local/lib/python3.10/dist-packages/httpx/_transports/default.py”, line 275, in init self._pool = httpcore.AsyncConnectionPool( TypeError: AsyncConnectionPool.init() got an unexpected keyword argument ‘socket_options’ During handling of the above exception, another exception occurred: Traceback (most recent call last): File “/content//stable-diffusion-webui/launch.py”, line 48, in <module> main() File “/content//stable-diffusion-webui/launch.py”, line 39, in main prepare_environment() File “/content/stable-diffusion-webui/modules/launch_utils.py”, line 400, in prepare_environment run_extensions_installers(settings_file=args.ui_settings_file) File “/content/stable-diffusion-webui/modules/launch_utils.py”, line 268, in run_extensions_installers run_extension_installer(path) File “/content/stable-diffusion-webui/modules/launch_utils.py”, line 235, in run_extension_installer errors.report(str(e)) File “/content/stable-diffusion-webui/modules/errors.py”, line 29, in report record_exception() File “/content/stable-diffusion-webui/modules/errors.py”, line 17, in record_exception from modules import sysinfo File “/content/stable-diffusion-webui/modules/sysinfo.py”, line 13, in <module> from modules import paths_internal, timer, shared, extensions, errors File “/content/stable-diffusion-webui/modules/shared.py”, line 3, in <module> import gradio as gr File “/usr/local/lib/python3.10/dist-packages/gradio/init.py”, line 3, in <module> import gradio.components as components File “/usr/local/lib/python3.10/dist-packages/gradio/components/init.py”, line 1, in <module> from gradio.components.annotated_image import AnnotatedImage File “/usr/local/lib/python3.10/dist-packages/gradio/components/annotated_image.py”, line 12, in <module> from gradio import utils File “/usr/local/lib/python3.10/dist-packages/gradio/utils.py”, line 353, in <module> class AsyncRequest: File “/usr/local/lib/python3.10/dist-packages/gradio/utils.py”, line 372, in AsyncRequest client = httpx.AsyncClient() File “/usr/local/lib/python3.10/dist-packages/httpx/_client.py”, line 1397, in init self._transport = self._init_transport( File “/usr/local/lib/python3.10/dist-packages/httpx/_client.py”, line 1445, in _init_transport return AsyncHTTPTransport( File “/usr/local/lib/python3.10/dist-packages/httpx/_transports/default.py”, line 275, in init self._pool = httpcore.AsyncConnectionPool( TypeError: AsyncConnectionPool.init() got an unexpected keyword argument ‘socket_options’

        Any advice is greatly appreciated,
        Thank you

      • #7945
        AvatarAndrew
        Keymaster

          Thanks for reporting! The notebook is fixed.

        • #7946
          AvatarDom Geldart
          Participant

            Sweet! Thank you Andrew!

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.