[XML-SIG] Using PyExpat.py

Uche Ogbuji uche.ogbuji@fourthought.com
Mon, 12 Feb 2001 14:30:40 -0700

> >>>>> "Uche" == Uche Ogbuji <uche.ogbuji@fourthought.com> writes:
> Uche> [Tale of woes snipped]
> Uche> [...] I'd suggest either using
> Uche> python setup.py install -f
> Uche> To force file overwrites or just blow away the _xmlplus directory in your 
> Uche> Python library and reinstall.
> Here's an interesting discrepancy. I don't *have* an _xmlplus directory
> in my Python library. I instead have, starting from PYTHONHOME:
> lib/python1.5/site-packages/xml. When I installed PyXML-0.6.3, I mv'ed
> xml away, and sure enough, 'python setup.py install --prefix=$MYDIR' put
> a new xml directory there, not _xmlplus.

Sorry, I forgot that in Python 1.5 it is the xml dir not the _xmlplus dir.

> I'll work on this more during the week. I'm beginning to think that I'm
> missing stuff anyway. Does PyXML require anything in the Python
> environment other than what comes by default? For instance, PyExpat.py
> has the following line (fragment qyoted):
>    raise Ft.Lib.FtException(Ft.Lib.Error.XML_PARSE_ERROR...
> But to the best of my knowledge, I don't have any Ft module anywhere in
> my Python install... Could this be part of the problem?

Hmm.  I thought this was removed from PyXML 0.6.3.  The Ft module is part of 

Uche Ogbuji                               Principal Consultant
uche.ogbuji@fourthought.com               +1 303 583 9900 x 101
Fourthought, Inc.                         http://Fourthought.com 
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python