search for: minidom

Displaying 7 results from an estimated 7 matches for "minidom".

Did you mean: minicom
2007 Oct 11
1
Unable to connect to Xend. Connection refused
...inst = XendNode() File "usr/lib/python2.4/site-packages/xen/xend/XendNode.py", line 60, in __init__ saved_host = self.state_store.load_state(''host'') File "usr/lib/python2.4/site-packages/xen/xend/XendStateStore.py", line 104, in load_state dom = minidom.parse(xml_path) File "/usr/lib/python2.4/xml/dom/minidom.py", line 1915, in parse return expatbuilder.parse(file) File "/usr/lib/python2.4/xml/dom/expatbuilder.py", line 924, in parse result = builder.parseFile(fp) File "/usr/lib/python2.4/xml/dom/expatbuilde...
2010 Oct 08
7
[PATCH] Replace pyxml/xmlproc-based XML validator with lxml based one.
...EXIA Internetdienstleistungs GmbH +# Author: Stephan Peijnik <spe@anexia.at> #============================================================================ """Domain creation using new XenAPI """ from xen.xm.main import server, get_default_SR from xml.dom.minidom import parse, getDOMImplementation -from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd +from lxml import etree from xen.xend import sxp from xen.xend.XendAPIConstants import XEN_API_ON_NORMAL_EXIT, \ XEN_API_ON_CRASH_BEHAVIOUR @@ -35,6 +37,7 @@ from os.path import join import traceba...
2008 Jul 04
1
mod_python - apache crash
one of my developers is using a mod_python module called xml.dom.minidom and its causing the issue as outlined below http://www.dscpl.com.au/wiki/ModPython/Articles/ExpatCausingApacheCrash This is on CentOS 4.5 and so Apache 2.0.52-38 - I cant change the OS version but i could change the apache and or mod_python version. Does anyone know of any fixes to this apart...
2012 Nov 25
0
image transfer incompletely in live migration
...fine, I don't know why, it seems to be random. All failed tests have the same condition, image transfer incompletely in live migration. The image I used is 10GB size, after a failed migration it has only about 400MB to 3GB in remote host. Here is the code: import libvirt from xml.dom import minidom name = "vm-01" host = libvirt.open("qemu:///system") vm = host.lookupByNmae(name) vm_xml_file = "/etc/libvirt/qemu/%s.xml" % name vm_xml = minidom.parse(vm_xml_file).documentElement.toxml() remote_host = "qemu+ssh://host02/system" remote = libvirt.open(remot...
2012 Jul 24
9
remove dependency on PyXML from xen?
Fedora is keen to stop using PyXML and I have been sent a bug report https://bugzilla.redhat.com/show_bug.cgi?id=842843 which includes a patch to remove the use of XMLPrettyPrint in tools/python/xen/xm/create.py . I am going to try this in the Fedora build, but I was wondering if it makes sense to do this in the official xen releases as well. Michael Young
2007 Oct 29
5
problem in starting xend
problem in starting xend I tried to install xen, but got some errors when starting xend. as I logged in and tried to start xend (/etc/init.d/xend start). I just got six-seven dot (.) printed out, then it stops. I looked more closely and found that xend could not start. then I looked at /var/log/xend-debug.log. here is the last few lines: ^^^    Exception starting Xend: no element found:
2010 May 17
0
strace log
...t;"..., 4096) = 0 close(7) = 0 munmap(0x7f731ad05000, 4096) = 0 close(6) = 0 close(5) = 0 close(4) = 0 stat("/usr/lib/python2.5/xml/dom/minidom", 0x7fffffff6690) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.5/xml/dom/minidom.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.5/xml/dom/minidommodule.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/li...