Sensitivity Analyzer uses non-existent self.log
Closed this issue · 1 comments
nritsche commented
In line 455
May 30 10:13:16 marimba dias[20370]: [2019-05-30 17:13:16,298] dias[sensitivity]: Start-up.
May 30 10:13:16 marimba dias[20370]: [2019-05-30 17:13:16,299] dias[thermaldata]: Start-up.
May 30 10:13:16 marimba dias[20370]: [2019-05-30 17:13:16,649] dias[sensitivity]: Task failed: 'SensitivityAnalyzer' object has no attribute 'log'
May 30 10:13:16 marimba dias[20370]: [2019-05-30 17:13:16,769] dias[sensitivity]: Traceback (most recent call last):
May 30 10:13:16 marimba dias[20370]: File "/usr/local/lib/python3.5/dist-packages/dias/task.py", line 211, in runner
May 30 10:13:16 marimba dias[20370]: result = self.analyzer.run()
May 30 10:13:16 marimba dias[20370]: File "/usr/local/lib/python3.5/dist-packages/dias/analyzers/sensitivity_analyzer.py", line 160, in run
May 30 10:13:16 marimba dias[20370]: self.refresh_data_index()
May 30 10:13:16 marimba dias[20370]: File "/usr/local/lib/python3.5/dist-packages/dias/analyzers/sensitivity_analyzer.py", line 455, in refresh_dat
May 30 10:13:16 marimba dias[20370]: self.log.info("Removed %s from data index database." %
May 30 10:13:16 marimba dias[20370]: AttributeError: 'SensitivityAnalyzer' object has no attribute 'log'
May 30 10:13:33 marimba dias[20370]: [2019-05-30 17:13:33,394] dias[thermaldata]: Shut-down; result: None
May 30 10:13:33 marimba dias[20370]: [2019-05-30 17:13:33,394] dias[thermaldata]: Cleaning up /mnt/gong/dias/data/thermaldata: data size maximum: 0.0
May 30 10:13:33 marimba dias[20370]: [2019-05-30 17:13:33,396] dias[thermaldata]: Cleaning up /mnt/gong/dias/state/thermaldata: data size maximum: 0.
lines 4308-4348/4348 (END)
Should probably be self.logger
.