You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where should I debug this issue I am having? I had spun up the bot from the demo installation instructions.
It can join the channel
I can manually log it in the channel as well
the bot starts up fine
The minute I try to send a message in the public channel
example: just saying hello
bot detects
attempts to send a response
crashes
The crash log
[dd/mm/2017 23:16:18] Starting new HTTP connection (1): my-mattermost-server
[dd/mm/2017 23:16:18] http://my-mattermost-server:80 "GET /api/v3/teams/xxx/channels/yyy/ HTTP/1.1" 500 256
Traceback (most recent call last):
File "/home/vagrant/my-bot/venv/bin/matterbot", line 11, in <module>
sys.exit(main())
File "/home/vagrant/my-bot/venv/local/lib/python2.7/site-packages/mattermost_bot/cli.py", line 18, in main
b.run()
File "/home/vagrant/my-bot/venv/local/lib/python2.7/site-packages/mattermost_bot/bot.py", line 37, in run
self._dispatcher.loop()
File "/home/vagrant/my-bot/venv/local/lib/python2.7/site-packages/mattermost_bot/dispatcher.py", line 116, in loop
self._on_new_message(self.event)
File "/home/vagrant/my-bot/venv/local/lib/python2.7/site-packages/mattermost_bot/dispatcher.py", line 92, in _on_new_message
if self.is_mentioned(msg) or self.is_personal(msg):
File "/home/vagrant/my-bot/venv/local/lib/python2.7/site-packages/mattermost_bot/dispatcher.py", line 54, in is_personal
channel_type = channel['channel']['type']
KeyError: 'channel'
Is this a permission issue? My bot account can talk in the public channel with no issues when I manually log it into the system. But through the mattermost bot, it crashes.
Where should I debug this issue I am having? I had spun up the bot from the demo installation instructions.
The minute I try to send a message in the public channel
The crash log
Is this a permission issue? My bot account can talk in the public channel with no issues when I manually log it into the system. But through the mattermost bot, it crashes.
My sample config
The text was updated successfully, but these errors were encountered: