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

fbs freeze got error: UnicodeDecodeError: 'gbk' codec can't decode byte 0xa8 in position 328: illegal multibyte sequence #62

Open
shanxu9198 opened this issue Feb 6, 2023 · 0 comments

Comments

@shanxu9198
Copy link

Traceback (most recent call last):
File "D:\Program Files\Python\Python39\lib\runpy.py", line 197, in run_module_as_main
return run_code(code, main_globals, None,
File "D:\Program Files\Python\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "D:\project\DZDX\dzdx.git\release\venv\Scripts\fbs.exe_main
.py", line 7, in
File "d:\project\dzdx\dzdx.git\release\venv\lib\site-packages\fbs_main
.py", line 17, in main
fbs.cmdline.main()
File "d:\project\dzdx\dzdx.git\release\venv\lib\site-packages\fbs\cmdline.py", line 28, in main
fn(*args)
File "d:\project\dzdx\dzdx.git\release\venv\lib\site-packages\fbs\builtin_commands_init
.py", line 107, in freeze
unpack(main_py, data_dir, path('${freeze_dir}'))
File "d:\project\dzdx\dzdx.git\release\venv\lib\site-packages\fbs_tutorial_shim_init
.py", line 63, in unpack
main_py_hash = get_py_file_hash(main_py)
File "d:\project\dzdx\dzdx.git\release\venv\lib\site-packages\fbs_tutorial_shim_init_.py", line 74, in get_py_file_hash
contents_no_newlines = ''.join(line.strip() for line in f)
File "d:\project\dzdx\dzdx.git\release\venv\lib\site-packages\fbs_tutorial_shim_init_.py", line 74, in
contents_no_newlines = ''.join(line.strip() for line in f)
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa8 in position 328: illegal multibyte sequence

I don't know why?

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

1 participant