2017-12-09 18:57:35,454 - ERROR [Contest,0 10 base::write_error] Uncaught exception (AttributeError("'NoneType' object has no attribute 'keys'",)) while processing a request: Traceback (most recent call last):


 "/usr/lib/python2.7/dist-packages/tornado/web.py", line 1390, in _execute

result = self.prepare()


 "/usr/local/lib/python2.7/dist-packages/cms-1.4.dev0-py2.7.egg/cms/server/contest/handlers/contest.py", line 100, in prepare

self.choose_contest()


 "/usr/local/lib/python2.7/dist-packages/cms-1.4.dev0-py2.7.egg/cms/server/contest/handlers/contest.py", line 132, in choose_contest

self.r_params = self.render_params()


 "/usr/local/lib/python2.7/dist-packages/cms-1.4.dev0-py2.7.egg/cms/server/contest/handlers/contest.py", line 394, in render_params

lang_codes = self.langs.keys()
AttributeError: 'NoneType' object has no attribute 'keys'

Traceback (most recent call last):


 "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run

self._context.run(self._callback, *self._args)


 "/usr/local/lib/python3.7/site-packages/aiohttp/web_ws.py", line 102, in _send_heartbeat

self._loop.create_task(self._writer.ping())
# type: ignore
AttributeError: 'NoneType' object has no attribute 'ping'
