{"action":"created","issue":{"url":"https://api.github.com/repos/deepmipt/DeepPavlov/issues/148","repository_url":"https://api.github.com/repos/deepmipt/DeepPavlov","labels_url":"https://api.github.com/repos/deepmipt/DeepPavlov/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/deepmipt/DeepPavlov/issues/148/comments","events_url":"https://api.github.com/repos/deepmipt/DeepPavlov/issues/148/events","html_url":"https://github.com/deepmipt/DeepPavlov/pull/148","id":308559219,"number":148,"title":"Refactored telegram inference bot, added SquadModel and RankingModel models to models_info.json","user":{"login":"litinsky","id":22733410,"avatar_url":"https://avatars3.githubusercontent.com/u/22733410?v=4","gravatar_id":"","url":"https://api.github.com/users/litinsky","html_url":"https://github.com/litinsky","followers_url":"https://api.github.com/users/litinsky/followers","following_url":"https://api.github.com/users/litinsky/following{/other_user}","gists_url":"https://api.github.com/users/litinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/litinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/litinsky/subscriptions","organizations_url":"https://api.github.com/users/litinsky/orgs","repos_url":"https://api.github.com/users/litinsky/repos","events_url":"https://api.github.com/users/litinsky/events{/privacy}","received_events_url":"https://api.github.com/users/litinsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-26T12:53:07Z","updated_at":"2018-03-29T14:26:02Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/deepmipt/DeepPavlov/pulls/148","html_url":"https://github.com/deepmipt/DeepPavlov/pull/148","diff_url":"https://github.com/deepmipt/DeepPavlov/pull/148.diff","patch_url":"https://github.com/deepmipt/DeepPavlov/pull/148.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/deepmipt/DeepPavlov/issues/comments/377252317","html_url":"https://github.com/deepmipt/DeepPavlov/pull/148#issuecomment-377252317","issue_url":"https://api.github.com/repos/deepmipt/DeepPavlov/issues/148","id":377252317,"user":{"login":"seliverstov","id":2742504,"avatar_url":"https://avatars1.githubusercontent.com/u/2742504?v=4","gravatar_id":"","url":"https://api.github.com/users/seliverstov","html_url":"https://github.com/seliverstov","followers_url":"https://api.github.com/users/seliverstov/followers","following_url":"https://api.github.com/users/seliverstov/following{/other_user}","gists_url":"https://api.github.com/users/seliverstov/gists{/gist_id}","starred_url":"https://api.github.com/users/seliverstov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seliverstov/subscriptions","organizations_url":"https://api.github.com/users/seliverstov/orgs","repos_url":"https://api.github.com/users/seliverstov/repos","events_url":"https://api.github.com/users/seliverstov/events{/privacy}","received_events_url":"https://api.github.com/users/seliverstov/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T14:26:02Z","updated_at":"2018-03-29T14:26:02Z","author_association":"COLLABORATOR","body":"```\r\npython deeppavlov.deep interactbot deeppavlov/configs/seq2seq_go_bot/bot_kvret.json -t ...\r\n```\r\n\r\n2018-03-29 17:24:17,585 (util.py:64 WorkerThread1) ERROR - TeleBot: \"KeyError occurred, args=(143536470,)\r\nTraceback (most recent call last):\r\n  File \"/data/dp/env/lib/python3.6/site-packages/telebot/util.py\", line 58, in run\r\n    task(*args, **kwargs)\r\n  File \"/data/dp/utils/telegram_utils/telegram_ui.py\", line 71, in handle_inference\r\n    buffer[chat_id].append(context)\r\nKeyError: 143536470\r\n\"\r\n2018-03-29 17:24:17.585 ERROR in 'TeleBot'['util'] at line 64: KeyError occurred, args=(143536470,)\r\nTraceback (most recent call last):\r\n  File \"/data/dp/env/lib/python3.6/site-packages/telebot/util.py\", line 58, in run\r\n    task(*args, **kwargs)\r\n  File \"/data/dp/utils/telegram_utils/telegram_ui.py\", line 71, in handle_inference\r\n    buffer[chat_id].append(context)\r\nKeyError: 143536470\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.6/runpy.py\", line 193, in _run_module_as_main\r\n    \"__main__\", mod_spec)\r\n  File \"/usr/lib/python3.6/runpy.py\", line 85, in _run_code\r\n    exec(code, run_globals)\r\n  File \"/data/dp/deeppavlov/deep.py\", line 62, in <module>\r\n    main()\r\n  File \"/data/dp/deeppavlov/deep.py\", line 56, in main\r\n    interact_model_by_telegram(pipeline_config_path, token)\r\n  File \"/data/dp/utils/telegram_utils/telegram_ui.py\", line 94, in interact_model_by_telegram\r\n    init_bot_for_model(token, model, model_config_key)\r\n  File \"/data/dp/utils/telegram_utils/telegram_ui.py\", line 87, in init_bot_for_model\r\n    bot.polling()\r\n  File \"/data/dp/env/lib/python3.6/site-packages/telebot/__init__.py\", line 264, in polling\r\n    self.__threaded_polling(none_stop, interval, timeout)\r\n  File \"/data/dp/env/lib/python3.6/site-packages/telebot/__init__.py\", line 288, in __threaded_polling\r\n    self.worker_pool.raise_exceptions()\r\n  File \"/data/dp/env/lib/python3.6/site-packages/telebot/util.py\", line 107, in raise_exceptions\r\n    six.reraise(self.exc_info[0], self.exc_info[1], self.exc_info[2])\r\n  File \"/data/dp/env/lib/python3.6/site-packages/six.py\", line 693, in reraise\r\n    raise value\r\n  File \"/data/dp/env/lib/python3.6/site-packages/telebot/util.py\", line 58, in run\r\n    task(*args, **kwargs)\r\n  File \"/data/dp/utils/telegram_utils/telegram_ui.py\", line 71, in handle_inference\r\n    buffer[chat_id].append(context)\r\nKeyError: 143536470\r\n"}}
{"actor":{"display_login":"seliverstov"}}