Hi there,
now that trac 0.9 supports a fcgi-interface I'm trying to run it through litespeed this way.
Their documentation for that is on this page http://projects.edgewall.com/trac/wiki/TracFastCgi .
I'm getting strange errors and I'm not sure if its litespeed-related or some general problem in trac or the python-fcgi libraries.
The errors look like the following:
Oops...
Trac detected an internal error:
not indexable
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/fcgi_frontend.py", line 40, in _handler
dispatch_request(req.path_info, req, env)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 84, in dispatch
populate_hdf(req.hdf, self.env, req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 193, in populate_hdf
for arg in [k for k in req.args.keys() if k]:
File "/usr/lib/python2.4/cgi.py", line 601, in keys
raise TypeError, "not indexable"
TypeError: not indexable
----
I tried it in two different ways ...
once I created an fcgi-context pointing some specific url to the fcgi-app.
another try was with a static context pointing to the cgi-bin directory and adding the .fcgi to the handler for the fcgi-app.
any ideas or does that error ring a bell for someone?
now that trac 0.9 supports a fcgi-interface I'm trying to run it through litespeed this way.
Their documentation for that is on this page http://projects.edgewall.com/trac/wiki/TracFastCgi .
I'm getting strange errors and I'm not sure if its litespeed-related or some general problem in trac or the python-fcgi libraries.
The errors look like the following:
Oops...
Trac detected an internal error:
not indexable
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/fcgi_frontend.py", line 40, in _handler
dispatch_request(req.path_info, req, env)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 84, in dispatch
populate_hdf(req.hdf, self.env, req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 193, in populate_hdf
for arg in [k for k in req.args.keys() if k]:
File "/usr/lib/python2.4/cgi.py", line 601, in keys
raise TypeError, "not indexable"
TypeError: not indexable
----
I tried it in two different ways ...
once I created an fcgi-context pointing some specific url to the fcgi-app.
another try was with a static context pointing to the cgi-bin directory and adding the .fcgi to the handler for the fcgi-app.
any ideas or does that error ring a bell for someone?