takeshixx / knxmap

KNXnet/IP scanning and auditing tool for KNX home automation installations.
GNU General Public License v3.0
119 stars 39 forks source link

struct.error: required argument is not an integer #19

Open modir opened 3 years ago

modir commented 3 years ago
$ sudo knxmap -v -i enp0s31f6 monitor 192.168.1.36
[selector_events.py:59 -             __init__() ] Using selector: EpollSelector
[core.py:242 -              monitor() ] Starting bus monitor
[base_events.py:1707 - default_exception_handler() ] Exception in callback KnxTunnelConnection.knx_keep_alive()
handle: <TimerHandle when=6162.177909146 KnxTunnelConnection.knx_keep_alive()>
Traceback (most recent call last):
  File "/usr/lib64/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.8/site-packages/KNXmap-0.10.0-py3.8.egg/knxmap/bus/tunnel.py", line 426, in knx_keep_alive
    connection_state = KnxConnectionStateRequest(
  File "/usr/local/lib/python3.8/site-packages/KNXmap-0.10.0-py3.8.egg/knxmap/messages/core.py", line 216, in __init__
    self.pack_knx_message()
  File "/usr/local/lib/python3.8/site-packages/KNXmap-0.10.0-py3.8.egg/knxmap/messages/main.py", line 153, in pack_knx_message
    message_body = self._pack_knx_body()
  File "/usr/local/lib/python3.8/site-packages/KNXmap-0.10.0-py3.8.egg/knxmap/messages/core.py", line 222, in _pack_knx_body
    self.body = bytearray(struct.pack('!B', self.communication_channel))
struct.error: required argument is not an integer