Advertisement
Guest User

Untitled

a guest
Sep 15th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1.  
  2. ________________________________
  3. File "/usr/local/lib/python3.4/dist-packages/yapsy/PluginManager.py", line 488, in loadPlugins
  4. candidate_module = imp.load_module(plugin_module_name,plugin_file,candidate_filepath+".py",("py","r",imp.PY_SOURCE))
  5. File "/usr/lib/python3.4/imp.py", line 235, in load_module
  6. return load_source(name, filename, file)
  7. File "/usr/lib/python3.4/imp.py", line 171, in load_source
  8. module = methods.load()
  9. File "<frozen importlib._bootstrap>", line 1220, in load
  10. File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  11. File "<frozen importlib._bootstrap>", line 1129, in _exec
  12. File "<frozen importlib._bootstrap>", line 1467, in exec_module
  13. File "<frozen importlib._bootstrap>", line 1572, in get_code
  14. File "<frozen importlib._bootstrap>", line 1532, in source_to_code
  15. File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  16.  
  17. _______________________________
  18.  
  19. Traceback (most recent call last):
  20. File "/usr/local/lib/python3.4/dist-packages/errbot/backends/slack.py", line 882, in join
  21. self._bot.api_call('channels.join', data={'name': self.name})
  22. File "/usr/local/lib/python3.4/dist-packages/errbot/backends/slack.py", line 279, in api_call
  23. error=response['error']
  24. yapsy_loaded_plugin_Slack_0.SlackAPIResponseError: Slack API call to channels.join failed: user_is_bot
  25.  
  26. During handling of the above exception, another exception occurred:
  27.  
  28. Traceback (most recent call last):
  29. File "/usr/local/lib/python3.4/dist-packages/errbot/core_plugins/chatRoom.py", line 20, in callback_connect
  30. self._join_room(room)
  31. File "/usr/local/lib/python3.4/dist-packages/errbot/core_plugins/chatRoom.py", line 34, in _join_room
  32. self.query_room(room).join(username=self.bot_config.CHATROOM_FN, password=password)
  33. File "/usr/local/lib/python3.4/dist-packages/errbot/backends/slack.py", line 885, in join
  34. raise RoomError("Unable to join channel. " + USER_IS_BOT_HELPTEXT)
  35. 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.
  36.  
  37. 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