Réf. : Re: [XML-SIG] raise _exceptions.SAXReaderNotAvailable

Francois-regis Chalaoux Francois-regis.Chalaoux@sanofi-synthelabo.com
Wed, 13 Mar 2002 10:31:50 +0100


Yes, I copied the pyexpat module.
and import xml.parsers.expat is working if /usr/local/lib where is libexpat.so.0 is in the LD_LIBRARY_PATH.
These tests were realized with the account 'user1' on command line.

However, the cgi, which doesn't work, is call by 'user1' (son of root daemon which start Apache) with an environment which may not the same. os.environ.items() doesn't give me the LD_LIBRARY_PATH. How to get it if a good track ?

FR





martin@v.loewis.de%internet le 12/03/2002 21:59:28
Pour :	Francois-regis Chalaoux/FR-LABEGE/RESEARCH/SANOFI@Research
cc :	xml-sig@python.org%internet@WTFR 

Objet :	Re: [XML-SIG] raise _exceptions.SAXReaderNotAvailable

X-Authentication-Warning: mira.informatik.hu-berlin.de: martin set sender to martin@v.loewis.de using -f
Lines: 11
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
X-Sender: 03047300346-0001@t-dialin.net

Francois-regis Chalaoux <Francois-regis.Chalaoux@sanofi-synthelabo.com> writes:

> On the production machine I got now an error when using the "same"
> xml librairies ?

Did you copy the pyexpat module as well? What happens when you do

>>> import xml.parsers.expat

HTH,
Martin