Giter VIP home page Giter VIP logo

Comments (6)

gbin avatar gbin commented on August 22, 2024

It might be because the webserver plugin failed earlier and did not get initialized properly, do you have something before in the log ?

from errbot.

gbin avatar gbin commented on August 22, 2024

It could be a mistake in the non configured state, for the science try to issue a !config Webserver {'EXTRA_FLASK_CONFIG': None, 'HOST': '0.0.0.0', 'PORT': 3141}

from errbot.

joshuatobin avatar joshuatobin commented on August 22, 2024

Okay. Let me reinitialize a fresh instance and try it from there. I'll also try and send over a puppet config to get this working on debian if its helpful.

from errbot.

joshuatobin avatar joshuatobin commented on August 22, 2024

Just a follow up on this. I tried and still receiving errors:

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/errbot/backends/base.py", line 232, in execute_and_send
reply = self.commands[cmd](mess, args)
File "/usr/local/lib/python2.7/dist-packages/errbot/errBot.py", line 187, in status
elif get_plugin_obj_by_name(name) and get_plugin_obj_by_name(name).get_configuration_template() and not self.get_plugin_configuration(name):
File "/usr/lib/python2.7/UserDict.py", line 180, in len
return len(self.keys())
File "/usr/local/lib/python2.7/dist-packages/errbot/storage.py", line 35, in keys
for key in self.shelf.keys():
AttributeError: 'Webserver' object has no attribute 'shelf'
2012-08-28 12:52:41,208 ERROR Something is wrong with the configuration of the plugin Webserver
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/errbot/plugin_manager.py", line 61, in activate_plugin_with_version_check
obj.check_configuration(config)
File "/usr/local/lib/python2.7/dist-packages/errbot/botplugin.py", line 118, in check_configuration
recurse_check_structure(self.get_configuration_template(), configuration) # default behavior
File "/usr/local/lib/python2.7/dist-packages/errbot/utils.py", line 133, in recurse_check_structure
raise ValidationException("%s doesn't contain the key %s" % (to_check, key))
ValidationException: {'EXTRA_FLASK_CONFIG': None, 'HOST': '0.0.0.0', 'PORT': 3141} doesn't contain the key WEBCHAT
2012-08-28 12:52:41,208 ERROR Error loading Webserver
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/errbot/errBot.py", line 255, in activate_plugin
activate_plugin_with_version_check(name, self.get_plugin_configuration(name))
File "/usr/local/lib/python2.7/dist-packages/errbot/plugin_manager.py", line 67, in activate_plugin_with_version_check
raise PluginConfigurationException(str(e))
PluginConfigurationException: {'EXTRA_FLASK_CONFIG': None, 'HOST': '0.0.0.0', 'PORT': 3141} doesn't contain the key WEBCHAT

from errbot.

gbin avatar gbin commented on August 22, 2024

you just need to reconfigure it : I recently added the WEBCHAT additional param, do a !config WebServer and it should show you the diff between the 2 configs (default and new). Perhaps it could warn you in a better matter

from errbot.

gbin avatar gbin commented on August 22, 2024

Fixed it, the mixin for the dictionary behaviour was interfering in the boolean logic. see 26e37ab

from errbot.

Related Issues (20)

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.