Bug 459113

Summary: TurboGears requires wrong CherryPy version
Product: [Fedora] Fedora Reporter: Ralf Ertzinger <redhat-bugzilla>
Component: TurboGearsAssignee: Luke Macken <lmacken>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: a.badger, fschwarz, pfrields, tkuratom
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-17 03:36:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ralf Ertzinger 2008-08-14 14:39:13 UTC
Description of problem:
TurboGears, in /usr/lib/python2.5/site-packages/TurboGears-1.0.4.4-py2.5.egg-info/requires.txt states:

CherryPy >= 2.3.0,<3.0.0alpha

This effectively prevents any TG project from starting, as the CherryPy shipped in Rawhide is 3.0.2 (or thereabouts)

Version-Release number of selected component (if applicable):
TurboGears-1.0.4.4-3.fc10

How reproducible:
Always

Steps to Reproduce:
1. Create a new TG project
2. try to start it
3.
  
Actual results:
scary looking python backtrace

Expected results:
started project

Additional info:

Comment 1 Felix Schwarz 2008-08-14 18:25:57 UTC
Fedora ships python-cherrypy (which has cherrypy 3) and python-cherrypy2. I don't have a rawhide system available currently but the TurboGears spec file [1] states  that the package requires python-cherrypy2 explicitly. The generated TurboGears rpm in /development has the correct requires.

Is python-cherrypy installed on your machine too? Did you try to remove python-cherrypy (if installed) and install python-cherrypy2 with yum?

For parallel installations of CherrPy 2+3, see [2].

[1] http://cvs.fedoraproject.org/viewcvs/devel/TurboGears/TurboGears.spec?rev=1.38&view=auto
[2] http://cvs.fedoraproject.org/viewcvs/rpms/python-cherrypy2/F-9/README.fedora?view=markup

Comment 2 Ralf Ertzinger 2008-08-14 19:14:12 UTC
Right, I had python-cherrypy and python-cherrypy2 installed (for reasons I can't fathom right now).

Removing python-cherrypy fixed things. Thanks!

Comment 3 Toshio Kuratomi 2008-09-17 03:36:54 UTC
Thanks guys!