작성
·
130
0
baseball_game.py 가 terminal 에서 python3 baseball_game.py 를 입력하면 정상작동합니다. 그런데 막상 제출하려고 하니 이런 에러가 계속 뜨네요...
terminal 에서 정상작동되는걸 보면 문제가 없는 것처럼 보이는데 왜 계속 에러가 뜬느지 모르겠네요.
pip3 install --upgrade backend.ai
를 하고 나서 제출하려 해봐도 안됩니다. 어떻게 해야하는지 조언 부탁드립니다.
linux_mac ./submit.sh bnbf147593
∙ Session token prefix: cd17c26969
∙ In the legacy mode, all cases will run serially!
Traceback (most recent call last):
File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/cli/run.py", line 400, in _run_legacy
tag=tag)
File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/base.py", line 21, in _method
return cls.session.worker_thread.execute(coro)
File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/session.py", line 64, in execute
raise result
File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/session.py", line 48, in run
result = loop.run_until_complete(coro)
File "/usr/lib/python3.6/asyncio/base_events.py", line 473, in run_until_complete
return future.result()
File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/kernel.py", line 107, in get_or_create
async with rqst.fetch() as resp:
File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/request.py", line 391, in aenter
raise BackendAPIError(raw_resp.status, raw_resp.reason, msg)
ai.backend.client.exceptions.BackendAPIError: BackendAPIError(500, 'Internal Server Error', {'type': 'https://api.backend.ai/probs/kernel-creation-failed', 'title': 'Kernel creation has failed.', 'agent-details': {'type': 'https://api.backend.ai/probs/agent-timeout', 'title': None}})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/wonsong94/.local/bin/backend.ai", line 11, in
sys.exit(main())
File "/home/wonsong94/.local/lib/python3.6/site-packages/click/core.py", line 764, in call
return self.main(args, kwargs)
File "/home/wonsong94/.local/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/wonsong94/.local/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/wonsong94/.local/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, ctx.params)
File "/home/wonsong94/.local/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(args, **kwargs)
File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/cli/run.py", line 610, in run
_run_cases_legacy()
File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/cli/run.py", line 574, in _run_cases_legacy
clean_cmd, build_cmd, exec_cmd)
File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/cli/run.py", line 402, in _run_legacy
print_error(e)
File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/cli/pretty.py", line 141, in print_error
text = ''.join(format_error(exc))
File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/cli/pretty.py", line 122, in format_error
yield 'nu279c ' + agent_details['title']
TypeError: must be str, not NoneType