Re: [modwsgi] Re: weird intermittent error with apache2 and mod_wsgi

Chris Withers <[email protected]>
Newsgroups gmane.comp.web.zope.devel,gmane.comp.python.mod_wsgi,gmane.comp.web.zope.repoze.devel
Message-ID <[email protected]>
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
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.