missing dependency: python-xml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xen-3.1 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned | ||
xen-3.2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Running the command: xm new testdom.cfg
Results in the following:
Unexpected error: <type 'exceptions.
Please report to <email address hidden>
Traceback (most recent call last):
File "/usr/sbin/xm", line 10, in <module>
main.
File "/usr/lib/
_, rc = _run_cmd(cmd, cmd_name, args)
File "/usr/lib/
return True, cmd(args)
File "<string>", line 1, in <lambda>
File "/usr/lib/
cmd = __import__(command, globals(), locals(), 'xen.xm')
File "/usr/lib/
from xen.xm.
File "/usr/lib/
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.
Changed in xen-3.1: | |
status: | In Progress → Confirmed |
This is fixed in the hardy version.