Re: infrae.wsgi error in apache error log

Sylvain Viollon <[email protected]> Mon, 29 Aug 2011 18:33:26 +0200
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Op 29 aug 2011, om 16:28 heeft Andrew Altepeter het volgende geschreven:

> Greetings Devs,
> 
  Hello,


> We're running Silva 2.3 (infrae.wsgi 1.3), Apache 2.2.3, mod_wsgi 3.3.  In
> the apache error logs, at times we see the following output:
> 
> [Mon Aug 29 09:15:27 2011] [error] [client xxx] mod_wsgi (pid=26274):
> Exception occurred processing WSGI script
> '/home/zope/silva23/buildout/parts/mod_wsgi_app/wsgi'.
> [Mon Aug 29 09:15:27 2011] [error] [client xxx] TypeError: sequence of byte
> string values expected, value of type WSGIResponse found
> 
> It appears that these two lines are pairs, and are repeated intermittently
> throughout the day.
> 
> I am unsure what request is causing this error, and have not been able to
> reproduce.  I think that this error is a result of infrae.wsgi returning a
> WSGIResponse rather than a string, which is a violation of the wsgi spec.  I
> also think that this is likely happening due to some error condition within
> zope, but I haven't been able to track it down.
> 
> Any idea what's going on?
> 

  I am aware if this error, however I don't what triggers it.

  Apparently, using some Zope 2 magic, return a response object is considered valid in Zope (or set the response body with the response object).

   I you can determine what URL does this, I will be happy. I don't think it is anything in Silva. (it is basic Zope thing).

  Regards,

  Sylvain,




-- 
Sylvain Viollon -- Infrae
t +31 10 243 7051 -- http://infrae.com
Hoevestraat 10 3033GC Rotterdam -- The Netherlands