Displaying 20 results from an estimated 28 matches for "xenapi_cr".
2010 Oct 08
7
[PATCH] Replace pyxml/xmlproc-based XML validator with lxml based one.
Pyxml/xmlproc is being used in tools/xen/xm/xenapi_create.py but is
unmaintained for several years now. xmlproc is used only for validating
XML documents against a DTD file.
This patch replaces the pyxml/xmlproc based XML validation with code
based on lxml, which is actively maintained.
Signed-off-by: Stephan Peijnik <spe@anexia.at>
diff -r...
2011 Sep 25
1
Please report to - xm new
...bda>
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xm/main.py", line 1518,
in xm_importcommand
cmd = __import__(command, globals(), locals(), ''xen.xm'')
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xm/new.py", line 26, in <module>
from xen.xm.xenapi_create import *
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xm/xenapi_create.py",
line 24, in <module>
from lxml import etree
ImportError: No module named lxml
root@g4-01:~#
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
htt...
2008 May 16
1
xm new
...ot;, line 1, in <lambda>
File "/usr/lib64/python2.4/site-packages/xen/xm/main.py", line 1308, in
xm_importcommand
cmd = __import__(command, globals(), 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....
2008 May 18
1
xen source (xm new machinename)
...ine 1, in <lambda>
File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 1308, in
xm_importcommand
cmd = __import__(command, globals(), locals(), ''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.
_______________...
2012 Jul 01
1
xm crash
...bda>
File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 1518,
in xm_importcommand
cmd = __import__(command, globals(), locals(), ''xen.xm'')
File "/usr/lib64/python2.7/site-packages/xen/xm/new.py", line 26, in <module>
from xen.xm.xenapi_create import *
File "/usr/lib64/python2.7/site-packages/xen/xm/xenapi_create.py",
line 25, in <module>
from lxml import etree
ImportError: No module named lxml
The config file I used in the attempt to create the Fedora domain is
attached. However, I get the same error message...
2010 Sep 12
2
using xen tools with python2.6
there are at least some syntax errors when trying to use the xen utils with
python2.6. The attached patch changes these string exception into ValueError's.
- tools/python/xen/util/bugtool.py (getBugTitle)
- tools/python/xen/xend (class XendBase): not catched
- tools/python/xen/xm/xenapi_create.py (sxp2xmlconvert_sxp_to_xml):
the method already raises a ValueError for similiar condition.
- tools/python/xen/xm/main.py (xm_network_attach): not catched.
For all but maybe the first one, the replacement of the string exceptions into
ValueError's seems to be safe.
Matthias...
2010 Sep 12
2
using xen tools with python2.6
there are at least some syntax errors when trying to use the xen utils with
python2.6. The attached patch changes these string exception into ValueError's.
- tools/python/xen/util/bugtool.py (getBugTitle)
- tools/python/xen/xend (class XendBase): not catched
- tools/python/xen/xm/xenapi_create.py (sxp2xmlconvert_sxp_to_xml):
the method already raises a ValueError for similiar condition.
- tools/python/xen/xm/main.py (xm_network_attach): not catched.
For all but maybe the first one, the replacement of the string exceptions into
ValueError's seems to be safe.
Matthias...
2008 Sep 16
2
Xen 3.3.0 on Ubuntu Hardy and xmlproc module.
...ng>", line 1, in <lambda>
File "//usr/lib64/python/xen/xm/main.py", line 1374, in xm_importcommand
cmd = __import__(command, globals(), 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 pytho...
2008 Mar 18
0
[PATCH] vfb: Add opengl option
vfb: Add opengl option
(and replace bogus vncpasswd copy in xenapi_create in the SDL case)
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
diff -r 2ad29c586d49 tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py Tue Mar 18 14:36:27 2008 +0000
+++ b/tools/python/xen/xend/XendConfig.py Tue Mar 18 15:16:47 2008 +0000
@@ -...
2009 Feb 18
0
Bug#487165: dependency on python-xml - confirmed
..., line 1, in <lambda>
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 1305, in xm_importcommand
cmd = __import__(command, globals(), locals(), '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 "./...
2010 Apr 02
0
unsupported xen domain management
...File "/usr/local/lib/python2.6/dist-packages/xen/xm/main.py", line 1449, in xm_importcommand
cmd = __import__(command, globals(), locals(), ''xen.xm'')
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...
2010 Feb 16
1
Bug#570066: xm new: undeclared dependency on absent Python library "xmlproc".
...<lambda>
File "/usr/lib/xen-3.4/lib/python/xen/xm/main.py", line 1366, in xm_importcommand
cmd = __import__(command, globals(), locals(), 'xen.xm')
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 &qu...
2010 Sep 13
0
Bug#596765: xen: can't create a VM : no module named xmlproc
...uot;, line 1, in <lambda>
File "/usr/lib/xen-4.0/lib/python/xen/xm/main.py", line 1449, in xm_importcommand
cmd = __import__(command, globals(), locals(), '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 list...
2010 Oct 07
0
Bug#599434: xen-utils-4.0: create.dtd is missing
Package: xen-utils-4.0
Version: 4.0.1-1
The Python code in /usr/lib/xen-4.0/lib/python/xen/xm/xenapi_create.py
tries to validate an XML configuration against a missing "create.dtd"
DTD file.
The code expects at SHAREDIR/xen/create.dtd (SHAREDIR is "/usr/share"
according to /usr/lib/xen-4.0/lib/python/xen/util/path.py).
In the Xen source distribution the missing file can be found...
2013 Feb 28
1
ImportError: No module named lxml
...<lambda>
File "/usr/lib64/python2.4/site-packages/xen/xm/main.py", line 1518,
in xm_importcommand
cmd = __import__(command, globals(), 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 25, in ?
from lxml import etree
ImportError: No module named lxml
Thank you in advance ,
Regards,
Hossam
2008 Jun 20
0
Bug#487165: Bug#487165: [xen-utils-common] xm create requires python-xml to work
...line 1, in <lambda>
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 1305, in
xm_importcommand
cmd = __import__(command, globals(), locals(), '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...
2008 Jul 04
0
Bug#489325: [xen-utils-common] xm new requires python-xml to work
...line 1, in <lambda>
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 1305, in
xm_importcommand
cmd = __import__(command, globals(), locals(), '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...
2008 Aug 11
1
Bug#494727: xen-utils-3.2-1: Fail to define a new domain.
..., line 1, in <lambda>
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 1305, in xm_importcommand
cmd = __import__(command, globals(), locals(), '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-u...
2011 Apr 04
0
Fwd: Fwd: bug on create domain0
...t;", line 1, in
File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 1518,
in xm_importcommand
cmd = __import__(command, globals(), locals(), ''xen.xm'')
File "/usr/lib64/python2.7/site-packages/xen/xm/new.py", line 26, in
from xen.xm.xenapi_create import *
File "/usr/lib64/python2.7/site-packages/xen/xm/xenapi_create.py",
line 25, in
from lxml import etree
ImportError: No module named lxml
you have add dependent dev-python/lxml to app-emulation/xen-tools ebuild
-------------------------------------------------
second...
2011 May 01
1
Bug#624788: Python version issue: "ImportError: No module named lxml"
...uot;, line 1, in <lambda>
File "/usr/lib/xen-4.0/lib/python/xen/xm/main.py", line 1449, in xm_importcommand
cmd = __import__(command, globals(), locals(), '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/bin/../lib/python/xen/xm/xenapi_create.py", line 24, in <module>
from lxml import etree
ImportError: No module named lxml
=====
The cause is that the current version (2.3-0.1+b2) of python-lxml package in Debian Wheezy available only for Py...