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/
Home Products Support Community News


[Xen-users] Import Error after starting "xm new"

To: <xen-users@xxxxxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Import Error after starting "xm new"
From: "Artur Linhart - Linux communication" <AL.LINUX@xxxxxxxxxxx>
Date: Mon, 9 Jul 2007 18:25:00 +0200
Delivery-date: Mon, 09 Jul 2007 09:23:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfCRaQQpicF3dP2Tr+58LjVW87fdg==



            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-users mailing list
<Prev in Thread] Current Thread [Next in Thread>