ControlNet installation error

Viewing 2 reply threads
  • Author
    Posts
    • #9945
      AvatarAbdellah EL KARMY
      Participant

        Hello everyone,

        I have an installation problem with ControlNet Stable Diffusion on Windows 10. I am getting the following error.

        “*** Error completing request
        *** Arguments: (”, ‘https://github.com/Mikubill/sd-webui-controlnet’, ”) {}
        Traceback (most recent call last):
        File “C:\Users\admin\stable-diffusion-webui\modules\call_queue.py”, line 57, in f
        res = list(func(*args, **kwargs))
        File “C:\Users\admin\stable-diffusion-webui\modules\ui_extensions.py”, line 638, in <lambda>
        fn=modules.ui.wrap_gradio_call(lambda *args: [gr.update(), *install_extension_from_url(*args)], extra_outputs=[gr.update(), gr.update()]),
        File “C:\Users\admin\stable-diffusion-webui\modules\ui_extensions.py”, line 369, in install_extension_from_url
        for submodule in repo.submodules:
        File “C:\Users\admin\stable-diffusion-webui\venv\lib\site-packages\git\repo\base.py”, line 422, in submodules
        return Submodule.list_items(self)
        File “C:\Users\admin\stable-diffusion-webui\venv\lib\site-packages\git\util.py”, line 1189, in list_items
        out_list.extend(cls.iter_items(repo, *args, **kwargs))
        File “C:\Users\admin\stable-diffusion-webui\venv\lib\site-packages\git\objects\submodule\base.py”, line 1373, in iter_items
        pc = repo.commit(parent_commit) # parent commit instance
        File “C:\Users\admin\stable-diffusion-webui\venv\lib\site-packages\git\repo\base.py”, line 614, in commit
        return self.rev_parse(str(rev) + “^0”)
        File “C:\Users\admin\stable-diffusion-webui\venv\lib\site-packages\git\repo\fun.py”, line 250, in rev_parse
        obj = cast(Commit_ish, name_to_object(repo, rev[:start]))
        File “C:\Users\admin\stable-diffusion-webui\venv\lib\site-packages\git\repo\fun.py”, line 187, in name_to_object
        return Object.new_from_sha(repo, hex_to_bin(hexsha))
        File “C:\Users\admin\stable-diffusion-webui\venv\lib\site-packages\git\objects\base.py”, line 95, in new_from_sha
        inst = get_object_type_by_name(oinfo.type)(repo, oinfo.binsha)
        File “C:\Users\admin\stable-diffusion-webui\venv\lib\site-packages\git\objects\commit.py”, line 146, in __init__
        super(Commit, self).__init__(repo, binsha)
        File “C:\Users\admin\stable-diffusion-webui\venv\lib\site-packages\git\objects\base.py”, line 63, in __init__
        super(Object, self).__init__()
        File “C:\Users\admin\AppData\Local\Programs\Python\Python310\lib\typing.py”, line 1422, in _no_init_or_replace_init
        cls.__init__(self, *args, **kwargs)
        TypeError: Commit.__init__() missing 2 required positional arguments: ‘repo’ and ‘binsha’

        Thank you for your help.

      • #9946
        AvatarAndrew
        Keymaster

          You can try updating A1111 itself, delete the venv folder and restart.

        • #9978
          AvatarAbdellah EL KARMY
          Participant

            Hello Andrew,

            Thank you for your response. I have manually installed the extension, and I will test your solution later.

            Best regards,

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