sd_civitai_extension
sd_civitai_extension copied to clipboard
Error message at startup
Getting the following error message sometimes when I start the Webui.
Exception in thread Thread-388 (load_previews):
Traceback (most recent call last):
File "C:\Users\davik\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Users\davik\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "C:\AI\automatic\extensions\sd_civitai_extension\scripts\previews.py", line 16, in load_previews
resources = civitai.load_resource_list()
File "C:\AI\automatic\extensions\sd_civitai_extension\civitai\lib.py", line 209, in load_resource_list
resources += get_resources_in_folder('TextualInversion', shared.cmd_opts.embeddings_dir, ['pt'])
File "C:\AI\automatic\extensions\sd_civitai_extension\civitai\lib.py", line 182, in get_resources_in_folder
hash = hashes.sha256(filename, f"{automatic_type}/{automatic_name}")
File "C:\AI\automatic\modules\hashes.py", line 61, in sha256
sha256_value = calculate_sha256(filename)
File "C:\AI\automatic\modules\hashes.py", line 36, in calculate_sha256
with progress.open(filename, 'rb', description=f'Calculating model hash: [cyan]{filename}', auto_refresh=True) as f:
File "C:\AI\automatic\venv\lib\site-packages\rich\progress.py", line 281, in __enter__
self.progress.start()
File "C:\AI\automatic\venv\lib\site-packages\rich\progress.py", line 1160, in start
self.live.start(refresh=True)
File "C:\AI\automatic\venv\lib\site-packages\rich\live.py", line 113, in start
self.console.set_live(self)
File "C:\AI\automatic\venv\lib\site-packages\rich\console.py", line 835, in set_live
raise errors.LiveError("Only one live display may be active at once")
rich.errors.LiveError: Only one live display may be active at once
Using the latest build of Vlad's stable diffusion on Windows 11. Python 3.10.10.