-
Notifications
You must be signed in to change notification settings - Fork 615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errbot version 6.0.0+ fails to start because "Found more that one plugin for <class 'errbot.core.ErrBot'>" #1484
Comments
Hi @sijis, can I get some support on this issue? It's blocking us from upgrading to version 6 of errbot and also upgrading our slackclient. |
What version of python are you using to run errbot 5.2.0? |
We're using python 3.6.8 to run errbot 5.2.0, and for the upgrade to errbot v6. |
I've encountered this error too. The error comes from the multiple inheritance: I workaround the issue by removing the multiple inheritance, but you in your case this won't be useful. My guess is this PR may have change the behaviour of the import, but it's speculation. |
Looks like the cause of the issue - I wonder if it can be reverted or what the reasoning for it was? |
It will need to be confirmed as being the cause of the issue. I'm not sure if it can be reverted now or a new patch will need to be devised. |
@tmcevoy14 I haven't been able to look at this.hopefully it's something I can review in the next week. Something that you can try is basically copying the slack backend into your custom one and try to remove a layer of inheritance. It's not perfect but it should allow you to validate other items to address in the migration. |
Hey @sijis, any update on this? |
Its possible you are hitting this bug #1505. |
Thanks for the update @sijis, will that PR be merged soon? |
PR merged. should be in master. |
In order to let us help you better, please fill out the following fields as best you can:
I am...
I am running...
Issue description
I'm trying to upgrade our errbot version from 5.2.0 to 6.1.6 and after upgrading to version 6.1.6 errbot fails to start because of this error:
Found more that one plugin for <class 'errbot.core.ErrBot'>.
We are using errbot with the slack configuration and only have one backend defined. Any suggestions?
Our requirements.txt file looks like this:
We are using a custom slack backend that updates a few things for our use case:
BACKEND = 'CustomSlack'
BOT_EXTRA_BACKEND_DIR = os.getenv('BACKENDS_PATH', '/srv/backends')
And then our Custom Slack backend looks something like this (which is copied into
/srv/backends
when we build the image):Steps to reproduce
Upgrade to 6.1.6 and run
errbot
Upgrade to
6.1.6 or 6.0.0
Additional info
none
The text was updated successfully, but these errors were encountered: