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