Have I broken my installation?

Matt Mower mmower at novissio.com
Sat Jun 28 18:51:37 CEST 2003


Looks like I spoke a little too soon.

The minimal test script:

	from xml.dom.minidom import parse, Document
	doc = parse( "...some file..." )
	print doc

works, spitting out a reference to a minidom instance.

However the CGI script which is, in a roundabout way, doing exactly
the same thing still comes up with the error:

|Traceback (most recent call last):
|  File "/mnt/hugedisk/share/MattsMovableType/stb/stb.cgi", line 90, in ?
|    documentElem = parse( rssFile )
|  File "/opt/python/lib/python2.2/xml/dom/minidom.py", line 962, in parse
|    return _doparse(pulldom.parse, args, kwargs)
|  File "/opt/python/lib/python2.2/xml/dom/minidom.py", line 953, in _doparse
|    events = apply(func, args, kwargs)
|  File "/opt/python/lib/python2.2/xml/dom/pulldom.py", line 328, in parse
|    parser = xml.sax.make_parser()
|  File "/opt/python/lib/python2.2/xml/sax/__init__.py", line 93, in make_parser
|    raise SAXReaderNotAvailable("No parsers found", None)
|xml.sax._exceptions.SAXReaderNotAvailable: No parsers found

Since the web server is running in the context of user 'nobody' I
tried running my test script as nobody and sure enough I got the same
error.  I don't understand why though.

Nothing in the environment or access to the file system suggests to me
why it works as for my account but not for the nobody account.

I'm puzzled...



Systems Engineer, Hipbone(EMEA) Ltd.
3000 Hillswood drive, Chertsey, Surrey, KT16 0RS
Tel: 44-1932-895902  Mob: 44-7980-237-380

More information about the Python-list mailing list