Have I broken my installation?

Erik Max Francis max at alcyone.com
Sat Jun 28 17:11:28 EDT 2003


Matt Mower wrote:

> 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:

Whenever there's a difference in behavior between a program in your
shell and in CGI (or someone else's shell), it's almost certainly a
difference in paths.  You said that you installed some Python utilities
into some nonstandard places (like /opt/python); that's likely what your
problem is.

-- 
   Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
 __ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/  \ Every astronaut who goes up knows the risks he or she faces.
\__/  Sally Ride




More information about the Python-list mailing list