cycz / jdBuyMask

祝大家抗疫成功
1.88k stars 610 forks source link

v2运行出错 #43

Closed xinxijishuwyq closed 4 years ago

xinxijishuwyq commented 4 years ago

python3 jdBuyMask_V2.py
Traceback (most recent call last): File "/usr/lib/python3.7/configparser.py", line 788, in get value = d[option] File "/usr/lib/python3.7/collections/init.py", line 916, in getitem return self.missing(key) # support subclasses that define missing File "/usr/lib/python3.7/collections/init.py", line 908, in missing raise KeyError(key) KeyError: 'messagetype'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "jdBuyMask_V2.py", line 28, in messageType = global_config.getRaw('config', 'messageType') File "/root/jdBuyMask/config.py", line 20, in getRaw return self._configRaw.get(section, name) File "/usr/lib/python3.7/configparser.py", line 791, in get raise NoOptionError(option, section) configparser.NoOptionError: No option 'messagetype' in section: 'config'

cycz commented 4 years ago

python3 jdBuyMask_V2.py Traceback (most recent call last): File "/usr/lib/python3.7/configparser.py", line 788, in get value = d[option] File "/usr/lib/python3.7/collections/init.py", line 916, in getitem return self.missing(key) # support subclasses that define missing File "/usr/lib/python3.7/collections/init.py", line 908, in missing raise KeyError(key) KeyError: 'messagetype'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "jdBuyMask_V2.py", line 28, in messageType = global_config.getRaw('config', 'messageType') File "/root/jdBuyMask/config.py", line 20, in getRaw return self._configRaw.get(section, name) File "/usr/lib/python3.7/configparser.py", line 791, in get raise NoOptionError(option, section) configparser.NoOptionError: No option 'messagetype' in section: 'config' 你配置文件用新的试下,之前写错单词了。

xinxijishuwyq commented 4 years ago

python3 jdBuyMask_V2.py Traceback (most recent call last): File "/usr/lib/python3.7/configparser.py", line 788, in get value = d[option] File "/usr/lib/python3.7/collections/init.py", line 916, in getitem return self.missing(key) # support subclasses that define missing File "/usr/lib/python3.7/collections/init.py", line 908, in missing raise KeyError(key) KeyError: 'messagetype' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "jdBuyMask_V2.py", line 28, in messageType = global_config.getRaw('config', 'messageType') File "/root/jdBuyMask/config.py", line 20, in getRaw return self._configRaw.get(section, name) File "/usr/lib/python3.7/configparser.py", line 791, in get raise NoOptionError(option, section) configparser.NoOptionError: No option 'messagetype' in section: 'config' 你配置文件用新的试下,之前写错单词了。

好了,谢谢