Traceback (most recent call last):


 "C:\Users\S10500\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\widgets\ipythonconsole\client.py", line 575, in show_time

elapsed_time = time.monotonic() - self.t0
TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'

Traceback (most recent call last):


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/twisted/web/server.py", line 217, in process

self.render(resrc)


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/twisted/web/server.py", line 284, in render

body = resrc.render(self)


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/twisted/web/resource.py", line 265, in render

return m(request)


 "/Users/martijndevos/Documents/tribler/Tribler/pyipv8/ipv8/REST/trustchain_endpoint.py", line 143, in render_GET

return self.twisted_dumps({"blocks": blocks_list})


 "/Users/martijndevos/Documents/tribler/Tribler/pyipv8/ipv8/REST/base_endpoint.py", line 28, in twisted_dumps

return json.dumps(obj, ensure_ascii).encode('utf-8')


 "/Users/martijndevos/Documents/tribler/Tribler/pyipv8/ipv8/REST/json_util.py", line 98, in dumps

return json.dumps(obj, ensure_ascii=ensure_ascii)


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 231, in dumps

return _default_encoder.encode(obj)


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/encoder.py", line 199, in encode

chunks = self.iterencode(o, _one_shot=True)


 "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/encoder.py", line 257, in iterencode

return _iterencode(o, 0)
TypeError: keys must be str, int, float, bool or None, not bytes
