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] xen new throws python error

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen new throws python error
From: Kai Schaetzl <maillists@xxxxxxxxxxxxx>
Date: Wed, 02 Apr 2008 01:31:08 +0200
Delivery-date: Tue, 01 Apr 2008 16:31:59 -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>
Reply-to: xen-users@xxxxxxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I upgraded the xen packages on CentOS 5.1 with the Xen 3.2 packages from 
www.xen.org and seem to hit a few bugs in the python code of the tools. 
For instance, "xm new" creates the following error:

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/python2.4/site-packages/xen/xm/main.py", line 2531, in 
main
    _, rc = _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 = __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 
23, in ?
    from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc


I see that others had the same problem on other platforms in the past and 
where advised to install "python-xml" or such. However, there is no 
"python-xml" for CentOS and other users on the same platform do not have 
this problem. So, what can I do to fix this?

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com




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