Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. ----------------------------------------
  2. 2017-08-16 18:16:43,275 - New handler
  3. 2017-08-16 18:16:43,275 - Got connection from 192.168.188.49
  4. 2017-08-16 18:16:43,276 - Device settings: {'name': 'Homemate Switch 192.168.188.49'}
  5. ----------------------------------------
  6. Exception happened during processing of request from ('192.168.188.49', 30311)
  7. Traceback (most recent call last):
  8. File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
  9. self.finish_request(request, client_address)
  10. File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
  11. self.RequestHandlerClass(request, client_address, self)
  12. File "/usr/local/lib/python3.5/dist-packages/homemate_bridge/cli.py", line 177, in __init__
  13. super().__init__(*args, **kwargs)
  14. File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
  15. self.handle()
  16. File "/usr/local/lib/python3.5/dist-packages/homemate_bridge/cli.py", line 241, in handle
  17. PacketLog.record(data, PacketLog.IN, self.keys, self.client_address[0])
  18. File "/usr/local/lib/python3.5/dist-packages/homemate_bridge/cli.py", line 69, in record
  19. json.dump(cls.log, f)
  20. File "/usr/lib/python3.5/json/__init__.py", line 178, in dump
  21. for chunk in iterable:
  22. File "/usr/lib/python3.5/json/encoder.py", line 427, in _iterencode
  23. yield from _iterencode_list(o, _current_indent_level)
  24. File "/usr/lib/python3.5/json/encoder.py", line 324, in _iterencode_list
  25. yield from chunks
  26. File "/usr/lib/python3.5/json/encoder.py", line 403, in _iterencode_dict
  27. yield from chunks
  28. File "/usr/lib/python3.5/json/encoder.py", line 403, in _iterencode_dict
  29. yield from chunks
  30. File "/usr/lib/python3.5/json/encoder.py", line 436, in _iterencode
  31. o = _default(o)
  32. File "/usr/lib/python3.5/json/encoder.py", line 179, in default
  33. raise TypeError(repr(o) + " is not JSON serializable")
  34. TypeError: b'khggd54865SNJHGF' is not JSON serializable
  35. ----------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement