xm crashes because of missing python lxml module
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xen (Debian) |
Fix Released
|
Unknown
|
|||
xen (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Doing apt-get install python-lxml solves the issue, however xen-tools package does not depend on python-lxml.
I'm using Ubuntu Precise Pangolin 12.04, package version is 4.2.1-1 amd64.
Here is copy and paste of terminal session:
(I added some comments with #, those are not part of the session, I've added them now for the bug report)
# I try to run xm new <configfile.cfg>
09:53|matias@
Unexpected error: <type 'exceptions.
Please report to <email address hidden>
Traceback (most recent call last):
File "/usr/lib/
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 lxml import etree
ImportError: No module named lxml
# So, this is really Python complaining about missing lxml module
# I check for xen-tools updates...
09:57|matias@
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
xen-tools ya está en su versión más reciente.
0 actualizados, 0 se instalarán, 0 para eliminar y 14 no actualizados.
# I decide to install python-lxml...
09:58|matias@
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Paquetes sugeridos:
python-lxml-dbg
Se instalarán los siguientes paquetes NUEVOS:
python-lxml
0 actualizados, 1 se instalarán, 0 para eliminar y 14 no actualizados.
Necesito descargar 662 kB de archivos.
Se utilizarán 2.202 kB de espacio de disco adicional después de esta operación.
Des:1 http://
Descargados 662 kB en 27seg. (23,7 kB/s)
Seleccionando paquete python-lxml previamente no seleccionado
(Leyendo la base de datos ... 235463 ficheros o directorios instalados actualmente.)
Desempaquetando python-lxml (de .../python-
Configurando python-lxml (2.3.2-1) ...
# Now I run xm again...
10:00|matias@
Using config file "./ubuntu1204.cfg".
# And succeeded
10:00|matias@
I've checked package dependencies for xen-tools too:
Depends: debootstrap | cdebootstrap, perl-modules, libtext-
Changed in xen (Debian): | |
status: | Unknown → Won't Fix |
Changed in xen (Debian): | |
status: | Won't Fix → Fix Released |
Not a problem of xen-tools but xen itself