[Zope-dev] [modwsgi] Re: weird intermittent error with apache2 and mod_wsgi
Chris Withers
chris at simplistix.co.uk
Tue Jun 28 12:24:44 EDT 2011
On 27/06/2011 17:31, Tres Seaver wrote:
> "Let me google that for you":
>
> - - http://mail.zope.org/pipermail/zodb-dev/2009-June/012607.html
>
> - -
> http://mediacore.com/blog/hosting-multiple-wsgi-applications-with-apache/
>
> - - http://trac.edgewall.org/ticket/3371
Adding:
WSGIApplicationGroup %{GLOBAL}
...to my httpd.conf before the virtualhosts section made no difference.
Still works fine for a while, then starts randomly and inconsistently
spitting exceptions, this time:
mod_wsgi (pid=22471): Exception occurred processing WSGI script
'/...mod_wsgi'.
Traceback (most recent call last):
File "...bin/mod_wsgi", line 34, in <module>
from aircon.web import make_app
File "...aircon/web.py", line 7, in <module>
from repoze.bfg.configuration import Configurator
ImportError: No module named bfg.configuration
I must stress again, this is intermittent, it'll work for a while, then
fail for a few requests, then more so until Apache is restarted.
(bfg.configuration is most certainly there and on the python path...)
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope-Dev
mailing list