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

UnicodeDecodeError: 'gbk' codec can't decode byte 0xb2 in position 1972: illegal multibyte sequence #138

Open
jurimengs opened this issue Jun 20, 2024 · 1 comment

Comments

@jurimengs
Copy link

jurimengs commented Jun 20, 2024

python gradio_app_sdxl_specific_id_low_vram.py

Traceback (most recent call last):
File "D:\jurim\codes\github\story-diffusion\gradio_app_sdxl_specific_id_low_vram.py", line 4, in
import gradio as gr
File "D:\jurim\ProgramData\anaconda3\envs\storydiffusion\lib\site-packages\gradio_init_.py", line 3, in
import gradio.simple_templates
File "D:\jurim\ProgramData\anaconda3\envs\storydiffusion\lib\site-packages\gradio_simple_templates_init
.py", line 1, in
from .simpledropdown import SimpleDropdown
File "D:\jurim\ProgramData\anaconda3\envs\storydiffusion\lib\site-packages\gradio_simple_templates\simpledropdown.py", line 6, in
from gradio.components.base import FormComponent
File "D:\jurim\ProgramData\anaconda3\envs\storydiffusion\lib\site-packages\gradio\components_init_.py", line 40, in
from gradio.components.multimodal_textbox import MultimodalTextbox
File "D:\jurim\ProgramData\anaconda3\envs\storydiffusion\lib\site-packages\gradio\components\multimodal_textbox.py", line 28, in
class MultimodalTextbox(FormComponent):
File "D:\jurim\ProgramData\anaconda3\envs\storydiffusion\lib\site-packages\gradio\component_meta.py", line 198, in new
create_or_modify_pyi(component_class, name, events)
File "D:\jurim\ProgramData\anaconda3\envs\storydiffusion\lib\site-packages\gradio\component_meta.py", line 92, in create_or_modify_pyi
source_code = source_file.read_text()
File "D:\jurim\ProgramData\anaconda3\envs\storydiffusion\lib\pathlib.py", line 1135, in read_text
return f.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xb2 in position 1972: illegal multibyte sequence

@jurimengs jurimengs reopened this Jun 20, 2024
@jurimengs jurimengs changed the title CommandNotFoundException UnicodeDecodeError: 'gbk' codec can't decode byte 0xb2 in position 1972: illegal multibyte sequence Jun 20, 2024
@yuanhongyi
Copy link

I encountered the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants