On Wed, 28 Jun 2006, Lee McFadden wrote:

Yes.  At the moment PyLucene won't work within a CherryPy (and
therefore TG) app due to the issues with threading.  There is
currently no work around (that I know of at least) other than running
PyLucene seperately.

Is CherryPy using Twisted ? If so, there sure is a way. We've been able to do
this in Chandler by customizing the thread pool.

http://svn.osafoundation.org/chandler/trunk/chandler/parcels/osaf/framework/twisted/TwistedThreadPool.py

The RepositoryThread class used in this file is a subclass of PyLucene.PythonThread.

Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to