Edgewall Software

Opened 13 years ago

Closed 7 years ago

Last modified 7 years ago

#9903 closed enhancement (fixed)

Trac with cherokee, unmet dependency — at Version 6

Reported by: jevgenij.tsoi@… Owned by: Ryan J Ollos
Priority: normal Milestone: 1.0.17
Component: web frontend/tracd Version: 0.12-stable
Severity: normal Keywords: documentation cherokee flup
Cc: Branch:
Release Notes:

Message is emitted when flup package is not installed and using scgi, ajp or fcgi protocol with TracStandalone.

API Changes:
Internal Changes:

Description

Hej!

I was installing trac with cherokee, following instructions on TracFastCgi. I could not get tracd to start. Cherokee was giving me 503 errors.

Running tracd by hand, i got this trace:

Traceback (most recent call last):
  File "/usr/local/bin/tracd", line 9, in <module>
    load_entry_point('Trac==0.12', 'console_scripts', 'tracd')()
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/web/standalone.py", line 290, in main
    serve()
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/web/standalone.py", line 272, in serve
    None, None, ['']).WSGIServer
ImportError: No module named flup.server.scgi

Anyway, installing python-flup fixed the problem. But it was in no way obvious.

I don't know, maybe you could add some directions in the scgi section, on this dependency.

Setup: Ubuntu 10.10 server python 2.6 trac 0.12 installed via easy_install cherokee 1.0.12 installed via ubuntu ppa

Thank you for a great app! /JT

Change History (6)

comment:1 by Christian Boos, 13 years ago

Keywords: documentation added
Milestone: unscheduled

Yes, the support for scgi and ajp via flup in tracd has somewhat sneaked in without being documented (r3081). Feel free to help improve the documentation, the TracFastCgi page is editable by all.

comment:2 by jevgenij.tsoi@…, 13 years ago

TracFastCgi has been modified to reflect this dependency.

I do not know if this is needed for other protocol types. If so, it might be a good idea to make python-flup an explicit dependency.

comment:3 by figaro, 9 years ago

Type: defectenhancement

Because the installation feature has been documented in TracFastCgi and given the specificity of the issue, marking this as an enhancement.

comment:4 by Ryan J Ollos, 9 years ago

We could wrap the import statement in a try / except and report that python-flup needs to be installed when an ImportError is raised. Other than that, I don't see any actions that needs to be taken for this ticket.

comment:5 by Ryan J Ollos, 7 years ago

Milestone: unscheduled1.0.16
Owner: set to Ryan J Ollos
Release Notes: modified (diff)
Status: newassigned

comment:6 by Ryan J Ollos, 7 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Fixed on 1.0-stable in r16276, merged in r16277, r16278.

Note: See TracTickets for help on using tickets.