Giter Club home page Giter Club logo

icinga2bot's People

Contributors

dependabot[bot] avatar reikoneko avatar teadur avatar viq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

icinga2bot's Issues

Bot fails to start without `CHATROOM_PRESENCE` set, no useful logs generated

After some debugging, it seems that the errors that me and other people are seeing are when trying to run the bot without the CHATROOM_PRESENCE set in the config (which default errbot --init doesn't set). The only indication of this is, after shuffling various thread functions around, following log:

2017-10-07 23:08:09,766 ERROR    errbot.plugin_manager     Error loading icinga2bot
Traceback (most recent call last):
  File "/home/viq/Work/Own/errbot/.errbot-venv/lib/python3.6/site-packages/errbot/plugin_manager.py", line 524, in activate_non_started_plugins
    self.activate_plugin_with_version_check(pluginInfo)
  File "/home/viq/Work/Own/errbot/.errbot-venv/lib/python3.6/site-packages/errbot/plugin_manager.py", line 310, in activate_plugin_with_version_check
    self.activatePluginByName(name, BOTPLUGIN_TAG)
  File "/home/viq/Work/Own/errbot/.errbot-venv/lib/python3.6/site-packages/yapsy/PluginManager.py", line 563, in activatePluginByName
    plugin_to_activate.activate()
  File "/home/viq/Work/Own/errbot/errbot-root/plugins/icinga2bot/icinga2bot.py", line 259, in activate
    self.room = self.query_room(self.bot_config.CHATROOM_PRESENCE[0])
IndexError: tuple index out of range

Please either handle such situation more gracefully, or at least produce a useful error message.

Can't start the plugin

After installing and configuring, both on debian 8 and ubuntu 16.04 I see:

!plugin activate icinga2bot
Error activating plugin: icinga2bot failed to start : 'Icinga2bot' object has no attribute 'thread'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.