-
Notifications
You must be signed in to change notification settings - Fork 314
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
Error with yaml wildcard parsing - invalid continuation byte #240
Comments
This has nothing to do with the webui version, but means a yaml wildcard file failed to load due to illegal characters. It shouldn't happen on a proper file since the file load already specifies the correct encoding, so that means the file is likely corrupted in some way. Actually the exact same character position, so it's probably the same offending file. The user there said it was the following file:
But when I downloaded it myself, it didn't happen for me, so maybe it was already fixed by the author at that time. |
…g the extension As mentioned in #240
I have added another safety catch that will prevent the rest of the extension from breaking if this happens, but this doesn't resolve the core issue with the file itself. There's nothing I can do about that from my side, so this file will be missing from wildcard completion if you don't fix or replace it. |
I noticed a mistake. It consisted in unnecessary files. |
Thanks! Its working! |
Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
*** Error loading script: tag_autocomplete_helper.py
Traceback (most recent call last):
File "C:\Program Files\Stable Diffusion\StableDiff\modules\scripts.py", line 382, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\Program Files\Stable Diffusion\StableDiff\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Program Files\Stable Diffusion\StableDiff\extensions\a1111-sd-webui-tagcomplete\scripts\tag_autocomplete_helper.py", line 335, in
write_temp_files()
File "C:\Program Files\Stable Diffusion\StableDiff\extensions\a1111-sd-webui-tagcomplete\scripts\tag_autocomplete_helper.py", line 307, in write_temp_files
get_yaml_wildcards()
File "C:\Program Files\Stable Diffusion\StableDiff\extensions\a1111-sd-webui-tagcomplete\scripts\tag_autocomplete_helper.py", line 91, in get_yaml_wildcards
data = yaml.safe_load(file)
File "C:\Program Files\Stable Diffusion\StableDiff\venv\lib\site-packages\yaml_init.py", line 125, in safe_load
return load(stream, SafeLoader)
File "C:\Program Files\Stable Diffusion\StableDiff\venv\lib\site-packages\yaml_init_.py", line 79, in load
loader = Loader(stream)
File "C:\Program Files\Stable Diffusion\StableDiff\venv\lib\site-packages\yaml\loader.py", line 34, in init
Reader.init(self, stream)
File "C:\Program Files\Stable Diffusion\StableDiff\venv\lib\site-packages\yaml\reader.py", line 85, in init
self.determine_encoding()
File "C:\Program Files\Stable Diffusion\StableDiff\venv\lib\site-packages\yaml\reader.py", line 124, in determine_encoding
self.update_raw()
File "C:\Program Files\Stable Diffusion\StableDiff\venv\lib\site-packages\yaml\reader.py", line 178, in update_raw
data = self.stream.read(size)
File "C:\Program Files\Stable Diffusion\StableDiff\python\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc7 in position 37: invalid continuation byte
The text was updated successfully, but these errors were encountered: