Traceback (most recent call last):


 "/Users/lihui/Code/dubhe/bentomlTest/server.py", line 7, in <module>

bentoml.cli.cli()


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/site-packages/click/core.py", line 829, in __call__

return self.main(*args, **kwargs)


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/site-packages/click/core.py", line 782, in main

rv = self.invoke(ctx)


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/site-packages/click/core.py", line 1259, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/site-packages/click/core.py", line 1066, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/site-packages/click/core.py", line 610, in invoke

return callback(*args, **kwargs)


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/site-packages/bentoml/cli/click_utils.py", line 138, in wrapper

return func(*args, **kwargs)


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/site-packages/bentoml/cli/click_utils.py", line 115, in wrapper

return_value = func(*args, **kwargs)


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/site-packages/bentoml/cli/click_utils.py", line 99, in wrapper

return func(*args, **kwargs)


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/site-packages/bentoml/cli/bento_service.py", line 243, in serve

start_dev_server(saved_bundle_path, port, enable_microbatch, run_with_ngrok)


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/site-packages/bentoml/server/__init__.py", line 76, in start_dev_server

marshal_server.async_start(port=port)


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/site-packages/bentoml/marshal/marshal.py", line 298, in async_start

marshal_proc.start()


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/multiprocessing/process.py", line 121, in start

self._popen = self._Popen(self)


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/multiprocessing/context.py", line 224, in _Popen

return _default_context.get_context().Process._Popen(process_obj)


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/multiprocessing/context.py", line 284, in _Popen

return Popen(process_obj)


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__

super().__init__(process_obj)


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__

self._launch(process_obj)


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 47, in _launch

reduction.dump(process_obj, fp)


 "/Users/lihui/opt/miniconda3/envs/dubhe/lib/python3.8/multiprocessing/reduction.py", line 60, in dump

ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'metrics_patch.<locals>._MarshalService'

Traceback (most recent call last):


 "./cmd.py", line 16, in <module>

print device.Shell('echo %d' % i)


 "/usr/local/lib/python2.7/site-packages/adb/adb_commands.py", line 227, in Shell

timeout_ms=timeout_ms)


 "/usr/local/lib/python2.7/site-packages/adb/adb_protocol.py", line 369, in Command

return ''.join(cls.StreamingCommand(usb, service, command, timeout_ms))


 "/usr/local/lib/python2.7/site-packages/adb/adb_protocol.py", line 394, in StreamingCommand

for data in connection.ReadUntilClose():
AttributeError: 'NoneType' object has no attribute 'ReadUntilClose'
