29 Jul 16:33
Re: xappy causes deadlock with apache/mod_python
I compiled the new version of mod_wsgi, configured it, and it works! I guess mod_wsgi is going to replace mod_python throughout our production env Thanks Graham! On Jul 29, 3:37 pm, Graham Dumpleton <Graham.Dumple...@...> wrote: > On Jul 29, 9:59 pm, nimrod <nsteinb...@...> wrote: > > > > > Hi, > > I developed a xappy/xapian based app using django. While running on > > the django dev server all is well, but when deploying with apache the > > server goes into a deadlock (waiting for localhost...). When I remove > > the "import xappy" line from my code it runs just fine. > > > Looking here:http://trac.xapian.org/ticket/185 > > It seems that I have to use: > > PythonInterpreter main_interpreter > > in my apache config file for using xapian. I tried that - no good > > Looking some more I saw in the same report: > > "Even with main_interpreter and Python >= 2.4, calling from Xapian's C+ > > + code back to Python code won't work properly Even with > > main_interpreter and Python >= 2.4 (this means that you can't subclass > > Xapian objects in Python). " > > > I guess xappy is doing just that (i.e., subclassing xapian classes) > > and thus is not usable with mod_python.(Continue reading)
RSS Feed