Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ________________________________
- File "/usr/local/lib/python3.4/dist-packages/yapsy/PluginManager.py", line 488, in loadPlugins
- candidate_module = imp.load_module(plugin_module_name,plugin_file,candidate_filepath+".py",("py","r",imp.PY_SOURCE))
- File "/usr/lib/python3.4/imp.py", line 235, in load_module
- return load_source(name, filename, file)
- File "/usr/lib/python3.4/imp.py", line 171, in load_source
- module = methods.load()
- File "<frozen importlib._bootstrap>", line 1220, in load
- File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
- File "<frozen importlib._bootstrap>", line 1129, in _exec
- File "<frozen importlib._bootstrap>", line 1467, in exec_module
- File "<frozen importlib._bootstrap>", line 1572, in get_code
- File "<frozen importlib._bootstrap>", line 1532, in source_to_code
- File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
- _______________________________
- Traceback (most recent call last):
- File "/usr/local/lib/python3.4/dist-packages/errbot/backends/slack.py", line 882, in join
- self._bot.api_call('channels.join', data={'name': self.name})
- File "/usr/local/lib/python3.4/dist-packages/errbot/backends/slack.py", line 279, in api_call
- error=response['error']
- yapsy_loaded_plugin_Slack_0.SlackAPIResponseError: Slack API call to channels.join failed: user_is_bot
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.4/dist-packages/errbot/core_plugins/chatRoom.py", line 20, in callback_connect
- self._join_room(room)
- File "/usr/local/lib/python3.4/dist-packages/errbot/core_plugins/chatRoom.py", line 34, in _join_room
- self.query_room(room).join(username=self.bot_config.CHATROOM_FN, password=password)
- File "/usr/local/lib/python3.4/dist-packages/errbot/backends/slack.py", line 885, in join
- raise RoomError("Unable to join channel. " + USER_IS_BOT_HELPTEXT)
- errbot.backends.base.RoomError: Unable to join channel. Connected to Slack using a bot account, which cannot manage channels itself (you must invite the bot to channels instead, it will auto-accept) nor invite people.
- If you need this functionality, you will have to create a regular user account and connect Err using that account. For this, you will also need to generate a user token at https://api.slack.com/web.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement