Ian Pratt
2005-Apr-18 23:22 UTC
RE: [Xen-devel] Re: [Xen-changelog] [PATCH] Make non-native python pathhandling a
> > -# 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)? Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ryan Harper
2005-Apr-18 23:50 UTC
Re: [Xen-devel] Re: [Xen-changelog] [PATCH] Make non-native python pathhandling a
* Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk> [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@us.ibm.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel