KUWAMURA Shin''ya
2009-May-29 05:42 UTC
[Xen-devel] [PATCH] [RFC] xend: use popen2 module instead of subprocess for Python 2.3
Hi, On Python 2.3, xend cannot started: File "usr/lib/python2.3/site-packages/xen/xend/server/BlktapController.py", line 3, in ? import subprocess ImportError: No module named subprocess This patch uses `popen2'' instead of `subprocess'' for Python 2.3. However, I tested only ''xend start''. Is this correct? And, is Python 2.3 still supported? Signed-off-by: KUWAMURA Shin''ya <kuwa@jp.fujitsu.com> -- KUWAMURA Shin''ya _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2009-May-29 16:51 UTC
Re: [Xen-devel] [PATCH] [RFC] xend: use popen2 module instead of subprocess for Python 2.3
KUWAMURA Shin''ya writes ("[Xen-devel] [PATCH] [RFC] xend: use popen2 module instead of subprocess for Python 2.3"):> On Python 2.3, xend cannot started: > File "usr/lib/python2.3/site-packages/xen/xend/server/BlktapController.py", line 3, in ? > import subprocess > ImportError: No module named subprocess > > This patch uses `popen2'' instead of `subprocess'' for Python 2.3.It looks broadly correct to me, although I haven''t tested it.> However, I tested only ''xend start''.Did you test it with a blktap block device ?> And, is Python 2.3 still supported?I think we would try to make it continue to work unless this is particularly difficult for some reason. Thanks, Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
KUWAMURA Shin''ya
2009-Jun-02 01:10 UTC
Re: [Xen-devel] [PATCH] [RFC] xend: use popen2 module instead of subprocess for Python 2.3
Hi,>>>>> On Fri, 29 May 2009 17:51:44 +0100 >>>>> Ian.Jackson@eu.citrix.com(Ian Jackson) said: > > KUWAMURA Shin''ya writes ("[Xen-devel] [PATCH] [RFC] xend: use popen2 module instead of subprocess for Python 2.3"): > > > However, I tested only ''xend start''. > Did you test it with a blktap block device ?I could not test blktap. I got the following error using tap:aio: File "usr/lib/python2.3/site-packages/xen/xend/server/BlktapController.py", line 124, in createDevice (typ, subtyp, params, file) = string.split(uname, '':'', 3) ValueError: unpack list of wrong size Thus, I could not test it.> > And, is Python 2.3 still supported? > > I think we would try to make it continue to work unless this is > particularly difficult for some reason.OK. I use Python 2.3 for a while. Best regards, -- KUWAMURA Shin''ya _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel