Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------------------------------------
- 2017-08-16 18:16:43,275 - New handler
- 2017-08-16 18:16:43,275 - Got connection from 192.168.188.49
- 2017-08-16 18:16:43,276 - Device settings: {'name': 'Homemate Switch 192.168.188.49'}
- ----------------------------------------
- Exception happened during processing of request from ('192.168.188.49', 30311)
- Traceback (most recent call last):
- File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
- self.finish_request(request, client_address)
- File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
- self.RequestHandlerClass(request, client_address, self)
- File "/usr/local/lib/python3.5/dist-packages/homemate_bridge/cli.py", line 177, in __init__
- super().__init__(*args, **kwargs)
- File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
- self.handle()
- File "/usr/local/lib/python3.5/dist-packages/homemate_bridge/cli.py", line 241, in handle
- PacketLog.record(data, PacketLog.IN, self.keys, self.client_address[0])
- File "/usr/local/lib/python3.5/dist-packages/homemate_bridge/cli.py", line 69, in record
- json.dump(cls.log, f)
- File "/usr/lib/python3.5/json/__init__.py", line 178, in dump
- for chunk in iterable:
- File "/usr/lib/python3.5/json/encoder.py", line 427, in _iterencode
- yield from _iterencode_list(o, _current_indent_level)
- File "/usr/lib/python3.5/json/encoder.py", line 324, in _iterencode_list
- yield from chunks
- File "/usr/lib/python3.5/json/encoder.py", line 403, in _iterencode_dict
- yield from chunks
- File "/usr/lib/python3.5/json/encoder.py", line 403, in _iterencode_dict
- yield from chunks
- File "/usr/lib/python3.5/json/encoder.py", line 436, in _iterencode
- o = _default(o)
- File "/usr/lib/python3.5/json/encoder.py", line 179, in default
- raise TypeError(repr(o) + " is not JSON serializable")
- TypeError: b'khggd54865SNJHGF' is not JSON serializable
- ----------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement