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

[Xen-users] xen new throws python error



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


 


Rackspace

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