#uvr5 ui error when running

1 messages · Page 1 of 1 (latest)

regal ridge
#

Traceback (most recent call last):
File "C:\Users\mason\Desktop\UVR5-UI-1.6.1\app.py", line 600, in <module>
with Translate("assets/languages/translation.yaml", placeholder_langs = ["en", "es", "it", "pt", "ms", "id", "ru", "uk", "th", "zh", "ja", "ko", "tr", "hi"]) as lang:
File "C:\Users\mason\Desktop\UVR5-UI-1.6.1\env\lib\contextlib.py", line 142, in exit
next(self.gen)
File "C:\Users\mason\Desktop\UVR5-UI-1.6.1\env\lib\site-packages\gradio_i18n\i18n.py", line 384, in Translate
translation_dict = yaml.safe_load(f)
File "C:\Users\mason\Desktop\UVR5-UI-1.6.1\env\lib\site-packages\yaml\init.py", line 125, in safe_load
return load(stream, SafeLoader)
File "C:\Users\mason\Desktop\UVR5-UI-1.6.1\env\lib\site-packages\yaml\init.py", line 79, in load
loader = Loader(stream)
File "C:\Users\mason\Desktop\UVR5-UI-1.6.1\env\lib\site-packages\yaml\loader.py", line 34, in init
Reader.init(self, stream)
File "C:\Users\mason\Desktop\UVR5-UI-1.6.1\env\lib\site-packages\yaml\reader.py", line 85, in init
self.determine_encoding()
File "C:\Users\mason\Desktop\UVR5-UI-1.6.1\env\lib\site-packages\yaml\reader.py", line 124, in determine_encoding
self.update_raw()
File "C:\Users\mason\Desktop\UVR5-UI-1.6.1\env\lib\site-packages\yaml\reader.py", line 178, in update_raw
data = self.stream.read(size)
File "C:\Users\mason\Desktop\UVR5-UI-1.6.1\env\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 4686: invalid continuation byte
Press any key to continue . . .
can you help

#

@dusk rock

dusk rock
regal ridge
#

yeah of course!

dusk rock
regal ridge
#

yes i have

dusk rock
#

Interesting

#

Let's try this then:
In UVR5-UI\env\Lib\site-packages\gradio_i18n\i18n.py (line 380) add errors="replace" Like this:
with open(translation, "r", encoding="utf-8", errors="replace") as f: # Force utf-8 encoding

#

The problem is the Turkish translation, Maybe I'll remove it because it's giving errors and I still don't know why.

dusk rock
regal ridge
#

workin on that rn

dusk rock
#

okke

regal ridge
#

Thank you!!!

dusk rock
dusk rock
regal ridge
# dusk rock Ur welcome!

(while im here, is there some sort of guide for which models to use when? and which ones are best?)

dusk rock
regal ridge
dusk rock
regal ridge