Hiring thread error
Closed this issue · 0 comments
Jun 19 08:00:00 sirbot sirbot[12087]: 2017-06-19 08:00:00,345 - sirbot.slack.api - DEBUG - Slack HTTP API response: OK for https://slack.com/api/chat.postMessage
Jun 19 08:00:00 sirbot sirbot[12087]: /home/sirbot/.pyvenv/lib/python3.6/site-packages/sirbot/slack/store/user.py:107: RuntimeWarning: coroutine 'UserStore.ensure_dm' was never awaited
Jun 19 08:00:00 sirbot sirbot[12087]: self.ensure_dm(user, db)
Jun 19 08:00:00 sirbot sirbot[12087]: ERROR:apscheduler.executors.default:Job "SchedulerJobs.hiring (trigger: cron[day_of_week='0', hour='8'], next run at: 2017-06-26 08:00:00 UTC)" raised an exception
Jun 19 08:00:00 sirbot sirbot[12087]: Traceback (most recent call last):
Jun 19 08:00:00 sirbot sirbot[12087]: File "/home/sirbot/.pyvenv/lib/python3.6/site-packages/apscheduler/executors/base_py3.py", line 29, in run_coroutine_job
Jun 19 08:00:00 sirbot sirbot[12087]: retval = await job.func(*job.args, **job.kwargs)
Jun 19 08:00:00 sirbot sirbot[12087]: File "/home/sirbot/.pyvenv/lib/python3.6/site-packages/sirbot/pythondev/scheduler.py", line 41, in hiring
Jun 19 08:00:00 sirbot sirbot[12087]: message_tips.text = self.config['python_jobs']['hiting_tips']
Jun 19 08:00:00 sirbot sirbot[12087]: KeyError: 'hiting_tips'