2018-09-30 23:09:11.767474 +++> Looking for: hios_ena
2018-09-30 23:09:11.767616 +++> SENT
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "./overwatcher.py", line 346, in thread_StateWatcher
for marker in self.statewatcher_markers:
AttributeError: 'Overwatcher' object has no attribute 'statewatcher_markers'
`
Fixed. Issue was the thread was started before initing the variable. Not sure how it worked unitl now, maybe it was a bit slower until the read socket was opened and it started to advance the states.
sometimes, when starting the test, I see:
`<~/workspace/GIT_REPOs/overwatcher>[master][LAST:2018-09-30 23:07:28][ST:0]$ ./overwatcher.py --port 3001 ContinousClear.yaml 2018-09-30 23:09:11.767326 +++> \/ \/ \/ \/ STARTED CONFIG!\/ \/ \/ \/
2018-09-30 23:09:11.767474 +++> Looking for: hios_ena 2018-09-30 23:09:11.767616 +++> SENT
Exception in thread Thread-4: Traceback (most recent call last): File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/lib/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "./overwatcher.py", line 346, in thread_StateWatcher for marker in self.statewatcher_markers: AttributeError: 'Overwatcher' object has no attribute 'statewatcher_markers' `