Emlyn Jones
emlynj at gmail.com
Wed Jan 11 16:39:34 EST 2006
On Wednesday 11 Jan 2006 19:44, Graham Dumpleton wrote: > On 12/01/2006, at 12:24 AM, Jim Gallacher wrote: > > 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. > > For debugging libexpat issues see: > > http://www.dscpl.com.au/articles/modpython-006.html > > Graham Fantastic. Everything is working perfectly now. Thanks very much for everybodys help. Regards, Emlyn.
|