[opensuse-virtual] "ImportError: No module named ext" when launching a Xen v4 Guest. 11.4 missing 'xml.dom.ext' ?
Hello, I installed a new server with Opensuse 11.4 Xen. I'm trying to get a Xen v4 Guest running. When I start it I get a "ImportError: No module named ext" error. I reported it to the Xen-Devel list but then found a report, http://www.mail-archive.com/opensuse-commit@opensuse.org/msg00474.html, about another package that says in it "+- fixed a crash because xml.dom.ext is not available on 11.4". I don't know if it really is supposed to missing or not. Is there an additional package I need to install? Here's the information I sent to the other list. xm create -x guest.cfg Using config file "./guest.cfg". Unexpected error: <type 'exceptions.ImportError'> Please report to xen-devel@lists.xensource.com Traceback (most recent call last): File "/usr/sbin/xm", line 7, in <module> main.main(sys.argv) File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 3988, in main _, rc = _run_cmd(cmd, cmd_name, args) File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 4012, in _run_cmd return True, cmd(args) File "<string>", line 1, in <lambda> File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 1589, in xm_importcommand cmd.main([command] + args) File "/usr/lib64/python2.7/site-packages/xen/xm/create.py", line 1553, in main from xml.dom.ext import PrettyPrint as XMLPrettyPrint ImportError: No module named ext On the Host I installed xen-4.0.2_02-4.7.1.x86_64 xen-libs-4.0.2_02-4.7.1.x86_64 xen-tools-4.0.2_02-4.7.1.x86_64 The config file I'm using is bootloader = '/usr/lib/xen/boot/domUloader.py' bootargs = '--entry=xvda1:vmlinuz-xen,/boot/initrd-xen' builder = 'linux' disk = ['phy:/dev/VG0/Guest,xvda,w'] extra = 'textmode=1 xencons=xvc0' maxmem = 1024 memory = 1024 name = 'guest' on_crash = 'destroy' on_reboot = 'restart' on_shutdown = 'destroy' vif = [''] vfb = ['type=vnc'] Thanks a bunch. Randy -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
On 3/18/2011 at 11:03 AM, "Randall K" <randallk@operamail.com> wrote: Hello,
I installed a new server with Opensuse 11.4 Xen.
I'm trying to get a Xen v4 Guest running.
When I start it I get a "ImportError: No module named ext" error.
I reported it to the Xen-Devel list but then found a report, http://www.mail-archive.com/opensuse-commit@opensuse.org/msg00474.html, about another package that says in it "+- fixed a crash because xml.dom.ext is not available on 11.4".
It was only partially fixed. This is one aspect of the fix that was missed.
I don't know if it really is supposed to missing or not. Is there an additional package I need to install?
At this point we need to find an alternative for the "pretty-print" feature from the old package.
Here's the information I sent to the other list.
xm create -x guest.cfg Using config file "./guest.cfg". Unexpected error: <type 'exceptions.ImportError'>
If you don't use the -x option, things should work well. If that's not the case, please feel free to file a bug at bugzilla.novell.com. Thanks. Jason -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
On Fri, 18 Mar 2011 17:11 -0600, "Jason Douglas" <jdouglas@novell.com> wrote:
On 3/18/2011 at 11:03 AM, "Randall K" <randallk@operamail.com> wrote: I reported it to the Xen-Devel list but then found a report, http://www.mail-archive.com/opensuse-commit@opensuse.org/msg00474.html, about another package that says in it "+- fixed a crash because xml.dom.ext is not available on 11.4".
It was only partially fixed. This is one aspect of the fix that was missed.
Okay.
I don't know if it really is supposed to missing or not. Is there an additional package I need to install?
At this point we need to find an alternative for the "pretty-print" feature from the old package.
Okay, I was looking around and found this thread http://blog.gmane.org/gmane.comp.python.xml/month=20070201 Maybe that's helpful. When those changes get made will the updated packages just show up in the Opensuse 11.4 "Update" repository? Or do I have to apply patches myself or something?
xm create -x guest.cfg
If you don't use the -x option, things should work well. If that's not the case, please feel free to file a bug at bugzilla.novell.com. Thanks.
That was a typo. I meant to say xm create -c guest.cfg But you're right. Just xm create guest.cfg seems to work. And I can use the 'xm console guest' instead. Thanks a bunch. Randy -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
participants (2)
-
Jason Douglas
-
Randall K