From: Hollis Blanchard Subject: Re: xmlrpclib.ProtocolError: Date: Wed, 09 Aug 2006 10:24:58 -0500 Message-ID: <1155137098.2821.17.camel@diesel> References: <1155086643.30116.296.camel@basalt.austin.ibm.com> <20060809083755.GA19705@leeni.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060809083755.GA19705@leeni.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ewan Mellor Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, 2006-08-09 at 09:37 +0100, Ewan Mellor wrote: > > > Could we get a little better error-handling here? I don't know what > the > > right way is to detect that the other end of the XMLRPC connection > has > > gone away. > > I've put a catch into main.py for xmlrpclib.ProtocolError, which at > least will be a bit prettier. In the longer term, we might want to > consider some retry behaviour, but that can come later. Thanks Ewan, the patch you committed looks helpful for those of us breaking python modules... ;) -- Hollis Blanchard IBM Linux Technology Center