Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
modir opened this issue Apr 26, 2021 · 0 comments
Open

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

modir opened this issue Apr 26, 2021 · 0 comments

Comments

@modir
Copy link
Contributor

modir commented Apr 26, 2021

$ 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant