[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Import Error after starting "xm new"

  • To: "Artur Linhart - Linux communication" <AL.LINUX@xxxxxxxxxxx>
  • From: "Jan de Haan" <haan.j.de@xxxxxxxxx>
  • Date: Mon, 9 Jul 2007 19:40:29 +0200
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 09 Jul 2007 10:38:18 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=gykGAfCx1AJoUaqnPmd+ZPfdzbZWfwJmQZOV0HUv++xZuH6guDQ7XvFcaNSDriN3rOjHK2dmLxsL5kzB1gR+9YDJeaivJjy2eF3Cps35DdUQ0AZQ39VGYtBGvcDYp8/YJQbThSLbaC7LUJlPcYdeRyvM0a1JuuBIiy3T57Cq6Ew=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi Artur,

   try "apt-get install python-xml" as root.

   You may be missing other packages as well.



On 7/9/07, Artur Linhart - Linux communication <AL.LINUX@xxxxxxxxxxx> wrote:



            I have following error bz adding the domain to the xend management:


highland:~# xm new vm_w2ksrv_ORACLE10

Unexpected error: exceptions.ImportError


Please report to xen-devel@xxxxxxxxxxxxxxxxxxx

Traceback (most recent call last):

  File "/usr/sbin/xm", line 10, in ?


  File "/usr/lib/python/xen/xm/main.py", line 2453, in main

    _, rc = _run_cmd(cmd, cmd_name, args)

  File "/usr/lib/python/xen/xm/main.py", line 2477, in _run_cmd

    return True, cmd(args)

  File "<string>", line 1, in <lambda>

  File "/usr/lib/python/xen/xm/main.py", line 1265, in xm_importcommand

    cmd = __import__(command, globals(), locals(), 'xen.xm')

  File "/usr/lib/python/xen/xm/new.py", line 26, in ?

    from xen.xm.xenapi_create import *

  File "/usr/lib/python/xen/xm/xenapi_create.py", line 23, in ?

    from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd

ImportError: No module named xmlproc



As writen above, I report it. What could be the reason_ I have Debian Etch as Dom0, have installed Python 2.4 on it.

Use Xen 3.1.0 with the binary tarball kernel kernel 2.6.18-xen


What can I do to prevent this problem?


            With best regards,



Xen-devel mailing list

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.