From: Keir Fraser Subject: Re: xen source (xm new machinename) Date: Sun, 18 May 2008 12:55:34 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2092777445==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: David Hl=?ISO-8859-2?B?4eg=?=ik , Xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============2092777445== Content-type: multipart/alternative; boundary="B_3293960137_22554217" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3293960137_22554217 Content-type: text/plain; charset="ISO-8859-2" Content-transfer-encoding: quoted-printable You probably need to install a PyXML package from the Centos distribution. -- Keir On 18/5/08 12:31, "David Hl=E1=E8ik" wrote: > Hi, i am running Centos5.1 i386, with xen3.2.0 compiled from source rpms > provided on xen.org . As dom0 kernel i am using centos-x= en > kernels. > When i am trying to add new machine to xen source using xm new, this is w= hat i > get : > =20 > [root@xxx /]# xm new centos01 > Unexpected error: exceptions.ImportError > Please report to xen-devel@lists.xensource.com > Traceback (most recent call last): > File "/usr/sbin/xm", line 10, in ? > main.main(sys.argv) > File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 2531, in m= ain > _, rc =3D _run_cmd(cmd, cmd_name, args) > File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 2555, in > _run_cmd > return True, cmd(args) > File "", line 1, in > File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 1308, in > xm_importcommand > cmd =3D __import__(command, globals(), locals(), 'xen.xm') > File "/usr/lib/python2.4/site-packages/xen/xm/new.py", line 26, in ? > from xen.xm.xenapi_create import * > File "/usr/lib/python2.4/site-packages/xen/xm/xenapi_create.py", line 2= 3, in > ? > from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd > ImportError: No module named xmlproc > =20 > domU machines run using xm create machinename works fine. > =20 > Thanks for help! >=20 > D. >=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel --B_3293960137_22554217 Content-type: text/html; charset="ISO-8859-2" Content-transfer-encoding: quoted-printable Re: [Xen-devel] xen source (xm new machinename) You p= robably need to install a PyXML package from the Centos distribution.

 -- Keir

On 18/5/08 12:31, "David Hlá=E8ik" <david@hlacik.eu> w= rote:

Hi, i am running Centos5.1 i386, with xen3.2.0 compiled= from source rpms provided on xen.org <http://xe= n.org> . As dom0 kernel i am using centos-xen kernels.
When i am trying to add new machine to xen source using xm new, this is wha= t i get :
 
[root@xxx /]# xm new centos01
Unexpected error: exceptions.ImportError
Please report to xen-devel@lists.xensource.com
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in ?
    main.main(sys.argv)
  File "/usr/lib/python2.4/site-packages/xen/xm/main.py"= ;, line 2531, in main
    _, rc =3D _run_cmd(cmd, cmd_name, args)
  File "/usr/lib/python2.4/site-packages/xen/xm/main.py"= ;, line 2555, in _run_cmd
    return True, cmd(args)
  File "<string>", line 1, in <lambda>
  File "/usr/lib/python2.4/site-packages/xen/xm/main.py"= ;, line 1308, in xm_importcommand
    cmd =3D __import__(command, globals(), locals(), 'xen= .xm')
  File "/usr/lib/python2.4/site-packages/xen/xm/new.py"= , line 26, in ?
    from xen.xm.xenapi_create import *
  File "/usr/lib/python2.4/site-packages/xen/xm/xenapi_creat= e.py", line 23, in ?
    from xml.parsers.xmlproc import xmlproc, xmlval, xm= ldtd
ImportError: No module named xmlproc
 
domU machines run using xm create machinename works fine.
 
Thanks for help!

D.


____________________= ___________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/x= en-devel

--B_3293960137_22554217-- --===============2092777445== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============2092777445==--