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

Eid 报错的问题怎么解决啊? #20

Open
lr-zhao opened this issue Feb 12, 2020 · 1 comment
Open

Eid 报错的问题怎么解决啊? #20

lr-zhao opened this issue Feb 12, 2020 · 1 comment

Comments

@lr-zhao
Copy link

lr-zhao commented Feb 12, 2020

2020-02-12 11:18:11,468 INFO: [106]个需要检测的商品
Traceback (most recent call last):
File "D:\path\python3.7\lib\configparser.py", line 788, in get
value = d[option]
File "D:\path\python3.7\lib\collections_init_.py", line 914, in getitem
return self.missing(key) # support subclasses that define missing
File "D:\path\python3.7\lib\collections_init_.py", line 906, in missing
raise KeyError(key)
KeyError: 'eid'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:/Users/lrz/Downloads/jd-automask-master/jd-automask-master/jd-automask_V1.py", line 71, in
eid = global_config.getRaw('config', 'eid')
File "C:\Users\lrz\Downloads\jd-automask-master\jd-automask-master\config\config.py", line 20, in getRaw
return self._configRaw.get(section, name)
File "D:\path\python3.7\lib\configparser.py", line 791, in get
简洁模式已开启
raise NoOptionError(option, section)
configparser.NoOptionError: No option 'eid' in section: 'config'
19_1690_1693_39745

Process finished with exit code 1

@1229984599
Copy link

config.ini里面定义eid和fp为空就可以了,作者已经把这两个字段给注释掉了,但是在读取配置的时候忘了删了

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