#9903 closed enhancement (fixed)
Trac with cherokee, unmet dependency
Reported by: | 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 |
||
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
Attachments (0)
Change History (10)
comment:1 by , 14 years ago
Keywords: | documentation added |
---|---|
Milestone: | → unscheduled |
comment:2 by , 14 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 , 9 years ago
Type: | defect → enhancement |
---|
Because the installation feature has been documented in TracFastCgi and given the specificity of the issue, marking this as an enhancement.
comment:4 by , 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 , 7 years ago
Milestone: | unscheduled → 1.0.16 |
---|---|
Owner: | set to |
Release Notes: | modified (diff) |
Status: | new → assigned |
comment:6 by , 7 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
comment:7 by , 7 years ago
main
in trac.web.standalone
doesn't call translation.activate(get_console_locale())
. The main
shouldn't call it. Therefore, the following message never be localized.
except ImportError: printerr(_("Install the flup package to use the '%(protocol)s' " "protocol", protocol=options.protocol)) sys.exit(1)
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.