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

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

Hi, Jan,


            Thank You very much, it helped. Should not be this package written as a required one for Xen? I did not seen it in the documentation... I only seen there is necessary to have python, python-twisted, nothing more from python area..


                        With best regards, Artur.



From: Jan de Haan [mailto:haan.j.de@xxxxxxxxx]
Sent: Monday, July 09, 2007 7:40 PM
To: Artur Linhart - Linux communication
Cc: xen-users@xxxxxxxxxxxxxxxxxxx; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Import Error after starting "xm new"


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-users mailing list



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