加入高德路况插件后,会报错无法运行
2018-11-24 15:05:28,148 dingdang.py[line:136] ERROR: Error occured!
Traceback (most recent call last):
File "dingdang.py", line 134, in
app = Dingdang()
File "dingdang.py", line 61, in init
stt_engine_class.get_active_instance())
File "/home/pi/dingdang/client/stt.py", line 70, in get_active_instance
phrases = vocabcompiler.get_all_phrases()
File "/home/pi/dingdang/client/vocabcompiler.py", line 522, in get_all_phrases
plugins = plugin_loader.get_plugins()
File "/home/pi/dingdang/client/plugin_loader.py", line 102, in get_plugins
init_plugins()
File "/home/pi/dingdang/client/plugin_loader.py", line 65, in init_plugins
if config.has(mod.SLUG) and 'enable' in config.get(mod.SLUG):
TypeError: argument of type 'NoneType' is not iterable
加入高德路况插件后,会报错无法运行 2018-11-24 15:05:28,148 dingdang.py[line:136] ERROR: Error occured! Traceback (most recent call last): File "dingdang.py", line 134, in
app = Dingdang()
File "dingdang.py", line 61, in init
stt_engine_class.get_active_instance())
File "/home/pi/dingdang/client/stt.py", line 70, in get_active_instance
phrases = vocabcompiler.get_all_phrases()
File "/home/pi/dingdang/client/vocabcompiler.py", line 522, in get_all_phrases
plugins = plugin_loader.get_plugins()
File "/home/pi/dingdang/client/plugin_loader.py", line 102, in get_plugins
init_plugins()
File "/home/pi/dingdang/client/plugin_loader.py", line 65, in init_plugins
if config.has(mod.SLUG) and 'enable' in config.get(mod.SLUG):
TypeError: argument of type 'NoneType' is not iterable