[Pkg-xen-devel] Bug#489325: [xen-utils-common] xm new requires python-xml to work
Laurent Léonard
laurent at open-minds.org
Fri Jul 4 23:48:15 UTC 2008
Package: xen-utils-common
Version: 3.2.0-2
Severity: normal
--- Please enter the report below this line. ---
This bug is a duplicate of the bug #487165, but I tagged it as wishlist and I
have no answer about it. But I think it should be interesting to correct it,
sorry for this.
xm new requires the python-xml package to work, perhaps it should be a
dependency of xen-utils-common ?
debian:~# xm new test.cfg
Unexpected error: <type 'exceptions.ImportError'>
Please report to xen-devel at lists.xensource.com
Traceback (most recent call last):
File "/usr/lib/xen-3.2-1/bin/xm", line 7, in <module>
main.main(sys.argv)
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 2528, in main
_, rc = _run_cmd(cmd, cmd_name, args)
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 2552, in _run_cmd
return True, cmd(args)
File "<string>", line 1, in <lambda>
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 1305, in
xm_importcommand
cmd = __import__(command, globals(), locals(), 'xen.xm')
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/new.py", line 26, in <module>
from xen.xm.xenapi_create import *
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/xenapi_create.py", line 23, in
<module>
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
debian:~# apt-get install python-xml
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
python-xml-doc python-xml-dbg
The following NEW packages will be installed:
python-xml
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/474kB of archives.
After this operation, 2548kB of additional disk space will be used.
Selecting previously deselected package python-xml.
(Reading database ... 39349 files and directories currently installed.)
Unpacking python-xml (from .../python-xml_0.8.4-10.1_amd64.deb) ...
Setting up python-xml (0.8.4-10.1) ...
debian:~# xm new test.cfg
Using config file "/etc/xen/test.cfg".
VNC= 1
--- System information. ---
Architecture: i386
Kernel: Linux 2.6.24
Debian Release: lenny/sid
1001 testing security.debian.org
1001 testing ftp.fr.debian.org
--- Package information. ---
Depends (Version) | Installed
=======================-+-===========
|
--
Laurent Léonard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20080705/99a2e49c/attachment.pgp
More information about the Pkg-xen-devel
mailing list