[mod_python] urlopen permissions

Jim Gallacher jpg at jgassociates.ca
Wed Jan 11 08:24:56 EST 2006


Emlyn Jones wrote:
> Your right!
> I thought I had solved that one by explicitly adding a user-agent header.
> Turns out the urllib2 in python2.2 adds it's own anyway (mod_python used 2.2,
> my shell gives me 2.4). I've upgraded mod_python to python2.4 and it works.
> Now I get a seg fault from xml.dom.minidom.parsestring which again only
> happens via mod_python not from the shell (although I guess that could just
> be a fluke), grrr. More googling I guess!

This sort of seg fault is a result of python and some other apache 
module using different library versions of some component. libexpat is 
often the culprit.
Jim


More information about the Mod_python mailing list