[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-dev
Subject:    Re: [Zope-dev] [modwsgi] Re: weird intermittent error with apache2
From:       Chris Withers <chris () simplistix ! co ! uk>
Date:       2011-06-28 16:24:44
Message-ID: 4E0A004C.3000609 () simplistix ! co ! uk
[Download RAW message or body]

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  -  Zope-Dev@zope.org
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 )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic