On Fri, 2006-03-24 at 11:06 -0300, Daniel Serodio wrote: 
> Matthew Good wrote:
> > Well, this is a hack I threw together to query all my Trac instances for
> > my own tickets.  This is not written to handle different users from the
> > same script, but you could use it as a starting point.  It's a WSGI app,
> > but it is currently written to use the "fcgi" module for running as a
> > FastCGI application.
> >   
> Sorry to bother you, but I'd really like to try your script, but I get a
> "ImportError: No module named fcgi". I'm using Apache 2.0.55, and I have
> mod_fastcgi 2.4.2 and mod_python 3.1.3 installed.
> 
> What python module do I have to install? Where can I get it?

The fcgi module I used is also included in Trac, so you could change the
import to:
 from trac.web._fcgi import WSGIServer

A newer version of the module is also included in flup
( http://www.saddi.com/software/flup/ ) which you can use with:
 from flup.server.fcgi import WSGIServer
or the forking version:
 from flup.server.fcgi_fork import WSGIServer

-- 
Matthew Good <[EMAIL PROTECTED]>

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to