Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 390217

Summary: dev-python/ldaptor-0.0.43[web]: ldaptor.apps.webui.add incompatible with >=dev-python/twisted-9.0.0
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arfrever Frehtes Taifersar Arahesis 2011-11-11 21:20:11 UTC
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.
Comment 1 Mike Gilbert gentoo-dev 2012-06-11 19:19:58 UTC
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.
Comment 2 Binary Runner 2014-01-01 19:21:30 UTC
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
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2016-10-26 18:57:22 UTC
dev-python/ldaptor is no longer in the tree, closing