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] Re: [Xen-changelog] [PATCH] Make non-native python pathh

To: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-changelog] [PATCH] Make non-native python pathhandling a
From: Ryan Harper <ryanh@xxxxxxxxxx>
Date: Mon, 18 Apr 2005 18:50:54 -0500
Cc: Ryan Harper <ryanh@xxxxxxxxxx>, Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 18 Apr 2005 23:53:13 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3C1D@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3C1D@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
* Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx> [2005-04-18 18:21]:
>  > > -# Default install path for Xen binary packages.
> > > -sys.path = [ '/usr/lib/python' ] + sys.path
> > > +# add fallback path for non-native python path installs if needed
> > > +sys.path.append('/usr/lib/python')
> > >  from xen.xend.server import SrvDaemon
> > >  
> > >  class CheckError(ValueError):
> > 
> > This patch breaks xend in unstable for me.  With the above 
> > patch applied, xend fails to start and dumps the following in
> > /var/log/xend-debug.log:
> 
> Are you sure you haven't got an old installation under
> /usr/lib/python2.3/site-packages/ (substitute your python version)?

mmm, legacy...  Removing that directory fixed it.  Thanks.

-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@xxxxxxxxxx

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

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