[Zope3-dev] asyncore buf in FTP

Guido van Rossum guido@python.org
Fri, 20 Dec 2002 16:43:14 -0500


> I've been seeing this error pretty regularly today.
> 
> Jeremy
> 
> error: uncaptured python exception, closing channel <Zope.Server.FTP.FTPServerChannel.FTPServerChannel connected 127.0.0.1:1427 at 0x4153361c> (socket.error:(32, 'Broken pipe') [/usr/home/jeremy/src/Zope3/build/lib.linux-i686-2.3/Zope/Server/DualModeChannel.py|inner_handle_read|100] [/usr/local/lib/python2.3/asyncore.py|recv|352])

I think I know what this is.  This is a message logged by asyncore
when it gets an unexpected exception from a handler.  In the past,
these were redirected to zLOG.  I didn't quite understand the code
that was doing that (there were no comments explaining that it was a
module designed to have a side effect of being imported) so I ripped
it out.  I'll reinstate it once I figure out how to do it.

--Guido van Rossum (home page: http://www.python.org/~guido/)