twisted.python.plugin module has been removed in Twisted >=9.0.0. $ python2.7 -c 'import ldaptor.apps.webui.add' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/ldaptor/apps/webui/add.py", line 3, in <module> from twisted.python import plugin ImportError: cannot import name plugin Maybe "web" USE flag and ldaptor.apps.webui module should be unconditionally removed.
Anyone on python team object to masking this for removal? Upstream appears to be dead. The alternative would be to unconditionally remove the web ui code, which is currently controlled by a use flag.
I've removed the problem locally by replacing in "/usr/lib/python2.7/site-packages/ldaptor/apps/webui/add.py" this: from twisted.python import plugin with this: from twisted import plugin
dev-python/ldaptor is no longer in the tree, closing