Displaying 15 results from an estimated 15 matches for "xmldtd".
2010 Oct 08
7
[PATCH] Replace pyxml/xmlproc-based XML validator with lxml based one.
...======================================================================
"""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 traceback
import re
+import warnings # Used by lxml-based validator
def log(_, msg):
#prin...
2008 May 16
1
xm new
...(), locals(), 'xen.xm')
File "/usr/lib64/python2.4/site-packages/xen/xm/new.py", line 26, in ?
from xen.xm.xenapi_create import *
File "/usr/lib64/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
Thanks in advance!
D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20080516/59a7399d/attachment-0004.html>
2008 May 18
1
xen source (xm new machinename)
...cals(), ''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
2008 Sep 16
2
Xen 3.3.0 on Ubuntu Hardy and xmlproc module.
...locals(), ''xen.xm'')
File "//usr/lib64/python/xen/xm/new.py", line 26, in <module>
from xen.xm.xenapi_create import *
File "//usr/lib64/python/xen/xm/xenapi_create.py", line 23, in <module>
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
But I have python-xml installed! Look:
root@hyper02:~# *dpkg -l python-xml | grep xml*
ii python-xml
0.8.4-10ubuntu2 XML tools for Python
root@hyper02:~# *uname -a*
Linux hyper02 *2.6.18.8-xen* #1 SMP Fri Sep 12 15:39:22 BRT 2008 x86_64...
2009 Feb 18
0
Bug#487165: dependency on python-xml - confirmed
...39;xen.xm')
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/new.py", line 26, in <module>
from xen.xm.xenapi_create import *
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/xenapi_create.py", line 23, in <module>
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
after python-xml was installed:
lin:/etc/xen# xm new lenny1
Using config file "./lenny1".
And the domain in the Xend repository was created.
Thanks
--
Zito
2010 Apr 02
0
unsupported xen domain management
...File "/usr/local/lib/python2.6/dist-packages/xen/xm/new.py", line 26, in <module>
from xen.xm.xenapi_create import *
File "/usr/local/lib/python2.6/dist-packages/xen/xm/xenapi_create.py", line 23, in <module>
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
tlviewer@ubsvr91:~$ xm --help | grep new
new Adds a domain to Xend domain management
-------------------------
tlviewer@ubsvr91:~$ sudo xm info
host : ubsvr91
release : 2.6.32.10
version : #2 SMP...
2007 Jul 14
0
[PATCH] [XM] Pass --skipdtd parameter to ''xm new'' application
Pass the -s|--skipdtd parameter through to the ''xm new'' application. On
my machine I get random hangs in the function that''s loading the dtd
(xmldtd.load_dtd in xenapi_create.py)?!
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2010 Feb 16
1
Bug#570066: xm new: undeclared dependency on absent Python library "xmlproc".
...9;)
File "/usr/lib/xen-3.4/lib/python/xen/xm/new.py", line 26, in <module>
from xen.xm.xenapi_create import *
File "/usr/lib/xen-3.4/lib/python/xen/xm/xenapi_create.py", line 23, in <module>
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
xmlproc is not available in Squeeze or Sid. It appears to be provided
by "python-xml" in Lenny.
2010 Sep 13
0
Bug#596765: xen: can't create a VM : no module named xmlproc
..., 'xen.xm')
File "/usr/lib/xen-4.0/lib/python/xen/xm/new.py", line 26, in <module>
from xen.xm.xenapi_create import *
File "/usr/lib/xen-4.0/lib/python/xen/xm/xenapi_create.py", line 22, in <module>
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
And when I try to get python-xmlproc I get :
apt-get install python-xml
Lecture des listes de paquets... Fait
Construction de l'arbre des d?pendances
Lecture des informations d'?tat... Fait
Certains paquets ne peuvent ?tre install?s. Ceci peut s...
2011 Feb 08
0
Bug#596765: xen-utils-4.0: VM create successfully, when remove xmlproc
Package: xen-utils-4.0
Version: 4.0.1-2
Severity: normal
VM created successfully when I edit this file: /usr/lib/xen-4.0/lib/python/xen/xm/xenapi_create.py
comment line 22 : #from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
-- System Information:
Debian Release: 6.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=hu_HU.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of...
2008 Jun 20
0
Bug#487165: Bug#487165: [xen-utils-common] xm create requires python-xml to work
...9;xen.xm')
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/new.py", line 26, in <module>
from xen.xm.xenapi_create import *
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/xenapi_create.py", line 23, in
<module>
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
debian:~# apt-get install python-xml
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
python-xml-doc python-xml-dbg
The following NEW packages will be installed:
python-xml
0 upgraded, 1 newly insta...
2008 Jul 04
0
Bug#489325: [xen-utils-common] xm new requires python-xml to work
...9;xen.xm')
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/new.py", line 26, in <module>
from xen.xm.xenapi_create import *
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/xenapi_create.py", line 23, in
<module>
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
debian:~# apt-get install python-xml
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
python-xml-doc python-xml-dbg
The following NEW packages will be installed:
python-xml
0 upgraded, 1 newly insta...
2008 Aug 11
1
Bug#494727: xen-utils-3.2-1: Fail to define a new domain.
...39;xen.xm')
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/new.py", line 26, in <module>
from xen.xm.xenapi_create import *
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/xenapi_create.py", line 23, in <module>
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
After install the python-xml package it was fixed.
Please set the python-xml in xen-utils-3.2 package.
Regards,
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Ker...
2010 Nov 10
1
Bug#603099: xen-utils-common: requires python-xml
..., 'xen.xm')
File "/usr/lib/xen-4.0/lib/python/xen/xm/new.py", line 26, in <module>
from xen.xm.xenapi_create import *
File "/usr/lib/xen-4.0/lib/python/xen/xm/xenapi_create.py", line 22,
in <module>
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (800, 'stable'), (400, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-xen-amd64 (S...
2010 Sep 23
1
xm new yields Import error: No module named xmlproc
...e "/usr/local/lib/python2.6/dist-packages/xen/xm/new.py", line 26,
in <module>
from xen.xm.xenapi_create import *
File "/usr/local/lib/python2.6/dist-packages/xen/xm/xenapi_create.py",
line 23, in <module>
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
I found this post from 2007:
http://lists.xensource.com/archives/html/xen-users/2007-07/msg00225.html
... and the follow-up suggests installing the python-xml package, but on
my system, aptitude install python-xml says "no candidate version found...