Skip to content
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

[Bug]: #13034

Open
1 task done
Nodam1 opened this issue Sep 3, 2023 · 4 comments
Open
1 task done

[Bug]: #13034

Nodam1 opened this issue Sep 3, 2023 · 4 comments
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@Nodam1
Copy link

Nodam1 commented Sep 3, 2023

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

The GUI is cramped into the middle of the web page and not spread on the whole page (v1.6.0)

image

Steps to reproduce the problem

Just opened it after updating to v1.6.0

What should have happened?

The GUI was supposed to spread on the whole web page

Sysinfo

sysinfo-2023-09-03-18-33.txt

What browsers do you use to access the UI ?

Microsoft Edge

Console logs

Creating update.bat file...
update.bat contents;
===========================================================================
@echo off
git config --global --add safe.directory "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui"
move ui-config.json ..\ui-config.json
move style.css ..\style.css
git reset --hard
git pull
move ..\ui-config.json ui-config.json
move ..\style.css style.css
===========================================================================

Executing update.bat file...

===========================================================================
Stable Diffusion Web UI
https://github.com/AUTOMATIC1111/stable-diffusion-webui
Executing command line;
"C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\update.bat"
===========================================================================

        1 file(s) moved.
        1 file(s) moved.
HEAD is now at 5ef669de Merge branch 'release_candidate'
Already up to date.
        1 file(s) moved.
        1 file(s) moved.

===========================================================================
Cancelled after 01s508ms
===========================================================================

update.bat finished
Creating start.bat file...
start.bat contents;
===========================================================================
@echo off
C:
cd "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\"
set PYTHONUNBUFFERED=TRUE
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS= --xformers --autolaunch 
python.exe -m pip install --upgrade pip

call webui.bat
===========================================================================

Executing start.bat file...

===========================================================================
Stable Diffusion Web UI
https://github.com/AUTOMATIC1111/stable-diffusion-webui
Executing command line;
"C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\start.bat"
===========================================================================

Requirement already satisfied: pip in c:\users\mikal\appdata\local\programs\python\python310\lib\site-packages (21.2.4)
Collecting pip
  Using cached pip-23.2.1-py3-none-any.whl (2.1 MB)
WARNING: Error parsing requirements for pip: [Errno 2] No such file or directory: 'c:\\users\\mikal\\appdata\\local\\programs\\python\\python310\\lib\\site-packages\\pip-21.2.4.dist-info\\METADATA'
Installing collected packages: pip
  Attempting uninstall: pip
    WARNING: No metadata found in c:\users\mikal\appdata\local\programs\python\python310\lib\site-packages
    Found existing installation: pip 21.2.4
ERROR: Cannot uninstall pip 21.2.4, RECORD file not found. You might be able to recover from this via: 'pip install --force-reinstall --no-deps pip==21.2.4'.

[notice] A new release of pip is available: 21.2.4 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
venv "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:50:30) [MSC v.1933 64 bit (AMD64)]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Installing requirements
Fetching updates for midas...
Checking out commit for midas with hash: 1645b7e...
[Discord Rich Presence]  Requirements already satisfied, skipping.
[Discord Rich Presence]  Only working on local instalation. And only w/ desktop Discord app.
If submitting an issue on github, please provide the full startup log for debugging purposes.

Initializing Dreambooth
Dreambooth revision: cf086c536b141fc522ff11f6cffc8b7b12da04b9
Successfully installed fastapi-0.94.1

[+] xformers version 0.0.20 installed.
[+] torch version 2.0.1+cu118 installed.
[+] torchvision version 0.15.2+cu118 installed.
[+] accelerate version 0.21.0 installed.
[+] diffusers version 0.19.3 installed.
[+] transformers version 4.30.2 installed.
[+] bitsandbytes version 0.35.4 installed.
Installing pyqt5 requirement for depthmap script
Installing requirements for TemporalKit extension
Launching Web UI with arguments: --xformers --autolaunch
*** Error loading script: var2gif.py
    Traceback (most recent call last):
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\scripts\var2gif.py", line 8, in <module>
        from modules.images import apply_filename_pattern, get_next_sequence_number
    ImportError: cannot import name 'apply_filename_pattern' from 'modules.images' (C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\images.py)

