Closed
Description
Recent commit appears to be causing a TypeError: cb60792
Here is the error:
Exception in thread WebSocketClient:
Traceback (most recent call last):
File "/Users/stevenslupsky/.local/share/mise/installs/python/3.8.18/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/Users/stevenslupsky/.local/share/mise/installs/python/3.8.18/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/Users/stevenslupsky/.local/share/mise/installs/python/3.8.18/lib/python3.8/site-packages/ws4py/websocket.py", line 528, in run
if not self.once():
File "/Users/stevenslupsky/.local/share/mise/installs/python/3.8.18/lib/python3.8/site-packages/ws4py/websocket.py", line 410, in once
if not self.process(self.buf[:requested]):
File "/Users/stevenslupsky/.local/share/mise/installs/python/3.8.18/lib/python3.8/site-packages/ws4py/websocket.py", line 465, in process
logger.debug("Closing message received (%d): %s" % (s.closing.code, s.closing.reason.decode() if isinstance(s.closing.reason, bytes) else s.closing.reason))
TypeError: isinstance() arg 2 must be a type or tuple of types
See also: klattimer/LGWebOSRemote#172
Seems like the error might be from this line:
WebSocket-for-Python/ws4py/websocket.py
Line 410 in cb60792
The second parameter is null.
Metadata
Metadata
Assignees
Labels
No labels