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

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

To: "'Jan de Haan'" <haan.j.de@xxxxxxxxx>
Subject: [Xen-users] RE: [Xen-devel] Import Error after starting "xm new"
From: "Artur Linhart" <Artur.Linhart@xxxxxxxxxxx>
Date: Tue, 10 Jul 2007 14:59:19 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 10 Jul 2007 10:07:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <852c643e0707091040r4ebb020fl6c10ec561f212a3@xxxxxxxxxxxxxx>
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>
References: <007901c7c245$b31a3680$6d58a8c0@xxxxxxxxxxxxxxxxxxxxxxxxx> <852c643e0707091040r4ebb020fl6c10ec561f212a3@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfCT+Qx+ZdZbyxiRC+OHkrlwkfhHgAofgLA

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.

Sincerely,

Jan.

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

Hello,

 

            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 ?

    main.main(sys.argv)

  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

highland:~#

 

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,

 

                        Archie.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 

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