[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] ImportError: No module named xmlproc



On Wed, Feb 10, 2010 at 10:31 AM, ma qiang <maqiang1984@xxxxxxxxx> wrote:
> Hi all,
>    I have one problem, who can help me resolve this problem?
>    I have installed xen in centos(GUI mode), at first I can use "xm
> new test" correctly. However, after that I reinstall my centos in text
> mode and reinstall xen in my new centos(no GUI),

How do you "reinstall" xen? Using "yum install xen" to get Centos
package? Compile from xen.org's source?
Installing centos package should install the dependencies as well, but
when installing from source it's possible that you miss one of the
dependencies.

> when I type the
> command "xm new test.cfg", one error print as belowes.
>
> Unexpected error: exceptions.ImportError
>
> Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
> Traceback (most recent call last):
>  File "/usr/sbin/xm", line 7, in ?
>    main.main(sys.argv)
>  File "usr/lib/python2.4/site-packages/xen/xm/main.py", line 2997, in main
>  File "usr/lib/python2.4/site-packages/xen/xm/main.py", line 3021, in _run_cmd
>  File "<string>", line 1, in <lambda>
>  File "usr/lib/python2.4/site-packages/xen/xm/main.py", line 1366, in
> xm_importcommand
>  File "/usr/lib/python2.4/new.py", line 26, in ?
>
>  File "usr/lib/python2.4/site-packages/xen/xm/xenapi_create.py", line 23, in ?
> ImportError: No module named xmlproc
>
> I have no idea, who can tell me why and how to resolve that. Thanks a lot.

Looks like one of the necessary python module (PyXML) was not found.
Try "yum install PyXML"

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.