Closed fdcastel closed 6 months ago
@yozik04 🙌
Only in dev for now. =)
Hehehe. I understand. Thanks anyway for the quick fix. 😄
I will wait for the next release.
P.s.: You guys rock! Thank you for the fantastic work!!!
It is quite tough with next release as branches have diverged too much and I do not like some parts in dev still to decide to merge it finally.
I guess this issue is still not fixed by c67ee36aa. I'm on dev
and I get:
TypeError: MQTTConnection._on_disconnect_cb() takes from 3 to 4 positional arguments but 5 were given
I think it was fixed a long time ago.
@yozik04 Sorry to be the bearer of bad news but I've been using 3.4.0 for some months now, and the problem still persists.
Some examples:
2024-03-30 11:16:40,919 - ERROR - PAI.paradox.hardware.evo.panel - ChecksumError Error in path (parsing) -> checksum
wrong checksum, read b'00', computed b'cd', message: b'4780000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
2024-03-30 14:12:28,917 - ERROR - PAI.paradox.hardware.evo.panel - ChecksumError Error in path (parsing) -> checksum
wrong checksum, read b'00', computed b'ca', message: b'4780000003000000000000000000000000000000000000000000000000000000000000000000010000001f00010000001f00010000000000010000000000010000000000016000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
2024-03-30 15:09:12,004 - ERROR - PAI.paradox.hardware.evo.panel - ChecksumError Error in path (parsing) -> checksum
wrong checksum, read b'00', computed b'cb', message: b'478000000400000000000100000000000100000000003d09a5063d0900000000000000000000000000000000000000000000000000000000000000000000000000000000005652525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252'
2024-03-30 15:21:32,854 - ERROR - PAI.paradox.hardware.evo.panel - ChecksumError Error in path (parsing) -> checksum
wrong checksum, read b'00', computed b'cc', message: b'4780000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
2024-03-30 17:43:19,288 - ERROR - PAI.paradox.hardware.evo.panel - ChecksumError Error in path (parsing) -> checksum
wrong checksum, read b'00', computed b'cf', message: b'4780000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
2024-03-30 18:17:11,157 - ERROR - PAI.paradox.hardware.evo.panel - ChecksumError Error in path (parsing) -> checksum
wrong checksum, read b'00', computed b'd2', message: b'478000000b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002403030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303'
2024-03-29 21:15:01,901 - ERROR - PAI.paradox.lib.handlers - No handler for message 5
Detail: Container:
fields = Container:
data = b'RG\x80\x00\x00\x10\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00'... (truncated, total 70)
value = Container:
po = Container:
command = 5
status = Container:
reserved = False
alarm_reporting_pending = False
Winload_connected = True
NeWare_connected = False
packet_length = 71
control = Container:
ram_access = True
bus_address = 0
address = 16
data = b'\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'... (truncated, total 64)
offset1 = 0
offset2 = 70
length = 70
checksum = b'O' (total 1)
Sorry. My bad. The errors above are actually related to #126 and #427.
The original problem of this issue appears to be fixed. I don't have any occurences of
ERROR - PAI.paradox.interfaces.mqtt.core - Caught exception in on_disconnect: _on_disconnect_cb() takes 4 positional arguments but 5 were given: _on_disconnect_cb() takes 4 positional arguments but 5 were given
anymore.
Thanks for the great work!
Alarm system
EVO192 + IP150
Environment
paradoxalarminterface/pai:latest
Describe the bug
I did notice the following error every time I stop my
pai
docker container:It seems to be harmless, except for the log spam.
To Reproduce
Logs (redacted)
Then, after stopping docker container: