Traceback (most recent call last):


 "/xxx/anaconda3/envs/raydev/lib/python3.6/site-packages/ray/tune/trial_runner.py", line 286, in step

self.checkpoint()


 "/xxx/anaconda3/envs/raydev/lib/python3.6/site-packages/ray/tune/trial_runner.py", line 177, in checkpoint

json.dump(runner_state, f, indent=2, cls=_TuneFunctionEncoder)


 "/xxx/anaconda3/envs/raydev/lib/python3.6/json/__init__.py", line 179, in dump

for chunk in iterable:


 "/xxx/anaconda3/envs/raydev/lib/python3.6/json/encoder.py", line 430, in _iterencode

yield from _iterencode_dict(o, _current_indent_level)


 "/xxx/anaconda3/envs/raydev/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict

yield from chunks


 "/xxx/anaconda3/envs/raydev/lib/python3.6/json/encoder.py", line 325, in _iterencode_list

yield from chunks


 "/xxx/anaconda3/envs/raydev/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict

yield from chunks


 "/xxx/anaconda3/envs/raydev/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict

yield from chunks


 "/xxx/anaconda3/envs/raydev/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict

yield from chunks

[Previous line repeated 1 more time]


 "/xxx/anaconda3/envs/raydev/lib/python3.6/json/encoder.py", line 325, in _iterencode_list

yield from chunks


 "/xxx/anaconda3/envs/raydev/lib/python3.6/json/encoder.py", line 437, in _iterencode

o = _default(o)


 "/xxx/anaconda3/envs/raydev/lib/python3.6/site-packages/ray/tune/trial_runner.py", line 52, in default

return super(_TuneFunctionEncoder, self).default(obj)


 "/xxx/anaconda3/envs/raydev/lib/python3.6/json/encoder.py", line 180, in default

o.__class__.__name__)
TypeError: Object of type 'Box' is not JSON serializable

Traceback (most recent call last):


 "/home/user/.pyenv/versions/3.8.2/lib/python3.8/site-packages/tornado/ioloop.py", line 743, in _run_callback

ret = callback()


 "/home/user/.pyenv/versions/3.8.2/lib/python3.8/site-packages/tornado/ioloop.py", line 767, in _discard_future_result

future.result()


 "/home/user/.pyenv/versions/3.8.2/lib/python3.8/site-packages/distributed/nanny.py", line 443, in _on_exit

await self.scheduler.unregister(address=self.worker_address)


 "/home/user/.pyenv/versions/3.8.2/lib/python3.8/site-packages/distributed/core.py", line 861, in send_recv_from_rpc

result = await send_recv(comm=comm, op=key, **kwargs)


 "/home/user/.pyenv/versions/3.8.2/lib/python3.8/site-packages/distributed/core.py", line 660, in send_recv

raise exc.with_traceback(tb)


 "/home/user/.pyenv/versions/3.8.2/lib/python3.8/site-packages/distributed/core.py", line 513, in handle_comm

result = await result


 "/home/user/.pyenv/versions/3.8.2/lib/python3.8/site-packages/distributed/scheduler.py", line 2208, in remove_worker

address = self.coerce_address(address)


 "/home/user/.pyenv/versions/3.8.2/lib/python3.8/site-packages/distributed/scheduler.py", line 4946, in coerce_address

raise TypeError("addresses should be strings or tuples, got %r" % (addr,))
TypeError: addresses should be strings or tuples, got None
