Public bug reported:
Running the command: xm new testdom.cfg
Results in the following:
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 2453, in main
_, rc = _run_cmd(cmd, cmd_name, args)
File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 2477, 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 1265, 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
To fix I ran: sudo apt-get install python-xml
The command worked fine after that. So it appears that some xm commands
depend on the python-xml package being installed. Seems like it would
make sense to make it a dependency. It might help reduce the number of
bugs being reported.
** Affects: xen-3.1 (Ubuntu)
Importance: Undecided
Status: New
--
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 the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs