Skip to content

Instantly share code, notes, and snippets.

@DazWorrall
Created December 31, 2023 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DazWorrall/7322d719b9031d82f6f40f52e64ab3d9 to your computer and use it in GitHub Desktop.
Save DazWorrall/7322d719b9031d82f6f40f52e64ab3d9 to your computer and use it in GitHub Desktop.
unifi-protect-backup error
2023-12-31 11:13:12 [ ERROR ] pyunifiprotect.websocket : Error processing websocket message
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/pyunifiprotect/websocket.py", line 82, in _process_message
sub(msg)
File "/usr/lib/python3.11/site-packages/pyunifiprotect/api.py", line 691, in _process_ws_message
processed_message = self.bootstrap.process_ws_packet(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pyunifiprotect/data/bootstrap.py", line 561, in process_ws_packet
return self._process_remove_packet(packet, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pyunifiprotect/data/bootstrap.py", line 417, in _process_remove_packet
self.mac_lookup.pop(device.mac.lower().replace(":", ""), None)
^^^^^^^^^^
AttributeError: 'Event' object has no attribute 'mac'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment