-
Notifications
You must be signed in to change notification settings - Fork 100
Description
Search before asking
- I had searched in the issues and found no similar issues.
Operating system information
Windows
Python version information
=3.11
What happened
File "F:\serviceProject\OpenDerisk.venv\Lib\site-packages\alembic\config.py", line 203, in file_config
compat.read_config_parser(file_config, [self.config_file_name])
File "F:\serviceProject\OpenDerisk.venv\Lib\site-packages\alembic\util\compat.py", line 71, in read_config_parser
return file_config.read(file_argument, encoding="locale")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\Python\Python311\Lib\configparser.py", line 712, in read
self._read(fp, filename)
File "G:\Python\Python311\Lib\configparser.py", line 1035, in _read
for lineno, line in enumerate(fp, start=1):
UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 120: illegal multibyte sequence
What you expected to happen
windows环境下工程成功启动
How to reproduce
执行服务启动命令后
uv run python packages/derisk-app/src/derisk_app/derisk_server.py --config configs/derisk-proxy-deepseek.toml
Additional context
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!