Artur Linhart - Linux communication
2007-Jul-09 16:25 UTC
[Xen-users] Import Error after starting "xm new"
Hello,
I have following error bz adding the domain to the xend
management:
highland:~# xm new vm_w2ksrv_ORACLE10
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/python/xen/xm/main.py", line 2453, in main
_, rc = _run_cmd(cmd, cmd_name, args)
File "/usr/lib/python/xen/xm/main.py", line 2477, in _run_cmd
return True, cmd(args)
File "<string>", line 1, in <lambda>
File "/usr/lib/python/xen/xm/main.py", line 1265, in
xm_importcommand
cmd = __import__(command, globals(), locals(), ''xen.xm'')
File "/usr/lib/python/xen/xm/new.py", line 26, in ?
from xen.xm.xenapi_create import *
File "/usr/lib/python/xen/xm/xenapi_create.py", line 23, in ?
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
highland:~#
As writen above, I report it. What could be the reason_ I have Debian Etch
as Dom0, have installed Python 2.4 on it.
Use Xen 3.1.0 with the binary tarball kernel kernel 2.6.18-xen
What can I do to prevent this problem?
With best regards,
Archie.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Hi Artur, try "apt-get install python-xml" as root. You may be missing other packages as well. Sincerely, Jan. On 7/9/07, Artur Linhart - Linux communication <AL.LINUX@bcpraha.com> wrote:> > Hello, > > > > I have following error bz adding the domain to the xend > management: > > > > highland:~# xm new vm_w2ksrv_ORACLE10 > > 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/python/xen/xm/main.py", line 2453, in main > > _, rc = _run_cmd(cmd, cmd_name, args) > > File "/usr/lib/python/xen/xm/main.py", line 2477, in _run_cmd > > return True, cmd(args) > > File "<string>", line 1, in <lambda> > > File "/usr/lib/python/xen/xm/main.py", line 1265, in xm_importcommand > > cmd = __import__(command, globals(), locals(), ''xen.xm'') > > File "/usr/lib/python/xen/xm/new.py", line 26, in ? > > from xen.xm.xenapi_create import * > > File "/usr/lib/python/xen/xm/xenapi_create.py", line 23, in ? > > from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd > > ImportError: No module named xmlproc > > highland:~# > > > > As writen above, I report it. What could be the reason_ I have Debian Etch > as Dom0, have installed Python 2.4 on it. > > Use Xen 3.1.0 with the binary tarball kernel kernel 2.6.18-xen > > > > What can I do to prevent this problem? > > > > With best regards, > > > > Archie. > > _______________________________________________ > 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
Artur Linhart
2007-Jul-10 12:59 UTC
[Xen-users] RE: [Xen-devel] Import Error after starting "xm new"
Hi, Jan,
Thank You very much, it helped. Should not be this package
written as a required one for Xen? I did not seen it in the documentation...
I only seen there is necessary to have python, python-twisted, nothing more
from python area..
With best regards, Artur.
_____
From: Jan de Haan [mailto:haan.j.de@gmail.com]
Sent: Monday, July 09, 2007 7:40 PM
To: Artur Linhart - Linux communication
Cc: xen-users@lists.xensource.com; xen-devel@lists.xensource.com
Subject: Re: [Xen-devel] Import Error after starting "xm new"
Hi Artur,
try "apt-get install python-xml" as root.
You may be missing other packages as well.
Sincerely,
Jan.
On 7/9/07, Artur Linhart - Linux communication <AL.LINUX@bcpraha.com>
wrote:
Hello,
I have following error bz adding the domain to the xend
management:
highland:~# xm new vm_w2ksrv_ORACLE10
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/python/xen/xm/main.py", line 2453, in main
_, rc = _run_cmd(cmd, cmd_name, args)
File "/usr/lib/python/xen/xm/main.py", line 2477, in _run_cmd
return True, cmd(args)
File "<string>", line 1, in <lambda>
File "/usr/lib/python/xen/xm/main.py", line 1265, in
xm_importcommand
cmd = __import__(command, globals(), locals(), ''xen.xm'')
File "/usr/lib/python/xen/xm/new.py", line 26, in ?
from xen.xm.xenapi_create import *
File "/usr/lib/python/xen/xm/xenapi_create.py", line 23, in ?
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
highland:~#
As writen above, I report it. What could be the reason_ I have Debian Etch
as Dom0, have installed Python 2.4 on it.
Use Xen 3.1.0 with the binary tarball kernel kernel 2.6.18-xen
What can I do to prevent this problem?
With best regards,
Archie.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Artur Linhart - Linux communication
2007-Jul-10 13:11 UTC
[Xen-users] RE: [Xen-devel] Import Error after starting "xm new"
Hi, Jan,
Thank You very much, it helped. Should not be this package
written as a required one for Xen? I did not seen it in the documentation...
I only seen there is necessary to have python, python-twisted, nothing more
from python area..
With best regards, Artur.
_____
From: Jan de Haan [mailto:haan.j.de@gmail.com]
Sent: Monday, July 09, 2007 7:40 PM
To: Artur Linhart - Linux communication
Cc: xen-users@lists.xensource.com; xen-devel@lists.xensource.com
Subject: Re: [Xen-devel] Import Error after starting "xm new"
Hi Artur,
try "apt-get install python-xml" as root.
You may be missing other packages as well.
Sincerely,
Jan.
On 7/9/07, Artur Linhart - Linux communication <AL.LINUX@bcpraha.com>
wrote:
Hello,
I have following error bz adding the domain to the xend
management:
highland:~# xm new vm_w2ksrv_ORACLE10
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/python/xen/xm/main.py", line 2453, in main
_, rc = _run_cmd(cmd, cmd_name, args)
File "/usr/lib/python/xen/xm/main.py", line 2477, in _run_cmd
return True, cmd(args)
File "<string>", line 1, in <lambda>
File "/usr/lib/python/xen/xm/main.py", line 1265, in
xm_importcommand
cmd = __import__(command, globals(), locals(), ''xen.xm'')
File "/usr/lib/python/xen/xm/new.py", line 26, in ?
from xen.xm.xenapi_create import *
File "/usr/lib/python/xen/xm/xenapi_create.py", line 23, in ?
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
highland:~#
As writen above, I report it. What could be the reason_ I have Debian Etch
as Dom0, have installed Python 2.4 on it.
Use Xen 3.1.0 with the binary tarball kernel kernel 2.6.18-xen
What can I do to prevent this problem?
With best regards,
Archie.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users