find_saturations plugin failing due to typo in channel_name variable
Essentially, find_saturations
fails when trying to grab a channel name because the variable buffer.channel.name
doesn't exist`. I'm assuming it should be buffer.channel_name or something similar.
Here is the full traceback:
[patrick.godwin@ldas-pcdev5 public_html]$ python -m locklost search 1222125100 1222125360
2018-10-02 12:33:49,860 event found: 1222125271
2018-10-02 12:33:49,870 wrote event: /home/patrick.godwin/public_html/locklost/all/1222125271
2018-10-02 12:33:49,876 1 events found
2018-10-02 12:33:49,876 compressing segdir: /home/patrick.godwin/public_html/locklost/all/.segments
[patrick.godwin@ldas-pcdev5 public_html]$ python -m locklost analyze 1222125271
2018-10-02 12:34:03,982 executing followup: refine_event(1222125271)
2018-10-02 12:34:05,845 locked mean/stddev: 43877.753125/186.555435761
2018-10-02 12:34:05,846 threshold: 109694.382812
2018-10-02 12:34:05,848 refined time: 1222125269.37
2018-10-02 12:34:05,852 plotting indicators...
2018-10-02 12:34:06,146 executing followup: find_lpy(1222125271)
2018-10-02 12:34:10,013 executing followup: find_saturations(1222125271)
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/locklost/analyze.py", line 29, in analyze_event
func(event)
File "build/bdist.linux-x86_64/egg/locklost/plugins/saturations.py", line 51, in find_saturations
channel_name = str(buffer.channel.name)
AttributeError: 'str' object has no attribute 'name'
2018-10-02 12:34:27,198 INCOMPLETE ANALYSIS