You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a Master Station (postive and/or negative seconds) the plugin crashes the program thread resulting in unresponsive stations.
The crashdump is:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/home/pi/SIP/sip.py", line 188, in timing_loop
report_running_program_change()
File "/home/pi/SIP/helpers.py", line 90, in report_running_program_change
running_program_change.send()
File "/home/pi/SIP/blinker/base.py", line 266, in send
return [(receiver, receiver(sender, **kwargs))
File "/home/pi/SIP/blinker/base.py", line 266, in <listcomp>
return [(receiver, receiver(sender, **kwargs))
File "/home/pi/SIP/plugins/sip_email.py", line 153, in email_start_stop
if gv.pd[p_idx]["name"]:
IndexError: list index out of range
That looks like a bug that has been there since program naming was added.
It was looking for a program name in the program data dictionary when run-once and manual mode don't have a data dictionary.
Fixed now.
Thanks Gerard for discovering this.
It works fine now. Both the Run-now and program tested. However the e-mail content has some cosmetic issues but I will do some more testing and create a new issue for it.
When using a Master Station (postive and/or negative seconds) the plugin crashes the program thread resulting in unresponsive stations.
The crashdump is:
sip_plugins/sip_email/sip_email.py
Line 153 in 916e291
Tested with a Master Station enabled and using Run Once on a single station
The text was updated successfully, but these errors were encountered: