[Moin-user] RequestModPy.run exceptions with Apache 2.0.52/mod_python 3.1.3/moin 1.3.1

Albert Chin moin-user at mlists.thewrittenword.com
Fri Jan 14 10:09:13 EST 2005


I've configured moin-1.3.1 on Apache-2.0.52/mod_python 3.1.3/Python
2.3.2. When accessing the wiki via lynx, everything works ok. However,
when accessing with Mozilla-1.7.3 or Firefox-1.0, I get the following
in error_log:
  [error] PythonHandler MoinMoin.request::RequestModPy.run: Traceback (most recent call last):, referer: http://sunday/wiki
  [error] PythonHandler MoinMoin.request::RequestModPy.run:   File "/opt/TWWfsw/modpython313/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch, referer: http://sunday/wiki
  [error] PythonHandler MoinMoin.request::RequestModPy.run:   File "/opt/TWWfsw/moin13/lib/MoinMoin/request.py", line 1596, in run\n    return RequestBase.run(self), referer: http://sunday/wiki
  [error] PythonHandler MoinMoin.request::RequestModPy.run:   File "/opt/TWWfsw/moin13/lib/MoinMoin/request.py", line 816, in run\n    self.write(u"\\n<!-- ERROR REPORT FOLLOWS -->\\n"), referer: http://sunday/wiki
  [error] PythonHandler MoinMoin.request::RequestModPy.run:   File "/opt/TWWfsw/moin13/lib/MoinMoin/request.py", line 1609, in write\n    self.mpyreq.write(self.encode(data)), referer: http://sunday/wiki
  [error] PythonHandler MoinMoin.request::RequestModPy.run: IOError: Write failed, client closed connection., referer: http://sunday/wiki
  [error] PythonHandler MoinMoin.request::RequestModPy.run: Traceback (most recent call last):, referer: http://sunday/wiki
  [error] PythonHandler MoinMoin.request::RequestModPy.run:   File "/opt/TWWfsw/modpython313/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch, referer: http://sunday/wiki
  [error] PythonHandler MoinMoin.request::RequestModPy.run:   File "/opt/TWWfsw/moin13/lib/MoinMoin/request.py", line 1596, in run\n    return RequestBase.run(self), referer: http://sunday/wiki
  [error] PythonHandler MoinMoin.request::RequestModPy.run:   File "/opt/TWWfsw/moin13/lib/MoinMoin/request.py", line 816, in run\n    self.write(u"\\n<!-- ERROR REPORT FOLLOWS -->\\n"), referer: http://sunday/wiki
  [error] PythonHandler MoinMoin.request::RequestModPy.run:   File "/opt/TWWfsw/moin13/lib/MoinMoin/request.py", line 1609, in write\n    self.mpyreq.write(self.encode(data)), referer: http://sunday/wiki
  [error] PythonHandler MoinMoin.request::RequestModPy.run: IOError: Write failed, client closed connection., referer: http://sunday/wiki

This is similar to:
  http://moinmoin.wikiwikiweb.de/MoinMoinBugs/ModPyErrorHandlerBroken?highlight=%28ModPyErrorHandlerBroken%29

Anyone else experiencing this with a solution?

Enabling PythonDebug doesn't matter as IOError errors always log to
error_log
(http://www.modpython.org/live/current/doc-html/dir-other-pd.html).

-- 
albert chin (china at thewrittenword.com)




More information about the Moin-user mailing list