Red Hat Bugzilla – Bug 471830
ipa_webgui won't start if python-cherrypy is installed
Last modified: 2009-06-23 18:23:25 EDT
Description of problem:
If python-cherrypy (3.x) is installed, ipa_webgui won't start. This is due to setuptools not being able to find the python-cherrypy2 package in this case.
In order to reproduce and test this, do:
yum install -y python-cherrypy ipa-server
failed to start web gui: (CherryPy 3.0.3 (/usr/lib/python2.5/site-packages), Requirement.parse('CherryPy>=2.3.0,<3.0.0alpha'))
2008-11-16 18:31:35,463 root ERROR failed to start web gui: (CherryPy 3.0.3 (/usr/lib/python2.5/site-packages), Requirement.parse('CherryPy>=2.3.0,<3.0.0alpha'))
File "/usr/sbin/ipa_webgui", line 196, in <module>
File "/usr/sbin/ipa_webgui", line 157, in main
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 626, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 528, in resolve
raise VersionConflict(dist,req) # XXX put more info here
The attached one line patch will make this work by having the ipa_webgui script say it requires turbogears before any imports are performed.
I see no patch attached.
Created attachment 323774 [details]
Sorry. Don't know if it was user error or bugzilla glitch. here's the patch.
This bug has been triaged
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
Fixed in bug #505686