List Info

Thread: Python version




Python version
user name
2007-01-22 09:28:55
When using the xen command line interface, either with
create or list, I 
got this error :

gedeon# xm list
/usr/pkg/lib/python2.4/xmllib.py:9: DeprecationWarning: The
xmllib 
module is obsolete.  Use xml.sax instead.
  warnings.warn("The xmllib module is obsolete.  Use
xml.sax instead.", 
DeprecationWarning)
Name                                      ID Mem(MiB) VCPUs
State   Time(s)
Domain-0                                   0      250     1
r-----    564.5
web                                        3      128     1
--p---      0.0

Do you have a solution ? My python version is
python24-2.4.3nb3 
(installed with the xen package).

Re: Python version
user name
2007-01-22 10:18:18
On Mon, 22 Jan 2007 16:28:55 +0100
Eric Delcamp <eric.delcampfree.fr> wrote:

> When using the xen command line interface, either with
create or
> list, I got this error : gedeon# xm list
> /usr/pkg/lib/python2.4/xmllib.py:9: DeprecationWarning:
The xmllib
> module is obsolete.  Use xml.sax instead.
warnings.warn("The xmllib
> module is obsolete.  Use xml.sax instead.",
DeprecationWarning)
> Name                                      ID Mem(MiB)
VCPUs State
> Time(s) Domain-0                                   0   
  250     1
> r-----    564.5 web                                    
   3
> 128     1 --p---      0.0 Do you have a solution ? My
python version
> is python24-2.4.3nb3 (installed with the xen package).

If I recall correctly, the fix is to install py24-xml

Post if that works -- if so, maybe we should update the xen
package to
either require it or at least have a warning.


		--Steve Bellovin, http://www.cs.columbi
a.edu/~smb

Re: Python version
user name
2007-01-22 10:57:42
Thanks, that work fine. The package is textprox/py-xml.

Steven M. Bellovin a écrit :
> On Mon, 22 Jan 2007 16:28:55 +0100
> Eric Delcamp <eric.delcampfree.fr> wrote:
>
>   
>> When using the xen command line interface, either
with create or
>> list, I got this error : gedeon# xm list
>> /usr/pkg/lib/python2.4/xmllib.py:9:
DeprecationWarning: The xmllib
>> module is obsolete.  Use xml.sax instead.
warnings.warn("The xmllib
>> module is obsolete.  Use xml.sax instead.",
DeprecationWarning)
>> Name                                      ID
Mem(MiB) VCPUs State
>> Time(s) Domain-0                                  
0      250     1
>> r-----    564.5 web                                
       3
>> 128     1 --p---      0.0 Do you have a solution ?
My python version
>> is python24-2.4.3nb3 (installed with the xen
package).
>>     
>
> If I recall correctly, the fix is to install py24-xml
>
> Post if that works -- if so, maybe we should update the
xen package to
> either require it or at least have a warning.
>
>
> 		--Steve Bellovin, http://www.cs.columbi
a.edu/~smb
>
>
>   


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )