WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] xmlrpclib.ProtocolError: <ProtocolError for /RPC2: -1 >

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xmlrpclib.ProtocolError: <ProtocolError for /RPC2: -1 >
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Wed, 09 Aug 2006 10:24:58 -0500
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 09 Aug 2006 08:25:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060809083755.GA19705@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
References: <1155086643.30116.296.camel@xxxxxxxxxxxxxxxxxxxxx> <20060809083755.GA19705@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>