nuthx / bangumi-renamer

一键重命名罗马拼音的动画文件夹 —— 自动识别番剧,自定义命名规则
GNU General Public License v3.0
124 stars 4 forks source link

错误识别后无法再正常打开应用程序 #16

Closed 99Mr-Z closed 4 months ago

99Mr-Z commented 7 months ago

Traceback (most recent call last): File "main.py", line 15, in File "src\core.py", line 33, in init File "src\module\config.py", line 98, in oldConfigCheck File "src\module\config.py", line 125, in readConfig File "configparser.py", line 699, in read File "configparser.py", line 1022, in _read UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 81: illegal multibyte sequence

image

nuthx commented 7 months ago

打开配置文件目录 C:\Users\outmo\AppData\Roaming\BangumiRenamer,删除 config.ini 再重启软件 顺便贴一下 config.ini 的内容,我康康是咋回事

99Mr-Z commented 7 months ago

[Application] version = 2.0

[Format] rename_format = {cn_name} {release}——{jp_name} date_format = YYYY

[Bangumi] user_id =

[Counter] open_times = 3 analysis_times = 13 rename_times = 0

打开配置文件目录 C:\Users\outmo\AppData\Roaming\BangumiRenamer,删除 config.ini 再重启软件 顺便贴一下 config.ini 的内容,我康康是咋回事