runew0lf / RuinedFooocus

Focus on prompting and generating
GNU General Public License v3.0
378 stars 22 forks source link

UnicodeDecodeError #179

Closed kksinsa closed 1 month ago

kksinsa commented 2 months ago

return next(iterator) File "F:\RuinedFooocus_win64_1-25-2\python_embeded\lib\site-packages\gradio\utils.py", line 649, in gen_wrapper yield from f(*args, **kwargs) File "F:\RuinedFooocus_win64_1-25-2\RuinedFooocus\webui.py", line 177, in generate_clicked yield update_clicked() File "F:\RuinedFooocus_win64_1-25-2\RuinedFooocus\webui.py", line 115, in update_clicked hint_text: gr.update(visible=True, value=modules.hints.get_hint()), File "F:\RuinedFooocus_win64_1-25-2\RuinedFooocus\modules\hints.py", line 11, in get_hint lines = open(hintfile).read().splitlines() UnicodeDecodeError: 'cp949' codec can't decode byte 0xcf in position 1021: illegal multibyte sequence

yownas commented 1 month ago

This should hopefully be fixed now be fixed now. https://github.com/runew0lf/RuinedFooocus/commit/d91ac5159a77f5637aa6ae39fd34b32f4024c124