Skip to content

COAP throws exception when running under Python 3.9 #69

Open
@johtso

Description

@johtso
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/Cellar/[email protected]/3.9.0_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 950, in _bootstrap_inner
    self.run()
  File "/usr/local/Cellar/[email protected]/3.9.0_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 888, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/human/.local/pipx/venvs/py-air-control/lib/python3.9/site-packages/coapthon/client/coap.py", line 270, in receive_datagram
    self._send_ack(transaction)
  File "/Users/human/.local/pipx/venvs/py-air-control/lib/python3.9/site-packages/coapthon/client/coap.py", line 304, in _send_ack
    self.send_datagram(ack)
  File "/Users/human/.local/pipx/venvs/py-air-control/lib/python3.9/site-packages/coapthon/client/coap.py", line 168, in send_datagram
    if self._receiver_thread is None or not self._receiver_thread.isAlive():
AttributeError: 'Thread' object has no attribute 'isAlive'

Doesn't look like CoAPthon3 is actively maintained, so maybe just a warning on the readme?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions