Laurent LĂ©onard
2008-Jun-20 14:37 UTC
[Pkg-xen-devel] Bug#487165: Bug#487165: [xen-utils-common] xm create requires python-xml to work
Le vendredi 20 juin 2008 08:48, vous avez ?crit?:> tags 487165 moreinfo > thanks > > On Thu, Jun 19, 2008 at 11:57:49PM +0200, Laurent L?onard wrote: > > xm create requires the python-xml package to work, perhaps it should be a > > dependency of xen-utils-common ? > > For what does xm create need python-xml? For me it works fine without. > > BastianSorry I have to sleep a bit, the problem isn't with xm create but with xm new... debian:~# xm new windowsxp.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 windowsxp.cfg Using config file "/etc/xen/windowsxp.cfg". VNC= 1 debian:~# -- 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/20080620/cf0d4ddc/attachment.pgp