Open JeffFaer opened 1 year ago
Although even then it fails to exit gracefully:
^C[2023-05-24 23:48:39] Shutdown detected, killing process.
Traceback (most recent call last):
File "/usr/bin/rtlamr2mqtt.py", line 415, in <module>
listen_mode()
File "/usr/bin/rtlamr2mqtt.py", line 392, in listen_mode
for amrline in rtlamr.stdout:
File "/usr/local/lib/python3.10/codecs.py", line 319, in decode
def decode(self, input, final=False):
File "/usr/bin/rtlamr2mqtt.py", line 152, in shutdown
if not external_rtl_tcp and rtltcp.returncode is None:
NameError: name 'external_rtl_tcp' is not defined
Here's what I found in /usr/bin/rtlamr2mqtt.py: https://gist.github.com/JeffreyFalgout/313e33ee11f543b5b39f242eadb2ca76
which doesn't seem to match what's currently in the repo
Looks like the
latest
image was last updated 7 months ago. Specifyingallangood/rtlamr2mqtt:2.3.3
lets it work