Bug 731403

Summary: fpaste server will not start properly
Product: [Fedora] Fedora EPEL Reporter: David Riches <david.r>
Component: fpaste-serverAssignee: Clint Savage <herlo1>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el5CC: herlo1, jonathansteffan, nb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-18 23:29:44 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 David Riches 2011-08-17 14:27:32 UTC
Description of problem:

Cannot start fpaste-server

Version-Release number of selected component (if applicable):

fpaste-server-0.1-3.el5

How reproducible:

every time

Steps to Reproduce:
1. install fpaste-server
2. service httpd start
3. browse to port 80 on that box
  
Actual results:

500 error in the browser, the following trace in /var/log/httpd/error_log

[Wed Aug 17 08:19:11 2011] [error] [client 81.136.170.45]     raise exceptions.ImproperlyConfigured, 'Error importing middleware %s: "%s"' % (mw_module, e)
[Wed Aug 17 08:19:11 2011] [error] [client 81.136.170.45] ImproperlyConfigured: Error importing middleware tracking.middleware: "No module named utils"
[Wed Aug 17 08:19:12 2011] [error] [client 81.136.170.45] mod_wsgi (pid=2644): Exception occurred processing WSGI script '/usr/lib/python2.4/site-packages/fpaste_server/conf/fpaste_server.wsgi'.
[Wed Aug 17 08:19:12 2011] [error] [client 81.136.170.45] Traceback (most recent call last):
[Wed Aug 17 08:19:12 2011] [error] [client 81.136.170.45]   File "/usr/lib/python2.4/site-packages/django/core/handlers/wsgi.py", line 230, in __call__
[Wed Aug 17 08:19:12 2011] [error] [client 81.136.170.45]     self.load_middleware()
[Wed Aug 17 08:19:12 2011] [error] [client 81.136.170.45]   File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py", line 42, in load_middleware
[Wed Aug 17 08:19:12 2011] [error] [client 81.136.170.45]     raise exceptions.ImproperlyConfigured, 'Error importing middleware %s: "%s"' % (mw_module, e)
[Wed Aug 17 08:19:12 2011] [error] [client 81.136.170.45] ImproperlyConfigured: Error importing middleware tracking.middleware: "No module named utils"


Expected results:

Works in browser

Additional info:

Is python 2.4 ok for fpaste-server? it seemed to pull in 2.6, yet uses 2.4

Comment 1 Clint Savage 2011-09-18 23:29:44 UTC
If you upgrade to the latest fpaste-server-0-2, this stuff goes away.

Closing this bug per a discussion already had in IRC to address these issues.

Clint