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

exe打开报错后闪退 #23

Open
Malloc-001 opened this issue Feb 12, 2020 · 4 comments
Open

exe打开报错后闪退 #23

Malloc-001 opened this issue Feb 12, 2020 · 4 comments

Comments

@Malloc-001
Copy link

Traceback (most recent call last):
File "jd-automask_V2.py", line 16, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
File "message\message.py", line 5, in
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
File "config\config.py", line 23, in
File "config\config.py", line 12, in init
File "configparser.py", line 696, in read
File "configparser.py", line 1079, in _read
configparser.MissingSectionHeaderError: File contains no section headers.
file: 'E:\BaiduNetdiskDownload\jdmask_a1\config.ini', line: 1
'\ufeff[config]\n'
[16264] Failed to execute script jd-automask_V2

@fanxlxs
Copy link

fanxlxs commented Feb 13, 2020

我的也会闪退 但是我截不到错误代码

@kingmanyun
Copy link

config.ini编码格式导致。请使用字符编辑软件重新保存 config.ini文件,需要保存为UTF-8无BOM格式才可以

@fanxlxs
Copy link

fanxlxs commented Feb 14, 2020

可以了

@xiwuaya
Copy link

xiwuaya commented Feb 15, 2020

config.ini编码格式导致。请使用字符编辑软件重新保存 config.ini文件,需要保存为UTF-8无BOM格式才可以
感谢,已经可以了

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

4 participants