[4suite-dev] Debian Bug#275097: Used from inside a mod_python script causes a version mismatch error

Mike Brown mike at skew.org
Fri Sep 1 11:57:28 MDT 2006


I was going through some old email and saw this one...

4Suite, when running via mod_python, was complaining about an Expat version 
mismatch.

Uche upgraded 4Suite's Expat in response to this, but Raphael Bossek
apparently still had to work around the issue by making the Debian package of
4Suite link to Debian's Expat instead of 4Suite's own:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=275097

Is this something to be concerned about?

Mike


Raphael Bossek wrote:
> --- Weitergeleitete Nachricht / Forwarded Message ---
> Date: Thu, 07 Oct 2004 00:03:19 -0700
> From: owner at bugs.debian.org (Debian Bug Tracking System)
> To: Raphael Bossek <raphael.bossek at gmx.de>
> Subject: Debian Bugs information: logs for Bug#275097
> 
> 
>                        Debian Bug report logs - #275097
>     python2.3-4suite: Used from inside a mod_python script causes a version
>                                 mismatch error.
> 
>    Severity: important; Package: python2.3-4suite; Reported by: Mirko
>    Maischberger <mirko at lilik.it>; Date: Tue, 5 Oct 2004 21:48:03 UTC;
>    Forwarded to 4suite-dev at lists.fourthought.com;
>    Maintainer for python2.3-4suite is Raphael Bossek
>    <bossekr at debian.org>; Source for python2.3-4suite is python-4suite.
> 
>    View this report as an mbox folder.
>      _________________________________________________________________
> 
>    Report forwarded to debian-bugs-dist at lists.debian.org, Raphael Bossek
>    <bossekr at debian.org>:
>    Bug#275097; Package python2.3-4suite. Full text available.
>      _________________________________________________________________
> 
>    Acknowledgement sent to Mirko Maischberger <mirko at lilik.it>:
>    New Bug report received and forwarded. Copy sent to Raphael Bossek
>    <bossekr at debian.org>. Full text available.
>      _________________________________________________________________
> 
> Message received at submit at bugs.debian.org:
> 
> Received: (at submit) by bugs.debian.org; 5 Oct 2004 21:40:32 +0000
> >From mirko at lilik.it Tue Oct 05 14:40:32 2004
> Return-path: <mirko at lilik.it>
> Received: from mail-relay-2.tiscali.it [213.205.33.42]
>         by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
>         id 1CEx2t-0000x7-00; Tue, 05 Oct 2004 14:40:32 -0700
> Received: from localhost.localdomain (82.84.161.165) by
> mail-relay-2.tiscali.it
>  (7.1.021.3)
>         id 415D9851000C9942; Tue, 5 Oct 2004 23:39:43 +0200
> Message-ID: <415D9851000C9942 at mail-relay-2.tiscali.it> (added by
> postmaster at mai
> l-relay-2.tiscali.it)
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> From: Mirko Maischberger <mirko at lilik.it>
> To: Debian Bug Tracking System <submit at bugs.debian.org>
> Subject: python2.3-4suite: Used from inside a mod_python script causes a
> versio
> n
>  mismatch error.
> Bcc: Mirko Maischberger <mirko at lilik.it>
> X-Mailer: reportbug 2.63
> Date: Tue, 05 Oct 2004 23:39:42 +0200
> Delivered-To: submit at bugs.debian.org
> X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
>         (1.212-2003-09-23-exp) on spohr.debian.org
> X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
>         autolearn=no version=2.60-bugs.debian.org_2004_03_25
> X-Spam-Level:
> 
> Package: python2.3-4suite
> Version: 0.99cvs20040727-2
> Severity: important
> 
> All packages are from debian sarge.
> 
> This error is probably due to the expath version of debian non equal to
> the expat version bundled with 4suite.
> 
> When called from the interpreter 4suite uses its own library and works
> as expected.
> 
> When called from a mod_python script in apache2 i think 4suite uses the
> already loaded (by another module or by apache itself?) expat which is
> of the "incorrect" version.
> 
> This is the output from mod_python:
> 
> -----
> Mod_python error: "PythonHandler BhopalHandler"
> 
> Traceback (most recent call last):
> 
>   File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line
>   287, in HandlerDispatch log=debug)
> 
>   File "/usr/lib/python2.3/site-packages/mod_python/apache.py",
>   line 457, in import_module
>   module = imp.load_module(mname, f, p, d)
> 
>   File "/home/mirko/public_html/bhopal/BhopalHandler.py",
>   line 13, in ?
>   from bhopal.config import Config
> 
>   File
>   "/home/mirko/public_html/bhopal/bhopal/config.py",
>   line 7, in ?
>   from Ft.Xml.Domlette import implementation
> 
>   File
>   "/usr/lib/python2.3/site-packages/Ft/Xml/Domlette.py",
>   line 33, in ?
>   from cDomlette import implementation, nonvalParse, valParse
> 
>   File
>   "/usr/lib/python2.3/site-packages/Ft/Xml/cDomlette.py",
>   line 30, in ?
>   from cDomlettec import implementation
> 
>   ImportError: Expat version mismatch; expected 1.95.7, found 1.95.6
> ----
> 
> Note the last line. The same code works outside of the apache2 process.
> 
> -- System Information:
> Debian Release: 3.1
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.7-1-k7
> Locale: LANG=it_IT at euro, LC_CTYPE=it_IT at euro
> 
> Versions of packages python2.3-4suite depends on:
> ii  libc6                  2.3.2.ds1-16      GNU C Library: Shared libraries
> an
> ii  python-4suite-common   0.99cvs20040727-2 Common files used by 4Suite
> packag
> ii  python2.3              2.3.4-13          An interactive high-level
> object-o
> ii  python2.3-dev          2.3.4-13          Header files and a static
> library
> ii  python2.3-xml          0.8.3-5           XML tools for Python (2.3.x)
> 
> -- no debconf information
> 
>      _________________________________________________________________
> 
>    Noted your statement that Bug has been forwarded to
>    4suite-dev at lists.fourthought.com. Request was from Raphael Bossek
>    <raphael.bossek at gmx.de> to control at bugs.debian.org. Full text
>    available.
>      _________________________________________________________________
> 
> 
>     Debian bug tracking system administrator <owner at bugs.debian.org>.
>     Last modified: Thu, 7 Oct 2004 07:03:19 UTC
>     Debian Bug tracking system
>     copyright 1999 Darren O. Benham, 1997, 2003 nCipher Corporation Ltd,
>     1994-7 Ian Jackson.
> 
> 
> -- 
> GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail
> +++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++
> 
> _______________________________________________
> 4suite-dev mailing list
> 4suite-dev at lists.fourthought.com
> http://lists.fourthought.com/mailman/listinfo/4suite-dev


More information about the 4suite-dev mailing list