Comments (6)
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.
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.
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.
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.
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.
Fixed it, the mixin for the dictionary behaviour was interfering in the boolean logic. see 26e37ab
from errbot.
Related Issues (20)
- Slack backend ACCESS_CONTROLS does not work HOT 3
- latest release of errbot depends on vulnerable dependencies HOT 2
- Impossible to run errbot test using official docs HOT 2
- using errbot command from user results in channel not found slack HOT 2
- Create a new release HOT 11
- in_reply_to doesn't work with telegram backend
- Is it possible to make send_stream_request to send file as a reply to the message ?
- Error while starting errbot for Slack HOT 4
- Repository
- problem installing errbot on Ubuntu Jammy Jellyfish 22.04 LTS in Oct 2023 HOT 3
- Getting a KeyError: 'team_id' HOT 2
- Automate release process HOT 2
- Problem with errbot and Werkzeug in raspbian bookworm and python 3.12.0 HOT 1
- Is errbot project still actively maintained? HOT 6
- errbot 6.2.0 image is arm64 only? HOT 1
- Automatically reconnect XMPP after connection is lost HOT 2
- No dependency version for python-telegram-bot is specified in the Documentation HOT 2
- Graphlib errors on install HOT 2
- Unable to import custom python modules on Python 3.11+ HOT 4
- Plugin config through Slack fails because of Unicode characters HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from errbot.