Your message dated Mon, 21 Apr 2008 23:14:34 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#477179: [python-xml] mixin between 2.4 and 2.5 module
has caused the Debian Bug report #477179,
regarding [python-xml] mixin between 2.4 and 2.5 module
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
477179: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477179
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: python-xml
Version: 0.8.4-10
Severity: important

--- Please enter the report below this line. ---

Hello,
When I try to import something from python-xml in python2.4 it always
takes de python2.5 version of the module:


[EMAIL PROTECTED]:~/Desktop$ python2.4
Python 2.4.5 (#2, Apr 17 2008, 13:00:52)
[GCC 4.2.3 (Debian 4.2.3-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml.parsers.expat
/usr/lib/python2.5/site-packages/_xmlplus/parsers/expat.py:4:
RuntimeWarning: Python C API version mismatch for module pyexpat: This
Python has API version 1012, module pyexpat has version 1013.
  from pyexpat import *
>>>


I tried to reinstall the module without any modification.

Regards,

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.24-1-686

Debian Release: lenny/sid
  500 unstable        ftp.fr.debian.org

--- Package information. ---
Depends             (Version) | Installed
=============================-+-===========
libc6              (>= 2.7-1) | 2.7-10
python               (<< 2.6) | 2.5.2-1
python               (>= 2.4) | 2.5.2-1
python-central     (>= 0.5.8) | 0.6.4


-- 
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales



--- End Message ---
--- Begin Message ---
Encolpe Degoute a écrit :
> Package: python-xml
> Version: 0.8.4-10
> Severity: important
> 
> --- Please enter the report below this line. ---
> 
> Hello,
> When I try to import something from python-xml in python2.4 it always
> takes de python2.5 version of the module:
> 
> 
> [EMAIL PROTECTED]:~/Desktop$ python2.4
> Python 2.4.5 (#2, Apr 17 2008, 13:00:52)
> [GCC 4.2.3 (Debian 4.2.3-3)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import xml.parsers.expat
> /usr/lib/python2.5/site-packages/_xmlplus/parsers/expat.py:4:
> RuntimeWarning: Python C API version mismatch for module pyexpat: This
> Python has API version 1012, module pyexpat has version 1013.
>   from pyexpat import *
> 
> 
> I tried to reinstall the module without any modification.

First, some more informations:
>>> import sys
>>> for e in sys.path: print e
...

/usr/lib/python2.4/site-packages/i18ndude-2.1.1-py2.4.egg
/usr/lib/python2.4/site-packages/pyflakes-0.2.1-py2.4.egg
/usr/lib/python2.4/site-packages/virtualenv-1.0-py2.4.egg
/usr/lib/python2.5/site-packages
/usr/lib/python24.zip
/usr/lib/python2.4
/usr/lib/python2.4/plat-linux2
/usr/lib/python2.4/lib-tk
/usr/lib/python2.4/lib-dynload
/usr/local/lib/python2.4/site-packages
/usr/lib/python2.4/site-packages
/usr/lib/python2.4/site-packages/Numeric
/usr/lib/python2.4/site-packages/PIL
/usr/lib/python2.4/site-packages/gst-0.10
/var/lib/python-support/python2.4
/usr/lib/python2.4/site-packages/gtk-2.0
/var/lib/python-support/python2.4/gtk-2.0
/var/lib/python-support/python2.4/HTMLgen
/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode

The fourth line show where is the bug.

I think it's a python update problem. I fix this bug doing this:
sudo apt-get install --reinstall python2.4 python2.5 python

Regards,
-- 
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales


--- End Message ---

Reply via email to