mod_python/sax bug.. (<3.1.4, 3.2.8)

2006-03-30 Thread Dom. Orchard
Hi, I'm in the middle of re-writing an application that uses mod_python for serving to the web, and have decided to switch to an XML model to store some information, however, I encountered an issue that I don't quite understand, see this short example that isolates the problem: from xml.sax im

Re: mod_python/sax bug.. (<3.1.4, 3.2.8)

2006-03-30 Thread Robert Sanderson
It's a library linking problem. Both apache and python have their own versions of expat, and if they're not identical, then things explode. I compile expat, then apache, then python, then mod_python to avoid the situation, but you may be able to get away with messing around with the library load

Re: mod_python/sax bug.. (<3.1.4, 3.2.8)

2006-03-30 Thread Graham Dumpleton
As pointed out by someone else, it is probably a versioning issue with expat. See the following article for how to debug which versions of expat are being used and thus whether there might be a conflict. http://www.dscpl.com.au/articles/modpython-006.html Graham On 30/03/2006, at 9:00 PM,

Re: mod_python/sax bug.. (<3.1.4, 3.2.8)

2006-03-30 Thread Dom. Orchard
I see.. that does make some sense. So just now I did the following:- Downloaded and installed expat 2.0 Re-compiled Apache Re-compiled Python (I switched to 2.4.3 as well) Re-compiled the latest PyXML (0.8.4) Re-compiled mod_python Restart apache... Which did not change anything. Then I read Graha

Re: Grouping tests

2006-03-30 Thread Jim Gallacher
This isn't too different from what I have in mind, except that my main testrunner.py script uses introspection to discover the tests. Adding a new test set won't require editing testrunner at all. The testrunner will also filter the tests according to certain criteria, such as mpm or os, so tha