Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » an error happened to apache2and wsgi [RSS Feed]

#1 Jan. 6, 2011 06:48:52

C.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

an error happened to apache2and wsgi


site has runned based on apache and wsgi for a long time very well,but
recently happened an error like this:
IOError: failed to write
data
mod_wsgi (pid=2716):
Exception occurred processing WSGI script '/usr/local/src/config/
mywsgi.wsgi'.



--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Jan. 6, 2011 07:23:31

Graham D.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

an error happened to apache2and wsgi


Which generally indicates that the HTTP client closed the connection before
all of the response could be written back.

There is no traceback because it is occurring after Django has returned the
response and mod_wsgi is trying to write/flush it back to HTTP client.

By rights the 'Exception occurred' message should come before the IOError
line. I haven't looked yet why it isn't. :-(

Graham

On Thursday, January 6, 2011 5:48:44 PM UTC+11, CCC wrote:
>
> site has runned based on apache and wsgi for a long time very well,but
> recently happened an error like this:
> IOError: failed to write
> data
> mod_wsgi (pid=2716):
> Exception occurred processing WSGI script '/usr/local/src/config/
> mywsgi.wsgi'.
>
>
>
>

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#3 Jan. 7, 2011 00:47:00

Sells, F.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

an error happened to apache2and wsgi


I've seen similar errors if I left in print >>sys.stderr statements,
although that was using mod_python.



From: django-users@googlegroups.com
On Behalf Of Graham Dumpleton
Sent: Thursday, January 06, 2011 2:23 AM
To: django-users@googlegroups.com
Subject: Re: an error happened to apache2and wsgi



Which generally indicates that the HTTP client closed the connection
before all of the response could be written back.



There is no traceback because it is occurring after Django has returned
the response and mod_wsgi is trying to write/flush it back to HTTP
client.



By rights the 'Exception occurred' message should come before the
IOError line. I haven't looked yet why it isn't. :-(



Graham

On Thursday, January 6, 2011 5:48:44 PM UTC+11, CCC wrote:

site has runned based on apache and wsgi for a long time very well,but
recently happened an error like this:
IOError: failed to write
data
mod_wsgi (pid=2716):
Exception occurred processing WSGI script '/usr/local/src/config/
mywsgi.wsgi'.




--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

  • Root
  • » Django
  • » an error happened to apache2and wsgi [RSS Feed]

Board footer

Moderator control

Enjoy the 19th of October
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support