On Tue, 2012-04-24 at 23:59 +0100, John McCabe wrote:> root@pr-prodxen:/home/jmccabe# xm new test1.utopiaimage.local
> Unexpected error: <type ''exceptions.ImportError''>
>
> Please report to xen-devel@lists.xensource.com
> Traceback (most recent call last):
> File "/usr/lib/xen-4.0/bin/xm", line 8, in <module>
> main.main(sys.argv)
> File "/usr/lib/xen-4.0/lib/python/xen/xm/main.py", line 3620,
in main
> _, rc = _run_cmd(cmd, cmd_name, args)
> File "/usr/lib/xen-4.0/lib/python/xen/xm/main.py", line 3644,
in _run_cmd
> return True, cmd(args)
> File "<string>", line 1, in <lambda>
> File "/usr/lib/xen-4.0/lib/python/xen/xm/main.py", line 1449,
in
> xm_importcommand
> cmd = __import__(command, globals(), locals(),
''xen.xm'')
> File "/usr/lib/xen-4.0/lib/python/xen/xm/new.py", line 26, in
<module>
> from xen.xm.xenapi_create import *
> File "/usr/lib/xen-4.0/lib/python/xen/xm/xenapi_create.py",
line 22,
> in <module>
> from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
> ImportError: No module named xmlproc
You appear to be missing whichever package provides xmlproc (python-xml
perhaps?)
Ian.