[Pythonmac-SIG] Python that ships with Jaguar vs...

Dan Wolfe dkwolfe@pacbell.net
Wed, 11 Sep 2002 11:07:49 -0700


Just to hazard a guess but you don't have expat installed do you? I 
believe starting with Python 2.3, expat is being installed as part of 
the python.

- Dan

On Wednesday, September 11, 2002, at 11:02  AM, christopher ariza wrote:

> while we are on the issue of the jaguar python, it seems that
> xml.dom.minidom is broken in the python that apple ships:
>
> [GCC Apple cpp-precomp 6.14] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import xml.dom.minidom
>>>> doc = xml.dom.minidom.parseString("<doc>my document.</doc>")
>
> Traceback (most recent call last):
>    File "<stdin>", line 1, in ?
>    File
> "/BinaryCache/python/python-3.root~193/usr/lib/python2.2/xml/dom/
> minidom.py", line 965, in parseString
>    File
> "/BinaryCache/python/python-3.root~193/usr/lib/python2.2/xml/dom/
> minidom.py", line 951, in _doparse
>    File
> "/BinaryCache/python/python-3.root~193/usr/lib/python2.2/xml/dom/
> pulldom.py", line 340, in parseString
>    File
> "/BinaryCache/python/python-3.root~193/usr/lib/python2.2/xml/sax/
> __init__.py", line 93, in make_parser
> xml.sax._exceptions.SAXReaderNotAvailable: No parsers found
>>>>
>
> can somebody with 10.2 test this for me? what is this /BinaryCache? i 
> dont
> have 10.2 yet so i have this information from someone else. eitherway, 
> i
> was under the impression that xml.dom.minidom was standard python: this
> works in win, MacPython, and macho-python. can anyone tell me why it 
> would
> not work in what is supposed to be a 'standard' unix build? many 
> thanks.