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

TypeError: unhashable type: 'collections.OrderedDict' #112

Closed
doudz opened this issue Feb 21, 2019 · 0 comments
Closed

TypeError: unhashable type: 'collections.OrderedDict' #112

doudz opened this issue Feb 21, 2019 · 0 comments
Labels
Milestone

Comments

@doudz
Copy link
Owner

doudz commented Feb 21, 2019

DEBUG:zigate:Raw packet received, b'\x01\x80E\x02\x10\x02\x17)~\x02\x10:}\x02\x11\x02\x11\xd2\x03'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Received response 0x8045: b'7e003a7d0101'
DEBUG:zigate:RESPONSE 0x8045 - Active endpoints : endpoints:[OrderedDict([('endpoint', 1)])], sequence:126, status:0, addr:3a7d, endpoint_count:1, lqi:210
Exception in thread ZiGate-Decode data:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/doudz/.local/lib/python3.6/site-packages/zigate/core.py", line 475, in decode_data
    self.interpret_response(response)
  File "/home/doudz/.local/lib/python3.6/site-packages/zigate/core.py", line 520, in interpret_response
    ep = d.get_endpoint(endpoint)
  File "/home/doudz/.local/lib/python3.6/site-packages/zigate/core.py", line 2545, in get_endpoint
    if endpoint_id not in self.endpoints:
TypeError: unhashable type: 'collections.OrderedDict'

@doudz doudz added the bug label Feb 21, 2019
@doudz doudz modified the milestones: v0.28.1, v0.28.2 Feb 22, 2019
@doudz doudz closed this as completed Feb 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant