Bug 731403 - fpaste server will not start properly
Summary: fpaste server will not start properly
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: fpaste-server
Version: el5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Clint Savage
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-17 14:27 UTC by David Riches
Modified: 2011-09-18 23:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-18 23:29:44 UTC


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.