---
*** Error loading script: sd-TemporalKit-UI.py
    Traceback (most recent call last):
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\TemporalKit\scripts\sd-TemporalKit-UI.py", line 23, in <module>
        from modules.ui import create_toprow, create_sampler_and_steps_selection
    ImportError: cannot import name 'create_toprow' from 'modules.ui' (C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\ui.py)

---
2023-09-03 21:24:46,284 - ControlNet - �[0;32mINFO�[0m - ControlNet v1.1.313
ControlNet preprocessor location: C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads
2023-09-03 21:24:46,450 - ControlNet - �[0;32mINFO�[0m - ControlNet v1.1.313
Loading weights [82e4b910bd] from C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\models\Stable-diffusion\SNHVS_V1.75.ckpt
Creating model from config: C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\configs\v1-inference.yaml
Model loaded in 3.8s (load weights from disk: 0.8s, create model: 0.3s, apply weights to model: 0.6s, load textual inversion embeddings: 1.1s, calculate empty prompt: 0.9s).
*** Error loading script: instruct-pix2pix.py
    Traceback (most recent call last):
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\stable-diffusion-webui-instruct-pix2pix\scripts\instruct-pix2pix.py", line 25, in <module>
        from modules.ui import create_toprow, process_interrogate, interrogate, interrogate_deepbooru, apply_styles, update_token_counter
    ImportError: cannot import name 'create_toprow' from 'modules.ui' (C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\ui.py)

---
Applying attention optimization: xformers... done.
2560 1440
1390
[Discord Rich Presence]  Discord Rich Presence Extension, version 1.3.1
[Discord Rich Presence]  Bug reporting -> https://github.com/davehornik/sd-discord-rich_presence
*** Error executing callback ui_tabs_callback for C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-discord-rich_presence\scripts\main.py
    Traceback (most recent call last):
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\script_callbacks.py", line 166, in ui_tabs_callback
        res += c.callback() or []
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-discord-rich_presence\scripts\main.py", line 138, in on_ui_tabs
        discord_broadcast()
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-discord-rich_presence\scripts\main.py", line 25, in discord_broadcast
        broadcast.connect()
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\venv\lib\site-packages\pypresence\presence.py", line 43, in connect
        self.loop.run_until_complete(self.handshake())
      File "C:\Users\MikaL\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 649, in run_until_complete
        return future.result()
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\venv\lib\site-packages\pypresence\baseclient.py", line 116, in handshake
        self.sock_writer, _ = await asyncio.wait_for(self.loop.create_pipe_connection(lambda: reader_protocol, ipc_path), self.connection_timeout)
    AttributeError: '_WindowsSelectorEventLoop' object has no attribute 'create_pipe_connection'

---
CUDA SETUP: Loading binary C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\venv\lib\site-packages\bitsandbytes\libbitsandbytes_cudaall.dll...
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 61.2s (prepare environment: 39.3s, import torch: 5.0s, import gradio: 1.3s, setup paths: 1.0s, initialize shared: 0.3s, other imports: 1.1s, setup codeformer: 0.2s, load scripts: 10.5s, create ui: 1.7s, gradio launch: 0.6s).
Restarting UI...
Closing server running on port: 7860
*** Error loading script: var2gif.py
    Traceback (most recent call last):
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\scripts\var2gif.py", line 8, in <module>
        from modules.images import apply_filename_pattern, get_next_sequence_number
    ImportError: cannot import name 'apply_filename_pattern' from 'modules.images' (C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\images.py)

---
*** Error loading script: sd-TemporalKit-UI.py
    Traceback (most recent call last):
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\TemporalKit\scripts\sd-TemporalKit-UI.py", line 23, in <module>
        from modules.ui import create_toprow, create_sampler_and_steps_selection
    ImportError: cannot import name 'create_toprow' from 'modules.ui' (C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\ui.py)

---
2023-09-03 21:25:29,935 - ControlNet - �[0;32mINFO�[0m - ControlNet v1.1.313
*** Error loading script: instruct-pix2pix.py
    Traceback (most recent call last):
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\stable-diffusion-webui-instruct-pix2pix\scripts\instruct-pix2pix.py", line 25, in <module>
        from modules.ui import create_toprow, process_interrogate, interrogate, interrogate_deepbooru, apply_styles, update_token_counter
    ImportError: cannot import name 'create_toprow' from 'modules.ui' (C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\ui.py)

---
WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\--sd-webui-ar-plus\scripts\sd-webui-ar.py:448: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  arc_calc_height = gr.Button(value="Calculate Height").style(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\--sd-webui-ar-plus\scripts\sd-webui-ar.py:448: GradioDeprecationWarning: Use `scale` in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not.
  arc_calc_height = gr.Button(value="Calculate Height").style(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\--sd-webui-ar-plus\scripts\sd-webui-ar.py:456: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  arc_calc_width = gr.Button(value="Calculate Width").style(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\--sd-webui-ar-plus\scripts\sd-webui-ar.py:456: GradioDeprecationWarning: Use `scale` in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not.
  arc_calc_width = gr.Button(value="Calculate Width").style(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-webui-ar\scripts\sd-webui-ar.py:433: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  arc_calc_height = gr.Button(value="Calculate Height").style(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-webui-ar\scripts\sd-webui-ar.py:433: GradioDeprecationWarning: Use `scale` in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not.
  arc_calc_height = gr.Button(value="Calculate Height").style(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-webui-ar\scripts\sd-webui-ar.py:441: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  arc_calc_width = gr.Button(value="Calculate Width").style(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-webui-ar\scripts\sd-webui-ar.py:441: GradioDeprecationWarning: Use `scale` in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not.
  arc_calc_width = gr.Button(value="Calculate Width").style(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\stable-diffusion-webui-sonar\scripts\sonar.py:658: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  with gr.Row(variant='compact').style(equal_height=True):

2560 1440
1390
[Discord Rich Presence]  Discord Rich Presence Extension, version 1.3.1
[Discord Rich Presence]  Bug reporting -> https://github.com/davehornik/sd-discord-rich_presence
*** Error executing callback ui_tabs_callback for C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-discord-rich_presence\scripts\main.py
    Traceback (most recent call last):
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\script_callbacks.py", line 166, in ui_tabs_callback
        res += c.callback() or []
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-discord-rich_presence\scripts\main.py", line 138, in on_ui_tabs
        discord_broadcast()
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-discord-rich_presence\scripts\main.py", line 25, in discord_broadcast
        broadcast.connect()
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\venv\lib\site-packages\pypresence\presence.py", line 43, in connect
        self.loop.run_until_complete(self.handshake())
      File "C:\Users\MikaL\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 649, in run_until_complete
        return future.result()
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\venv\lib\site-packages\pypresence\baseclient.py", line 116, in handshake
        self.sock_writer, _ = await asyncio.wait_for(self.loop.create_pipe_connection(lambda: reader_protocol, ipc_path), self.connection_timeout)
    AttributeError: '_WindowsSelectorEventLoop' object has no attribute 'create_pipe_connection'

---
WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-webui-modelscope-text2video\scripts\text2vid.py:48: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  with gr.Row(elem_id='t2v-core').style(equal_height=False, variant='compact'):

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-webui-text2video\scripts\text2vid.py:48: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  with gr.Row(elem_id='t2v-core').style(equal_height=False, variant='compact'):

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py:257: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  with gr.Row().style(equal_height=False):

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py:1047: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  db_gallery = gr.Gallery(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py:1047: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  db_gallery = gr.Gallery(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\common_ui.py:263: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  with gr.Row().style(equal_height=False):

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\common_ui.py:301: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  result_images = gr.Gallery(label='Output', show_label=False,

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\common_ui.py:301: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  result_images = gr.Gallery(label='Output', show_label=False,

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\stable-diffusion-webui-promptgen\scripts\promptgen.py:160: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  prompt = gr.Textbox(label="Prompt", elem_id="promptgen_prompt", show_label=False, lines=2, placeholder="Beginning of the prompt (press Ctrl+Enter or Alt+Enter to generate)").style(container=False)

Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 3.1s (load scripts: 1.1s, create ui: 1.6s, gradio launch: 0.2s).
Restarting UI...
Closing server running on port: 7860
*** Error loading script: var2gif.py
    Traceback (most recent call last):
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\scripts\var2gif.py", line 8, in <module>
        from modules.images import apply_filename_pattern, get_next_sequence_number
    ImportError: cannot import name 'apply_filename_pattern' from 'modules.images' (C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\images.py)

---
*** Error loading script: sd-TemporalKit-UI.py
    Traceback (most recent call last):
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\TemporalKit\scripts\sd-TemporalKit-UI.py", line 23, in <module>
        from modules.ui import create_toprow, create_sampler_and_steps_selection
    ImportError: cannot import name 'create_toprow' from 'modules.ui' (C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\ui.py)

---
2023-09-03 21:26:42,483 - ControlNet - �[0;32mINFO�[0m - ControlNet v1.1.313
*** Error loading script: instruct-pix2pix.py
    Traceback (most recent call last):
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\stable-diffusion-webui-instruct-pix2pix\scripts\instruct-pix2pix.py", line 25, in <module>
        from modules.ui import create_toprow, process_interrogate, interrogate, interrogate_deepbooru, apply_styles, update_token_counter
    ImportError: cannot import name 'create_toprow' from 'modules.ui' (C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\ui.py)

---
WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\--sd-webui-ar-plus\scripts\sd-webui-ar.py:448: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  arc_calc_height = gr.Button(value="Calculate Height").style(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\--sd-webui-ar-plus\scripts\sd-webui-ar.py:448: GradioDeprecationWarning: Use `scale` in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not.
  arc_calc_height = gr.Button(value="Calculate Height").style(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\--sd-webui-ar-plus\scripts\sd-webui-ar.py:456: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  arc_calc_width = gr.Button(value="Calculate Width").style(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\--sd-webui-ar-plus\scripts\sd-webui-ar.py:456: GradioDeprecationWarning: Use `scale` in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not.
  arc_calc_width = gr.Button(value="Calculate Width").style(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-webui-ar\scripts\sd-webui-ar.py:433: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  arc_calc_height = gr.Button(value="Calculate Height").style(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-webui-ar\scripts\sd-webui-ar.py:433: GradioDeprecationWarning: Use `scale` in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not.
  arc_calc_height = gr.Button(value="Calculate Height").style(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-webui-ar\scripts\sd-webui-ar.py:441: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  arc_calc_width = gr.Button(value="Calculate Width").style(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-webui-ar\scripts\sd-webui-ar.py:441: GradioDeprecationWarning: Use `scale` in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not.
  arc_calc_width = gr.Button(value="Calculate Width").style(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\stable-diffusion-webui-sonar\scripts\sonar.py:658: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  with gr.Row(variant='compact').style(equal_height=True):

2560 1440
1390
[Discord Rich Presence]  Discord Rich Presence Extension, version 1.3.1
[Discord Rich Presence]  Bug reporting -> https://github.com/davehornik/sd-discord-rich_presence
*** Error executing callback ui_tabs_callback for C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-discord-rich_presence\scripts\main.py
    Traceback (most recent call last):
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\modules\script_callbacks.py", line 166, in ui_tabs_callback
        res += c.callback() or []
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-discord-rich_presence\scripts\main.py", line 138, in on_ui_tabs
        discord_broadcast()
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-discord-rich_presence\scripts\main.py", line 25, in discord_broadcast
        broadcast.connect()
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\venv\lib\site-packages\pypresence\presence.py", line 43, in connect
        self.loop.run_until_complete(self.handshake())
      File "C:\Users\MikaL\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 649, in run_until_complete
        return future.result()
      File "C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\venv\lib\site-packages\pypresence\baseclient.py", line 116, in handshake
        self.sock_writer, _ = await asyncio.wait_for(self.loop.create_pipe_connection(lambda: reader_protocol, ipc_path), self.connection_timeout)
    AttributeError: '_WindowsSelectorEventLoop' object has no attribute 'create_pipe_connection'

---
WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-webui-modelscope-text2video\scripts\text2vid.py:48: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  with gr.Row(elem_id='t2v-core').style(equal_height=False, variant='compact'):

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd-webui-text2video\scripts\text2vid.py:48: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  with gr.Row(elem_id='t2v-core').style(equal_height=False, variant='compact'):

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py:257: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  with gr.Row().style(equal_height=False):

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py:1047: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  db_gallery = gr.Gallery(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\sd_dreambooth_extension\scripts\main.py:1047: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  db_gallery = gr.Gallery(

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\common_ui.py:263: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  with gr.Row().style(equal_height=False):

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\common_ui.py:301: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  result_images = gr.Gallery(label='Output', show_label=False,

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\common_ui.py:301: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  result_images = gr.Gallery(label='Output', show_label=False,

WARNING:py.warnings:C:\Visions of Chaos\Machine learning\Text To Image\stable-diffusion-webui\extensions\stable-diffusion-webui-promptgen\scripts\promptgen.py:160: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  prompt = gr.Textbox(label="Prompt", elem_id="promptgen_prompt", show_label=False, lines=2, placeholder="Beginning of the prompt (press Ctrl+Enter or Alt+Enter to generate)").style(container=False)

Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 4.0s (load scripts: 1.1s, create ui: 2.0s, gradio launch: 0.7s).

  0% 0/43 [00:00<?, ?it/s]



  2% 1/43 [00:00<00:15,  2.65it/s]



  5% 2/43 [00:00<00:10,  3.93it/s]



  7% 3/43 [00:00<00:08,  4.68it/s]



  9% 4/43 [00:00<00:07,  5.11it/s]



 12% 5/43 [00:01<00:07,  5.43it/s]



 14% 6/43 [00:01<00:06,  5.59it/s]



 16% 7/43 [00:01<00:06,  5.73it/s]



 19% 8/43 [00:01<00:06,  5.83it/s]



 21% 9/43 [00:01<00:05,  5.89it/s]



 23% 10/43 [00:01<00:05,  5.95it/s]



 26% 11/43 [00:02<00:05,  5.98it/s]



 28% 12/43 [00:02<00:05,  5.95it/s]



 30% 13/43 [00:02<00:05,  5.95it/s]



 33% 14/43 [00:02<00:04,  5.90it/s]



 35% 15/43 [00:02<00:04,  5.90it/s]



 37% 16/43 [00:02<00:04,  5.90it/s]



 40% 17/43 [00:03<00:04,  5.89it/s]



 42% 18/43 [00:03<00:04,  5.90it/s]



 44% 19/43 [00:03<00:04,  5.87it/s]



 47% 20/43 [00:03<00:03,  5.87it/s]



 49% 21/43 [00:03<00:03,  5.88it/s]



 51% 22/43 [00:03<00:03,  5.89it/s]



 53% 23/43 [00:04<00:03,  5.87it/s]



 56% 24/43 [00:04<00:03,  5.89it/s]



 58% 25/43 [00:04<00:03,  5.87it/s]



 60% 26/43 [00:04<00:02,  5.87it/s]



 63% 27/43 [00:04<00:02,  5.86it/s]



 65% 28/43 [00:04<00:02,  5.87it/s]



 67% 29/43 [00:05<00:02,  5.86it/s]



 70% 30/43 [00:05<00:02,  5.86it/s]



 72% 31/43 [00:05<00:02,  5.83it/s]



 74% 32/43 [00:05<00:01,  5.85it/s]



 77% 33/43 [00:05<00:01,  5.86it/s]



 79% 34/43 [00:05<00:01,  5.87it/s]



 81% 35/43 [00:06<00:01,  5.88it/s]



 84% 36/43 [00:06<00:01,  5.88it/s]



 86% 37/43 [00:06<00:01,  5.85it/s]



 88% 38/43 [00:06<00:00,  5.85it/s]



 91% 39/43 [00:06<00:00,  5.86it/s]



 93% 40/43 [00:06<00:00,  5.85it/s]



 95% 41/43 [00:07<00:00,  5.84it/s]



 98% 42/43 [00:07<00:00,  5.83it/s]



100% 43/43 [00:07<00:00,  5.83it/s]



100% 43/43 [00:07<00:00,  5.74it/s]



  0% 0/43 [00:00<?, ?it/s]



  2% 1/43 [00:00<00:07,  5.68it/s]



  5% 2/43 [00:00<00:06,  5.88it/s]



  7% 3/43 [00:00<00:06,  5.96it/s]



  9% 4/43 [00:00<00:06,  5.94it/s]



 12% 5/43 [00:00<00:06,  5.92it/s]



 14% 6/43 [00:01<00:06,  5.89it/s]



 16% 7/43 [00:01<00:06,  5.85it/s]



 19% 8/43 [00:01<00:05,  5.87it/s]



 21% 9/43 [00:01<00:05,  5.87it/s]



 23% 10/43 [00:01<00:05,  5.89it/s]



 26% 11/43 [00:01<00:05,  5.89it/s]



 28% 12/43 [00:02<00:05,  5.93it/s]



 30% 13/43 [00:02<00:05,  5.91it/s]



 33% 14/43 [00:02<00:04,  5.94it/s]



 35% 15/43 [00:02<00:04,  5.95it/s]



 37% 16/43 [00:02<00:04,  5.97it/s]



 40% 17/43 [00:02<00:04,  5.99it/s]



 42% 18/43 [00:03<00:04,  5.99it/s]



 44% 19/43 [00:03<00:04,  6.00it/s]



 47% 20/43 [00:03<00:03,  5.99it/s]



 49% 21/43 [00:03<00:03,  5.98it/s]



 51% 22/43 [00:03<00:03,  6.00it/s]



 53% 23/43 [00:03<00:03,  6.03it/s]



 56% 24/43 [00:04<00:03,  6.03it/s]



 58% 25/43 [00:04<00:02,  6.05it/s]



 60% 26/43 [00:04<00:02,  6.04it/s]



 63% 27/43 [00:04<00:02,  6.04it/s]



 65% 28/43 [00:04<00:02,  6.03it/s]



 67% 29/43 [00:04<00:02,  6.04it/s]



 70% 30/43 [00:05<00:02,  6.00it/s]



 72% 31/43 [00:05<00:01,  6.01it/s]



 74% 32/43 [00:05<00:01,  6.02it/s]



 77% 33/43 [00:05<00:01,  5.96it/s]



 79% 34/43 [00:05<00:01,  5.95it/s]



 81% 35/43 [00:05<00:01,  5.94it/s]



 84% 36/43 [00:06<00:01,  5.94it/s]



 86% 37/43 [00:06<00:01,  5.97it/s]



 88% 38/43 [00:06<00:00,  5.95it/s]



 91% 39/43 [00:06<00:00,  5.97it/s]



 93% 40/43 [00:06<00:00,  5.99it/s]



 95% 41/43 [00:06<00:00,  6.02it/s]



 98% 42/43 [00:07<00:00,  5.94it/s]



100% 43/43 [00:07<00:00,  5.92it/s]



100% 43/43 [00:07<00:00,  5.96it/s]



  0% 0/43 [00:00<?, ?it/s]



  2% 1/43 [00:00<00:07,  5.43it/s]



  5% 2/43 [00:00<00:07,  5.58it/s]



  7% 3/43 [00:00<00:07,  5.67it/s]



  9% 4/43 [00:00<00:06,  5.69it/s]



 12% 5/43 [00:00<00:06,  5.70it/s]



 14% 6/43 [00:01<00:06,  5.73it/s]



 16% 7/43 [00:01<00:06,  5.65it/s]



 19% 8/43 [00:01<00:06,  5.67it/s]



 21% 9/43 [00:01<00:05,  5.70it/s]



 23% 10/43 [00:01<00:05,  5.67it/s]



 26% 11/43 [00:01<00:05,  5.69it/s]



 28% 12/43 [00:02<00:05,  5.71it/s]



 30% 13/43 [00:02<00:05,  5.50it/s]



 33% 14/43 [00:02<00:05,  5.31it/s]



 35% 15/43 [00:02<00:05,  5.31it/s]



 37% 16/43 [00:02<00:05,  5.40it/s]



 40% 17/43 [00:03<00:04,  5.49it/s]



 42% 18/43 [00:03<00:04,  5.58it/s]



 44% 19/43 [00:03<00:04,  5.62it/s]



 47% 20/43 [00:03<00:04,  5.64it/s]



 49% 21/43 [00:03<00:03,  5.67it/s]



 51% 22/43 [00:03<00:03,  5.70it/s]



 53% 23/43 [00:04<00:03,  5.66it/s]



 56% 24/43 [00:04<00:03,  5.62it/s]



 58% 25/43 [00:04<00:03,  5.59it/s]



 60% 26/43 [00:04<00:03,  5.63it/s]



 63% 27/43 [00:04<00:02,  5.65it/s]



 65% 28/43 [00:04<00:02,  5.68it/s]



 67% 29/43 [00:05<00:02,  5.70it/s]



 70% 30/43 [00:05<00:02,  5.70it/s]



 72% 31/43 [00:05<00:02,  5.72it/s]



 74% 32/43 [00:05<00:01,  5.73it/s]



 77% 33/43 [00:05<00:01,  5.71it/s]



 79% 34/43 [00:06<00:01,  5.69it/s]



 81% 35/43 [00:06<00:01,  5.72it/s]



 84% 36/43 [00:06<00:01,  5.72it/s]



 86% 37/43 [00:06<00:01,  5.74it/s]



 88% 38/43 [00:06<00:00,  5.77it/s]



 91% 39/43 [00:06<00:00,  5.75it/s]



 93% 40/43 [00:07<00:00,  5.76it/s]



 95% 41/43 [00:07<00:00,  5.76it/s]



 98% 42/43 [00:07<00:00,  5.79it/s]



100% 43/43 [00:07<00:00,  5.88it/s]



100% 43/43 [00:07<00:00,  5.66it/s]



  0% 0/43 [00:00<?, ?it/s]



  2% 1/43 [00:00<00:07,  5.46it/s]



  5% 2/43 [00:00<00:07,  5.55it/s]



  7% 3/43 [00:00<00:07,  5.60it/s]



  9% 4/43 [00:00<00:06,  5.60it/s]



 12% 5/43 [00:00<00:06,  5.57it/s]



 14% 6/43 [00:01<00:06,  5.63it/s]



 16% 7/43 [00:01<00:06,  5.60it/s]



 19% 8/43 [00:01<00:06,  5.65it/s]



 21% 9/43 [00:01<00:05,  5.69it/s]



 23% 10/43 [00:01<00:05,  5.71it/s]



 26% 11/43 [00:01<00:05,  5.76it/s]



 28% 12/43 [00:02<00:05,  5.78it/s]



 30% 13/43 [00:02<00:05,  5.79it/s]



 33% 14/43 [00:02<00:04,  5.81it/s]



 35% 15/43 [00:02<00:04,  5.80it/s]



 37% 16/43 [00:02<00:04,  5.84it/s]



 40% 17/43 [00:02<00:04,  5.73it/s]



 42% 18/43 [00:03<00:04,  5.66it/s]



 44% 19/43 [00:03<00:04,  5.73it/s]



 47% 20/43 [00:03<00:03,  5.81it/s]



 49% 21/43 [00:03<00:03,  5.88it/s]



 51% 22/43 [00:03<00:03,  5.94it/s]



 53% 23/43 [00:03<00:03,  5.96it/s]



 56% 24/43 [00:04<00:03,  5.97it/s]



 58% 25/43 [00:04<00:03,  5.98it/s]



 60% 26/43 [00:04<00:02,  6.01it/s]



 63% 27/43 [00:04<00:02,  6.04it/s]



 65% 28/43 [00:04<00:02,  6.05it/s]



 67% 29/43 [00:04<00:02,  6.02it/s]



 70% 30/43 [00:05<00:02,  6.00it/s]



 72% 31/43 [00:05<00:01,  6.01it/s]



 74% 32/43 [00:05<00:01,  6.00it/s]



 77% 33/43 [00:05<00:01,  6.01it/s]



 79% 34/43 [00:05<00:01,  6.02it/s]



 81% 35/43 [00:05<00:01,  6.07it/s]



 84% 36/43 [00:06<00:01,  6.05it/s]



 86% 37/43 [00:06<00:00,  6.05it/s]



 88% 38/43 [00:06<00:00,  6.05it/s]



 91% 39/43 [00:06<00:00,  6.07it/s]



 93% 40/43 [00:06<00:00,  6.06it/s]



 95% 41/43 [00:06<00:00,  6.07it/s]



 98% 42/43 [00:07<00:00,  6.15it/s]



100% 43/43 [00:07<00:00,  6.22it/s]



100% 43/43 [00:07<00:00,  5.90it/s]

Additional information

The GUI was normal before updating to v1.6.0

@Nodam1 Nodam1 added the bug-report Report of a bug, yet to be confirmed label Sep 3, 2023
@missionfloyd
Copy link
Collaborator

move ui-config.json ..\ui-config.json
move style.css ..\style.css
git reset --hard
git pull
move ..\ui-config.json ui-config.json
move ..\style.css style.css

The script you're using is copying the old style.css over the new one. Run git restore . to undo it.

@Nodam1
Copy link
Author

Nodam1 commented Sep 3, 2023

Is git restore . going to remove any models or loras or extentions?

@missionfloyd
Copy link
Collaborator

No.

@MackinationsAi
Copy link

MackinationsAi commented Sep 7, 2023

FIX: This error is do to a change made by one of the a1111 developer replacing the create_toprow to Toprow in the main modules/ui.py script. Seeing as the TemporalKit extension doesn't use either, it's safe to remove the unused Import.

Edit line 23 in the script sd-TemporalKit-UI.py - located inside of your a1111 directory extensions\TemporalKit\scripts\sd-TemporalKit-UI.py with the following to fix the error.

Org. line 23_ from modules.ui import create_toprow, create_sampler_and_steps_selection

replaced with

from modules.ui import  create_sampler_and_steps_selection

Save the file, & then restart a1111. Your TemporalKit tab will be restored & the error message will no longer appear in your console. Bing-bang-boom you're be back in the game!

Credit to - TemporalKit - Issues Comment #97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

3 participants