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] No sxputils module for xm command

To: "Xu, Jiajun" <jiajun.xu@xxxxxxxxx>
Subject: Re: [Xen-devel] No sxputils module for xm command
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Mon, 26 Apr 2010 07:26:25 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Sun, 25 Apr 2010 22:27:17 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1272259588; x=1303795588; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; z=Message-ID:=20<4BD52401.5020604@xxxxxxxxxxxxxx>|Date:=20 Mon,=2026=20Apr=202010=2007:26:25=20+0200|From:=20Juergen =20Gross=20<juergen.gross@xxxxxxxxxxxxxx>|MIME-Version: =201.0|To:=20"Xu,=20Jiajun"=20<jiajun.xu@xxxxxxxxx>|CC: =20"xen-devel@xxxxxxxxxxxxxxxxxxx"=20<xen-devel@xxxxxxxxx source.com>,=20=0D=0A=20Keir=20Fraser=20<keir.fraser@xxxx itrix.com>|Subject:=20Re:=20[Xen-devel]=20No=20sxputils =20module=20for=20xm=20command|References:=20<D5AB6E638E5 A3E4B8F4406B113A5A19A1D8CBB53@xxxxxxxxxxxxxxxxxxxxxxxxxxx m>|In-Reply-To:=20<D5AB6E638E5A3E4B8F4406B113A5A19A1D8CBB 53@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>; bh=9kSIqUi+IzPjZncVAGAzRuY8fvDSAbWup+PKe2fvyHI=; b=CdcdhYiZdYvPgI5Jap5cdaPmQhh6k5/sI9GaM+Uza46hFIWNuq7xUl+8 Igk2DtA25/a51VDqH9vIH1mIAOvP/S1y4gUk1kmO0xTmspkhVHjAfJbq5 KNNgtKAFZjTgHfgh2LdoaZS/Nxu8y7vZJrZuFu+jqSPKQ56vxv/PGQFR3 0Aj+LW83sFrEdTDESVn9xdpuJcnOE7fycg22kGfoggHMabh7WZTZdDWKi xZgqRtJigqQBI0dd+RctuLCoCXC7/;
Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=J9WTZfLiNh6+0mT6l4jrwJpUNQyL6pqETadxqmYd1ZpLJtGP6G4mLJ5S yz1UyEEE1e2m91XvKrBf6U6fq2Gnt+u7lAaGToAhGvpGAuQ/MQtx62Z30 YO/uRVevEVmVHSaWLD8QJkF0wIe+oTqSsX0xrYEuhWnezfm8SijkXXWBl KyW060mp2rfIYZbth72bpzS6fANqr+NkAx7OCA9rW3fEX4FVktdjJYL2C jqxMoE+7DwmXh3C0UHbGKJD84cItE;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <D5AB6E638E5A3E4B8F4406B113A5A19A1D8CBB53@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Fujitsu Technology Solutions
References: <D5AB6E638E5A3E4B8F4406B113A5A19A1D8CBB53@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100411 Icedove/3.0.4
On 04/23/2010 05:49 PM, Xu, Jiajun wrote:
Hi,
I found with latest xen, 'xm' command returns fail with following error:

[root@vt-dp6 ~]# xm list
Traceback (most recent call last):
   File "/usr/sbin/xm", line 5, in ?
     from xen.xm import main
   File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 59, in ?
     from xen.util.sxputils import sxp2map, map2sxp as map_to_sxp
ImportError: No module named sxputils

Could anyone help on this?
Thanks a lot.

Sorry, the attched patch should correct that.
The module slipped through my cpupool patch (no hg add).
Now I've deleted all xen python modules on my test machine before doing a new
install. Seems to work now...


Juergen

--
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@xxxxxxxxxxxxxx
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html

Attachment: sxputils.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>