This has not been fixed in the hardy heron release.

I got the same error when I originally tried to do:

# xm create

After installing python-xml, I no longer get the error when doing xm
create, but I _do_ continue to see it when using xm new:

[EMAIL PROTECTED]:/etc/xen# xm create asterisk -f /etc/xen/asterisk.cfg 
Using config file "/etc/xen/asterisk.cfg".
Started domain asterisk
[EMAIL PROTECTED]:/etc/xen# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  3375     2     r-----    514.9
asterisk                                     1   512     1     -b----      2.7

[EMAIL PROTECTED]:/etc/xen# xm new
Unexpected error: <type 'exceptions.ImportError'>

Please report to [EMAIL PROTECTED]
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in <module>
    main.main(sys.argv)
  File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 2535, in main
    _, rc = _run_cmd(cmd, cmd_name, args)
  File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 2559, in _run_cmd
    return True, cmd(args)
  File "<string>", line 1, in <lambda>
  File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 1308, in 
xm_importcommand
    cmd = __import__(command, globals(), locals(), 'xen.xm')
  File "/usr/lib/python2.5/site-packages/xen/xm/new.py", line 26, in <module>
    from xen.xm.xenapi_create import *
  File "/usr/lib/python2.5/site-packages/xen/xm/xenapi_create.py", line 23, in 
<module>
    from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc

[EMAIL PROTECTED]:/etc/xen# apt-cache policy python-xml
python-xml:
  Installed: 0.8.4-10ubuntu2
  Candidate: 0.8.4-10ubuntu2
  Version table:
 *** 0.8.4-10ubuntu2 0
        500 http://apt.hrcsb.org hardy/universe Packages
        100 /var/lib/dpkg/status

-- 
missing dependency: python-xml
https://bugs.launchpad.net/bugs/174048
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to