mod_python and xml.dom.minidom problem

Martin v. Loewis martin at v.loewis.de
Mon Oct 14 17:45:34 EDT 2002


Tom <tom at remove.yahoo.co.uk> writes:

> Sorry, I chopped off the error:
> 
>    File
> "/usr/lib/python2.2/site-packages/_xmlplus/dom/expatbuilder.py", line
> 734, in createParser
>      parser.namespace_prefixes = True
> 
> AttributeError: namespace_prefixes

I see. It then appears that you have picked up the wrong copy of the
pyexpat module. Can you find out the value of

xml.parsers.expat.__file__
xml.parsers.pyexpat.__file__
xml.parsers.expat.version_info
xml.parsers.expat.pyxml_expat_version

Regards,
Martin



More information about the Python-list mailing list