Value "Traceback (most recent call last):
File "/opt/zabbix/mapas_wheatermap_zabbix/weathermap.py", line 121, in
main()
File "/opt/zabbix/mapas_wheatermap_zabbix/weathermap.py", line 118, in main
WeathermapCLI()
File "/opt/zabbix/mapas_wheatermap_zabbix/weathermap.py", line 53, in init
self._map_img()
File "/opt/zabbix/mapas_wheatermap_zabbix/weathermap.py", line 94, in _map_img
cfg = ConfigLoader(self.cfg_path + '/' + map_fn)
File "/opt/zabbix/mapas_wheatermap_zabbix/config.py", line 52, in init
self.load(path_cfg)
File "/opt/zabbix/mapas_wheatermap_zabbix/config.py", line 61, in load
self.check()
File "/opt/zabbix/mapas_wheatermap_zabbix/config.py", line 69, in check
for node in sorted([node for node in self.cfg_dict.keys() if cfg_sect in node]):
AttributeError: 'NoneType' object has no attribute 'keys'
0.221" of type "string" is not suitable for value type "Numeric (float)"
Maxim,
Can you tell me the cause of the error below?
Value "Traceback (most recent call last): File "/opt/zabbix/mapas_wheatermap_zabbix/weathermap.py", line 121, in
main()
File "/opt/zabbix/mapas_wheatermap_zabbix/weathermap.py", line 118, in main
WeathermapCLI()
File "/opt/zabbix/mapas_wheatermap_zabbix/weathermap.py", line 53, in init
self._map_img()
File "/opt/zabbix/mapas_wheatermap_zabbix/weathermap.py", line 94, in _map_img
cfg = ConfigLoader(self.cfg_path + '/' + map_fn)
File "/opt/zabbix/mapas_wheatermap_zabbix/config.py", line 52, in init
self.load(path_cfg)
File "/opt/zabbix/mapas_wheatermap_zabbix/config.py", line 61, in load
self.check()
File "/opt/zabbix/mapas_wheatermap_zabbix/config.py", line 69, in check
for node in sorted([node for node in self.cfg_dict.keys() if cfg_sect in node]):
AttributeError: 'NoneType' object has no attribute 'keys'
0.221" of type "string" is not suitable for value type "Numeric (float)"
Thanks