You probably need to install a PyXML package from the Centos distribution.
-- Keir
On 18/5/08 12:31, "David Hláčik" <david@hlacik.eu> wrote:
> Hi, i am running Centos5.1 i386, with xen3.2.0 compiled from source rpms
> provided on xen.org <http://xen.org> . As dom0 kernel i am using
centos-xen
> kernels.
> When i am trying to add new machine to xen source using xm new, this is
what i
> get :
>
> [root@xxx /]# xm new centos01
> Unexpected error: exceptions.ImportError
> Please report to xen-devel@lists.xensource.com
> Traceback (most recent call last):
> File "/usr/sbin/xm", line 10, in ?
> main.main(sys.argv)
> File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line
2531, in main
> _, rc = _run_cmd(cmd, cmd_name, args)
> File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line
2555, in
> _run_cmd
> return True, cmd(args)
> File "<string>", line 1, in <lambda>
> File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line
1308, in
> xm_importcommand
> cmd = __import__(command, globals(), locals(),
''xen.xm'')
> File "/usr/lib/python2.4/site-packages/xen/xm/new.py", line 26,
in ?
> from xen.xm.xenapi_create import *
> File
"/usr/lib/python2.4/site-packages/xen/xm/xenapi_create.py", line 23,
in
> ?
> from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
> ImportError: No module named xmlproc
>
> domU machines run using xm create machinename works fine.
>
> Thanks for help!
>
> D.
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel